CN111611776A - Method and device compatible with version stream document content and supporting synchronous reading - Google Patents

Method and device compatible with version stream document content and supporting synchronous reading Download PDF

Info

Publication number
CN111611776A
CN111611776A CN202010442133.XA CN202010442133A CN111611776A CN 111611776 A CN111611776 A CN 111611776A CN 202010442133 A CN202010442133 A CN 202010442133A CN 111611776 A CN111611776 A CN 111611776A
Authority
CN
China
Prior art keywords
document
layout
additional information
reading
streaming
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010442133.XA
Other languages
Chinese (zh)
Other versions
CN111611776B (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.)
Baiwang Co ltd
Beijing Anxin Tianyuan Technology Development Co ltd
Beijing Shuke Wangwei Technology Co ltd
Beijing Xinyunsheng Technology Co ltd
Fujian Foxit Software Development Joint Stock Co ltd
Fuxin Kunpeng Beijing Information Technology Co ltd
Peking University
Founder International Beijing Co Ltd
Beijing Founder Apabi Technology Co Ltd
Beijing Information Science and Technology University
China Electronics Standardization Institute
Original Assignee
Baiwang Co ltd
Beijing Anxin Tianyuan Technology Development Co ltd
Beijing Shuke Wangwei Technology Co ltd
Beijing Xinyunsheng Technology Co ltd
Fujian Foxit Software Development Joint Stock Co ltd
Fuxin Kunpeng Beijing Information Technology Co ltd
Peking University
Founder International Beijing Co Ltd
Beijing Founder Apabi Technology Co Ltd
Beijing Information Science and Technology University
China Electronics Standardization Institute
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 Baiwang Co ltd, Beijing Anxin Tianyuan Technology Development Co ltd, Beijing Shuke Wangwei Technology Co ltd, Beijing Xinyunsheng Technology Co ltd, Fujian Foxit Software Development Joint Stock Co ltd, Fuxin Kunpeng Beijing Information Technology Co ltd, Peking University, Founder International Beijing Co Ltd, Beijing Founder Apabi Technology Co Ltd, Beijing Information Science and Technology University, China Electronics Standardization Institute filed Critical Baiwang Co ltd
Priority to CN202010442133.XA priority Critical patent/CN111611776B/en
Publication of CN111611776A publication Critical patent/CN111611776A/en
Application granted granted Critical
Publication of CN111611776B publication Critical patent/CN111611776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/149Adaptation of the text data for streaming purposes, e.g. Efficient XML Interchange [EXI] format
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Abstract

The embodiment of the disclosure discloses a method and a device for compatible version stream document content and supporting synchronous reading. One embodiment of the method comprises: acquiring reading mode information of a user for a target document, wherein the target document comprises a document text and additional information, and the additional information is stored in an additional information area; storing the target document as a version-flow integrated document recording structure; the layout file, the streaming format content frame, the associated record and the additional information are stored in a layout-stream integrated file record structure; analyzing and displaying the target document according to the reading mode information; the additional information in the additional information area is updated and stored in response to the user updating the additional information. The method realizes the document processing method meeting the requirements of different reading modes, and simultaneously provides the synchronous reading device supporting the document processing method, thereby providing good reading experience for users. After the document is processed, the document text is unchanged, only the additional information is updated, and the storage space is saved.

Description

Method and device compatible with version stream document content and supporting synchronous reading
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a method and a device for processing documents.
Background
The digital publication, which is commonly an electronic book, can be presented on digital reading equipment such as computers, mobile phones, large-size cabinet-type touch screens, electronic paper books and the like. At present, most electronic books adopt format structures. And simultaneously reserving the format document and the streaming document in the electronic book making process. At present, the main format document formats include PDF, OFD, CEBX and the like. The main streaming document formats are OOXML, UOF, HTML, etc.
The format document does not contain streaming image-text structured information, or the streaming document obtained after automatic intelligent layout recognition has poor quality. At present, the self-adaptive reading effect between devices with screens of different sizes is poor, and a document processing method cannot completely meet the aims of one-time publishing, multi-platform application and multi-path transmission.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for compatible version stream document content and supporting synchronous reading.
In a first aspect, an embodiment of the present disclosure provides a method for compatible version streaming document content and supporting synchronous reading, where the method includes: in some embodiments, reading mode information of a user for a target document is acquired, wherein the target document comprises a document text and additional information, and the additional information is stored in an additional information area; analyzing and displaying the target document according to the reading mode information; the additional information in the additional information area is updated and stored in response to the user updating the additional information.
In some embodiments, a method of compatible version of streaming document content and supporting synchronized reading further comprises: storing the target document as a format and flow integrated document recording structure, wherein the format and flow integrated document recording structure provides a format reading mode and a flow reading mode; and storing additional information in an additional information area based on the file recording structure of the version and stream integration, wherein the additional information comprises annotations, labels and bookmarks.
In some embodiments, the layout-flow-integrated document record structure holds a layout document, a streaming format content frame, an association record, and the additional information, wherein the association record includes at least one of: extensible markup language (XML) annotations; XML character data CDATA; processing the instruction; and based on integrative document record structure of version and flow, realize the reading mode of version and flow type and read the mode, including: realizing the association of the format document and the streaming document by using the reference of the format document object; and based on the format document and the streaming format content frame, referencing the identifier of the format document object, and filling the identifier into the association record to generate a streaming document.
In some embodiments, the layout document object includes a page object and an intra-page object; and referencing the layout document object based on the associated record, including: based on the association record, referencing a page object in the format document object, and positioning to a page corresponding to the page object; and based on the association record, referencing an intra-page object in the layout document objects, and positioning the corresponding position of the corresponding layout document object in the page corresponding to the page object.
In some embodiments, parsing and displaying the target document according to the reading style includes: analyzing the content of the target document in response to the reading mode being the format reading mode; extracting additional information; the target document is displayed.
In some embodiments, parsing and displaying the target document according to the reading style includes: extracting a streaming format content frame in response to the reading mode being a streaming reading mode; embedding the layout document object into a streaming document content frame for each referenced layout document object in the layout document according to the identifier of the layout document object referenced in the associated record based on the layout document object and the streaming format content frame of the target document, and respectively generating corresponding streaming document contents to obtain a streaming document; extracting additional information; the target document is displayed.
In some embodiments, parsing the target document content in response to the reading style being a layout reading style comprises: responding to a request sent by a user for switching reading modes, and recording a switching position and a layout document object corresponding to the switching position; extracting a streaming format content frame; finding a corresponding layout document object from the target document according to the identifier of the layout document object quoted in the associated record, and embedding the corresponding layout document object into a streaming document content frame to generate corresponding streaming document content; displaying the target document in a streaming reading manner at a position corresponding to the corresponding layout document object; and extracting the additional information of the layout document object and displaying the additional information.
In some embodiments, responsive to the reading modality being a streaming reading modality, extracting a streaming format content framework includes: responding to a request sent by a user for switching reading modes, and recording a switching position and a format object corresponding to the switching position; finding a corresponding layout object in the target document based on the identifier of the layout document object; displaying the target document in a layout reading manner at a position corresponding to the corresponding layout document object; and extracting the additional information of the layout document object and displaying the additional information.
In some embodiments, updating and storing the additional information further comprises: displaying the additional information at the user update location in response to the user updating the additional information; the additional information is added to the additional information area, and the additional information stored in the additional information area is updated.
In a second aspect, some embodiments of the present disclosure provide an apparatus that is compatible with version stream document contents and supports synchronous reading, the apparatus including: the generating unit is configured to generate a format-flow-integrated document recording structure, wherein the format-flow-integrated document recording structure supports a format reading mode and a flow reading mode, and supports the addition of additional information to a target document, wherein the additional information comprises annotations, labels and bookmarks; the layout file, the streaming format content frame, the associated record and the additional information are stored in a layout-stream integrated file record structure; realizing the association of the format document and the streaming document by using the reference of the format document object; based on the format document and the streaming format content frame, the identifier of the format document object is referred to and filled in the associated record to generate a streaming document; and the analysis unit is configured to support the analysis and reading of the file recording structure of the version stream integration, wherein in response to receiving a request for switching the reading mode sent by a user, a format file object corresponding to the switching position and the switching position is recorded, and the format reading mode and the streaming reading mode are switched.
The embodiment of the disclosure provides a method for compatible version stream document content and supporting synchronous reading, which includes acquiring reading mode information of a user for a target document, wherein the target document includes a document text and additional information, and the additional information is stored in an additional information area; storing the target document as a version-flow integrated document recording structure; the layout file, the streaming format content frame, the associated record and the additional information are stored in a layout-stream integrated file record structure; analyzing and displaying the target document according to the reading mode information; the additional information in the additional information area is updated and stored in response to the user updating the additional information. One of the above-described various embodiments of the present disclosure has the following advantageous effects: and selecting a format reading mode and a streaming reading mode according to the reading mode requirement of the user for the target document. And storing the target document as two parts of document text and additional information. After the user finishes reading, the text part data of the document is not changed, and only the additional information needs to be updated. The method realizes the document processing method meeting the requirements of different reading modes, and simultaneously provides the synchronous reading device supporting the document processing method, thereby providing good reading experience for users. After the document is processed, the document text is unchanged, only the additional information is updated, and the storage space is saved.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an architectural diagram of an exemplary system in which some embodiments of the present disclosure may be applied;
FIG. 2 is a flow diagram of some embodiments of a method of compatible version streaming document content and supporting synchronized reading in accordance with the present disclosure;
FIG. 3 is a block diagram illustrating some embodiments of an apparatus compatible with version stream document content and supporting synchronized reading in accordance with the present disclosure;
FIG. 4 is an illustration of an effect presented by a method of association of layout document objects in an exemplary layout-in-one document record structure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 of a method or apparatus that is compatible with version stream document content and supports synchronized reading to which some embodiments of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various communication client applications, such as document type applications, may be installed on the terminal devices 101, 102, 103.
It should be noted that the method for compatible version streaming document content and supporting synchronous reading provided by the embodiment of the present disclosure may be executed by the terminal devices 101, 102, and 103, and may also be executed by the server 105. Accordingly, the device compatible with the version stream document content and supporting synchronous reading can be arranged in the terminal equipment 101, 102, 103, and also can be arranged in the server 105. And is not particularly limited herein.
With continued reference to fig. 2, a flow 200 of some embodiments of a method of compatible version stream document content and supporting synchronized reading in accordance with the present disclosure is illustrated. The method for compatible version stream document content and supporting synchronous reading comprises the following steps:
step 201, reading mode information of a user for a target document is obtained.
In some embodiments, an execution subject (e.g., the terminal device shown in fig. 1) of the method for compatible version stream document content and supporting synchronous reading acquires the reading mode information of the user for the target document. The target document comprises a document body and additional information. The reading mode includes reading in a format document mode and reading in a streaming document mode. Specifically, the reading mode information includes information that the user requires to read in a format document mode and information that the user requires to read in a streaming document mode.
Optionally, the target document is stored as a version-flow integrated document record structure. The layout and stream integrated document recording structure can meet the reading requirements of a layout reading mode and a stream reading mode at the same time. Optionally, the format-stream integrated document recording structure stores a format document, a streaming format content frame, an association record, and additional information. The text of the document refers to the content of the document provided for the user to read. Specifically, the document body comprises a layout document, a streaming format content frame and an associated record. The additional information includes annotations, and bookmarks. The streaming format content frame refers to a typesetting structure conforming to a certain streaming document format specification. The association record includes, but is not limited to, extensible markup language XML annotations, XML character data CDATA, processing instructions, and the like.
In practice, the layout document may be a document describing display contents in a fixed layout, independent of a display device or a printing device such as software, hardware, an operating system, and the like. As an example, it may be a document in PDF, CEBX, OFD, or the like format. The streaming document mainly stores structural information for editing and typesetting, and document contents are irrigated to each display area in a continuous flow mode during reading, so that different typesetting and reading effects can be presented on different display devices. As an example, it may be a document in OOXML, UOF, HTML, or the like format.
Storing the target document as a document record structure integrated with the layout flow, and particularly, saving the target document as a layout document fixeddoc. At the same time, save it as streaming format content framework flowdoc. Optionally, the association between the layout document and the streaming document is implemented by using the layout document object reference. For each layout document object in the layout document, an identification of the layout document object is referenced. Specifically, the format document object identification of the reference is used in the association record to replace the content in the streaming format content frame, so as to form the association record. And inserting the association record into a corresponding position in a streaming format content frame flowdoc. The additional information is stored in the additional information area, including annotations, labels, bookmarks, etc.
Optionally, a layout document object list required to synchronize the layout document and the streaming document is constructed and stored in the association record. The layout document object list is composed of layout document object identifications. The identification ObjectID of the intra-page object to be synchronized is recorded in the association record, and the identification PageID of the intra-page object where the intra-page object is located can be recorded at the same time. And for each layout document object in the layout document object list needing synchronization, responding to the additional information, and storing the additional information in an additional information area PubSection.
Each page in the layout document is assigned a corresponding page object identification PageID. The identification of the page object, PageID, may be an integer. Specifically, the identification PageID of the page object may be "1", "2", "3". The layout document is allocated with in-page object identification ObjectID for each layout document object needing synchronization. The identification ObjectID of an object within a page may be an integer. Specifically, the identification ObjectID of the object in the page may be "1", "2", "3". Optionally, the page object identification PageID of the referenced layout document object and the identification ObjectID of the object in the page are inserted into the association record of the streaming format content frame and saved. Optionally, based on the streaming format content frame, according to the in-page object ObjectID in the reference layout document object in the association record, the corresponding position of the corresponding layout document object of the layout document is directly located. Optionally, the corresponding page in the layout document is located according to the PageID identifier of the page object, a specific intra-page object is located according to the intra-page object ObjectID, and the setting of the PageID identifier of the page object can help the apparatus to quickly locate the specific layout document object, thereby improving the processing efficiency.
Specifically, a default parsing mode flag option may be set in the document record structure of the version stream body. The flag may be set to Switch. And providing the format document for the user to read in response to the Switch being equal to 0. In response to Switch ═ 1 ", the streaming document is provided for the user to read. In the reading process of the user, the reading mode can be switched according to the requirement of the user on the change of the reading mode of the target document.
And step 202, analyzing and displaying the target document according to the reading mode information.
In some embodiments, the execution body parses and displays the target document according to the reading mode information. Specifically, the reading mode information includes information that the user requires to read in a format document mode and information that the user requires to read in a streaming document mode.
Optionally, in response to the reading mode requested by the user being a reading mode in which the reading mode is performed in a format document mode, specifically, the Switch is equal to "0", and the target document content is parsed. Additional information is extracted from the additional information area. The target document is displayed. The additional information area refers to a common area defined outside the layout document and the streaming document when the target document is stored as a document recording structure of the layout-stream body.
Optionally, in response to the reading mode being a reading mode in which the reading mode is a streaming document, specifically, the Switch is equal to "1", and the streaming format content frame is extracted. And searching according to the identifier of the format document object quoted in the associated record. Specifically, the association record of the embodiment adopts an XML annotation manner. And extracting each format document object quoted in the format document, embedding the object into the position quoted by the object in the streaming document frame, and respectively generating corresponding streaming document contents to obtain the streaming document. Additional information is extracted from the additional information area. The target document is displayed.
Optionally, the user reads in a format reading mode. And responding to a request sent by a user for switching reading modes, and recording the switching position and the layout document object corresponding to the switching position. A streaming format content frame is extracted. And finding a corresponding layout document object from the target document according to the identifier of the layout document object quoted in the associated record, and embedding the corresponding layout document object into a streaming document content frame. Specifically, the corresponding layout document object may be found from the target document according to the identifier of the layout document object referenced in the XML annotation, and the corresponding layout document object may be embedded into the streaming document content frame. Additional information is extracted from the additional information area. The target document is displayed in a streaming reading manner at a position corresponding to the corresponding layout document object.
Optionally, the user reads in a streaming reading mode. And responding to a request sent by a user for switching reading modes, and recording the switching position and the layout object corresponding to the switching position. And finding the corresponding layout object in the target document according to the information of the layout document object. Additional information is extracted from the additional information area. The target document is displayed in a layout reading manner at a position corresponding to the corresponding layout document object.
Step 203, updating and storing the additional information.
In some embodiments, the execution subject displays the additional information at the user update location in response to the user updating the additional information. The additional information is added to the additional information area, and the additional information stored in the additional information area is updated.
In response to the user's request to add annotations, labels and bookmarks, additional information is displayed in the user-specified document data location and added to the additional information area. The additional information is associated with the corresponding layout object.
One embodiment presented in fig. 2 has the following beneficial effects: and adaptively selecting a format reading mode and a streaming reading mode according to the reading mode requirement of the user for the target document. And storing the target document as two parts of document text and additional information. After the user finishes reading, the text part data of the document is not changed, and only the additional information needs to be updated. The method realizes the document processing method meeting the requirements of different reading modes, and simultaneously provides the synchronous reading device supporting the document processing method, thereby providing good reading experience for users. After the document is processed, the document text is unchanged, only the additional information is updated, and the storage space is saved. The reference of the page object identification can help quickly locate a specific layout document object, and the processing efficiency is improved.
With further reference to fig. 3, as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of an apparatus that is compatible with version stream document contents and supports synchronous reading, which correspond to those of the method embodiments shown in fig. 2, and which can be applied in various electronic devices.
As shown in fig. 3, an apparatus 300 of some embodiments that is compatible with version streaming document content and supports synchronous reading includes: generation section 301 and analysis section 302.
The generating unit 301 is configured to generate a layout-flow-integrated document recording structure, where the layout-flow-integrated document recording structure supports a layout reading manner and a streaming reading manner, and supports adding additional information to a target document, where the additional information includes annotations, labels, and bookmarks. The layout-flow integrated document record structure stores layout documents, a streaming format content framework, associated records, and additional information. The association of the layout document and the streaming document is achieved by using the layout document object reference. And based on the format document and the streaming format content frame, referencing the identifier of the format document object, and filling the identifier into an associated record to generate a streaming document. The parsing unit 302 is configured to support parsing and reading of a version-stream-integrated document recording structure, wherein in response to receiving a request for switching a reading manner from a user, a switching position and the version document object corresponding to the switching position are recorded, and the version reading manner and the stream reading manner are switched.
Some embodiments of the present disclosure provide an apparatus, wherein the generating unit supports a layout reading manner and a streaming reading manner, and can select the reading manner according to a requirement of a user. Subsequently, the analysis unit can meet the reading mode switching requirement of the corresponding user in the reading process, realize the switching between the format reading mode and the streaming reading mode, meet the reading requirement of the user and improve the reading experience of the user.
With continued reference to FIG. 4, the effect presented by the method of association of layout document objects in a layout-as-a-whole document record structure is shown.
In the application scenario of fig. 4, in the page with PageID ═ 12 ", in the document record structure with version stream unified, the association record refers to the layout document object with the tag ObjectRef in the XML annotation manner (< | - - >). The reference mode can be expressed by a mode that format document object lists, symbols or expressions and the like can be analyzed by a device compatible with format stream document contents and supporting synchronous reading. In this example, the layout document objects associated with each other are all objects having an object id of "103", "104", "105", "106", "108" and so on the 12 th page, which are recorded in the document recording structure of the layout body.
In this example, for the references of the multiple layout document object identifications, the expression can be expressed according to a representation mode which is interpretable by a parsing unit of a device which is compatible with the layout document contents and supports synchronous reading. Specifically, "103" to "105" in this example indicate 3 layout document objects including layout document object identifications objectids "103", "104" and "105". Each layout document object (or layout document object list) is divided by commas. The term "to" in the text is denoted by "-". In response to no text following the "-" symbol, the "to" document object is parsed to reference the last layout document object in the document.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs.
It should be noted that the computer readable medium mentioned above in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention according to the embodiments of the present disclosure is not limited to the specific combinations of the above-mentioned features, but also covers other embodiments formed by any combination of the above-mentioned features or their equivalents without departing from the above-mentioned inventive method. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (10)

1. A method of compatible version streaming document content and supporting synchronous reading, the method comprising:
acquiring reading mode information of a user for a target document, wherein the target document comprises a document text and additional information, and the additional information is stored in an additional information area;
analyzing and displaying the target document according to the reading mode information;
and updating and storing the additional information in the additional information area in response to the user updating the additional information.
2. The method of claim 1, wherein the method further comprises:
storing the target document as a format and flow integrated document recording structure, wherein the format and flow integrated document recording structure provides a format reading mode and a flow reading mode;
and storing the additional information in the additional information area based on the file recording structure of the version flow, wherein the additional information comprises annotations, labels and bookmarks.
3. The method of claim 2, wherein the layout-to-flow unified document record structure holds a layout document, a streaming format content frame, an association record, and the additional information, wherein the association record includes at least one of: extensible markup language (XML) annotations; XML character data CDATA; processing the instruction; and
based on the integrative document record structure of version and flow, realize the reading mode of version and the reading mode of flow, include:
realizing the association of the layout document and the streaming document by using the layout document object reference;
and based on the layout document and the streaming format content frame, referring to the identifier of the layout document object, and filling the identifier into the association record for generating the streaming document.
4. The method of claim 3, wherein the layout document object comprises a page object and an intra-page object; and
referencing the layout document object based on the association record, including:
based on the association record, referencing the page object in the layout document object and positioning to a page corresponding to the page object;
and referencing the intra-page object in the layout document object based on the association record, and positioning the corresponding position of the layout document in the page corresponding to the page object.
5. The method of claim 4, wherein said parsing and displaying said target document according to said reading modality comprises:
analyzing the target document content in response to the reading mode being a format reading mode;
extracting the additional information;
and displaying the target document.
6. The method of claim 4, wherein said parsing and displaying said target document according to said reading modality comprises:
extracting the streaming format content frame in response to the reading mode being a streaming reading mode;
based on the format document object and the streaming format content frame of the target document, embedding the format document object into the streaming document content frame for each referenced format document object in the format document according to the identifier of the format document object referenced in the association record, and respectively generating corresponding streaming document content to obtain the streaming document;
extracting the additional information;
and displaying the target document.
7. The method of claim 6, wherein said parsing the target document content in response to the reading style being a layout reading style comprises:
responding to a request sent by a user for switching reading modes, and recording a switching position and the layout document object corresponding to the switching position;
extracting the streaming format content frame;
finding the corresponding layout document object from the target document according to the identifier of the layout document object quoted in the association record, embedding the corresponding layout document object into the streaming document content frame, and generating corresponding streaming document content;
displaying the target document in the streaming reading mode at a location corresponding to the corresponding layout document object;
and extracting the additional information of the layout document object and displaying the additional information.
8. The method of claim 7, wherein said extracting the streaming format content framework in response to the reading modality being a streaming reading modality comprises:
responding to a request sent by a user for switching reading modes, and recording a switching position and the layout object corresponding to the switching position;
finding the corresponding layout object in the target document based on the identification of the layout document object referenced in the association record;
displaying the target document in the layout reading mode at a position corresponding to the corresponding layout document object
And extracting the additional information of the layout document object and displaying the additional information.
9. The method of claim 8, wherein the updating and storing the additional information further comprises:
in response to a user updating the additional information, displaying the additional information at a user update location;
adding the additional information to the additional information area, and updating the additional information stored in the additional information area.
10. An apparatus for compatible version streaming document content and supporting synchronous reading, comprising:
the generating unit is configured to generate a layout-flow integrated document recording structure, wherein the layout-flow integrated document recording structure supports the layout reading mode and the flow reading mode and supports adding the additional information to a target document, wherein the additional information comprises annotations, labels and bookmarks; the layout document, the streaming format content frame, the associated record and the additional information are stored in the layout and stream integrated document record structure; realizing the association of the layout document and the streaming document by using the layout document object reference; based on the layout document and the streaming format content frame, referring to the identifier of the layout document object, and filling the identifier into the association record for generating the streaming document;
the analysis unit is configured to support analysis and reading of a version-stream integrated document recording structure, wherein in response to receiving a request for switching reading modes sent by a user, a switching position and the version document object corresponding to the switching position are recorded, and the version reading mode and the stream reading mode are switched.
CN202010442133.XA 2020-05-22 2020-05-22 Method and device for compatible edition flow document content and supporting synchronous reading Active CN111611776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010442133.XA CN111611776B (en) 2020-05-22 2020-05-22 Method and device for compatible edition flow document content and supporting synchronous reading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010442133.XA CN111611776B (en) 2020-05-22 2020-05-22 Method and device for compatible edition flow document content and supporting synchronous reading

Publications (2)

Publication Number Publication Date
CN111611776A true CN111611776A (en) 2020-09-01
CN111611776B CN111611776B (en) 2023-07-25

Family

ID=72199565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010442133.XA Active CN111611776B (en) 2020-05-22 2020-05-22 Method and device for compatible edition flow document content and supporting synchronous reading

Country Status (1)

Country Link
CN (1) CN111611776B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113221507A (en) * 2021-05-28 2021-08-06 掌阅科技股份有限公司 Document editing operation synchronization method, computing device and storage medium
CN113239661A (en) * 2021-04-30 2021-08-10 北京方正阿帕比技术有限公司 Edition-stream combination based multi-terminal electronic document editing method and device
CN113296774A (en) * 2021-06-16 2021-08-24 北京数科网维技术有限责任公司 OFD file processing method and system based on browser

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819531A (en) * 2011-06-10 2012-12-12 北大方正集团有限公司 Cloud reading service system, cloud reading service method and device
CN102890670A (en) * 2012-09-10 2013-01-23 北京京东世纪贸易有限公司 Method and system for switching between layout reading mode and flow reading mode
CN103186510A (en) * 2011-12-30 2013-07-03 北大方正集团有限公司 Document format transforming method and device
CN103294650A (en) * 2012-02-29 2013-09-11 北大方正集团有限公司 Method and device for displaying electronic document
CN105404612A (en) * 2015-10-23 2016-03-16 北大方正集团有限公司 Digital resource display method and system
CN105446946A (en) * 2014-07-17 2016-03-30 阿里巴巴集团控股有限公司 Format document resetting method and system, electronic reading terminal
US10628631B1 (en) * 2017-10-31 2020-04-21 Amazon Technologies, Inc. Document editing and feedback

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819531A (en) * 2011-06-10 2012-12-12 北大方正集团有限公司 Cloud reading service system, cloud reading service method and device
CN103186510A (en) * 2011-12-30 2013-07-03 北大方正集团有限公司 Document format transforming method and device
CN103294650A (en) * 2012-02-29 2013-09-11 北大方正集团有限公司 Method and device for displaying electronic document
CN102890670A (en) * 2012-09-10 2013-01-23 北京京东世纪贸易有限公司 Method and system for switching between layout reading mode and flow reading mode
CN105446946A (en) * 2014-07-17 2016-03-30 阿里巴巴集团控股有限公司 Format document resetting method and system, electronic reading terminal
CN105404612A (en) * 2015-10-23 2016-03-16 北大方正集团有限公司 Digital resource display method and system
US10628631B1 (en) * 2017-10-31 2020-04-21 Amazon Technologies, Inc. Document editing and feedback

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李宁;刘寅;梁琦;冯雪;: "流式文档到固定版式文档的可逆转换方法研究", vol. 51, no. 02, pages 203 - 212 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113239661A (en) * 2021-04-30 2021-08-10 北京方正阿帕比技术有限公司 Edition-stream combination based multi-terminal electronic document editing method and device
CN113221507A (en) * 2021-05-28 2021-08-06 掌阅科技股份有限公司 Document editing operation synchronization method, computing device and storage medium
CN113296774A (en) * 2021-06-16 2021-08-24 北京数科网维技术有限责任公司 OFD file processing method and system based on browser

Also Published As

Publication number Publication date
CN111611776B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
CN111611776B (en) Method and device for compatible edition flow document content and supporting synchronous reading
KR100490734B1 (en) Annotation-based automatic document generation apparatus and method
US7290008B2 (en) Method to extend a uniform resource identifier to encode resource identifiers
US7134073B1 (en) Apparatus and method for enabling composite style sheet application to multi-part electronic documents
US20040095400A1 (en) Reconfiguration of content for display on devices of different types
US20030069881A1 (en) Apparatus and method for dynamic partitioning of structured documents
US20140331124A1 (en) Method for maintaining common data across multiple platforms
JP2009510565A5 (en)
GB2364802A (en) Electronic document delivery and transformation
CN1496180A (en) Method for supporting multilanguage for mobile communication terminal and its communication system
JP2006243829A (en) Method and system for converting web content
CN102055788A (en) Digital signage system and image display control method
CN101860734B (en) Method for implementing incremental transmission and display of dynamic images through AJAX
CN111953709A (en) Multimedia content transmission method, multimedia content display device and electronic equipment
CN101916293A (en) Method and device for introducing media information into file
US20050024355A1 (en) Selecting items displayed on respective areas on a screen
EP2827261A1 (en) Method for bundling images and devices thereof
KR20110026286A (en) Producing apparatus and method for a standized electronic book
US9483569B2 (en) Electronic-manual browsing apparatus and system
CN112433995B (en) File format conversion method, system, computer device and storage medium
US20010039578A1 (en) Content distribution system
US20010049733A1 (en) Content distribution system
EP1308856A2 (en) Information providing system and information providing server apparatus for use therein, information terminal unit, and information providing method using to user profile
JP2004227199A (en) Automatic discrimination system of browser display language, web server, and automatic discrimination method of browser display language used therefor
JP2008123425A (en) Web document data providing device, method, and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant