JP2003085162A - Book type data difference adding updating method, its device, recording medium of its program and its program - Google Patents

Book type data difference adding updating method, its device, recording medium of its program and its program

Info

Publication number
JP2003085162A
JP2003085162A JP2001277734A JP2001277734A JP2003085162A JP 2003085162 A JP2003085162 A JP 2003085162A JP 2001277734 A JP2001277734 A JP 2001277734A JP 2001277734 A JP2001277734 A JP 2001277734A JP 2003085162 A JP2003085162 A JP 2003085162A
Authority
JP
Japan
Prior art keywords
update
page
book
page number
file
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
JP2001277734A
Other languages
Japanese (ja)
Other versions
JP3771826B2 (en
Inventor
Takeya Suzuki
健也 鈴木
Daisuke Takigawa
大介 滝川
Junji Takeuchi
順二 竹内
Toru Sadakata
徹 定方
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2001277734A priority Critical patent/JP3771826B2/en
Publication of JP2003085162A publication Critical patent/JP2003085162A/en
Application granted granted Critical
Publication of JP3771826B2 publication Critical patent/JP3771826B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To maintain a memorandum and a tag imparted by a browsing user in an original page as much as possible in update by a difference file of an electronic book. SOLUTION: The difference file 1 is read in, a script is analyzed (S1), and the electronic book of a update object is specified (S2). A file of the specified electronic book is read in (S3), a page number before update is controlled as a temporary page number with every page of the electronic book, and a tag and memorandum-imparted page number is controlled. The script of the difference file 1 is executed, a page is deleted and added (S4), and the temporary page number is determined and controlled to an added page based on an additional position. The page number attached with the tag and the memorandum added by a browser is determined so as to become a page number near as much as possible based on the temporary page number (S5), a page number is newly reassigned (S6) and the electronic book after update is stored as a file (S7).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は,ネットワークを利
用して電子的な書籍などの情報を表示するシステムにお
いて,最新の情報に更新するなど,二つの書籍などの情
報間の差分情報に基づいて,既に存在する情報を,当該
差分情報によって追加もしくは更新することができるシ
ステムを構築するための書籍型データ差分追加更新方法
およびその装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for displaying information such as an electronic book using a network, based on difference information between information of two books, such as updating to the latest information. The present invention relates to a book-type data difference addition / update method and apparatus for constructing a system capable of adding or updating already existing information by the difference information.

【0002】[0002]

【従来の技術】従来,二つの情報間の差分情報に基づい
て,既に存在する元の情報を,当該差分情報によって追
加もしくは更新するために,二つの情報を比較した結果
である差分情報を,次のような形式で記述していた。 (1)内容が変化していない部分では,その部分の先頭
からの位置(バイト数など)と,範囲(バイト数など)
〔内容が変化している部分以外と定義される場合も多
い〕。 (2)内容が変化している部分は,その部分の先頭から
の位置(バイト数など)と,範囲(バイト数など),お
よび変化後の内容〔例えば「先頭から20バイト目から
10バイトを『00 01 23 52』の4バイトに
置き換える」など〕。 (3)内容が追加されている部分は,その部分の先頭か
らの位置(バイト数など),および追加内容〔例えば
「先頭から30バイト目に『01 20 11』の3バ
イトを追加する」など(内容が変化している部分で,範
囲が0バイトと定義することもできる)〕。
2. Description of the Related Art Conventionally, based on difference information between two pieces of information, difference information which is a result of comparing two pieces of information in order to add or update original information that already exists by the difference information is It was described in the following format. (1) In the part where the contents have not changed, the position (number of bytes, etc.) and the range (number of bytes, etc.) from the beginning of the part.
[In many cases, it is defined as something other than the part where the content changes]. (2) For the part whose contents have changed, the position (number of bytes, etc.) from the beginning of that part, the range (number of bytes, etc.), and the contents after the change [for example, "10 bytes from the 20th byte from the beginning""Replace with 4 bytes of" 00 01 23 52 "" and the like]. (3) For the part to which the content is added, the position (number of bytes, etc.) from the beginning of the part, and the added content [eg, "3 bytes of" 01 20 11 "are added to the 30th byte from the beginning", etc.] (In the part where the contents are changing, the range can be defined as 0 bytes)].

【0003】そして,差分情報を適用する際に,以上の
記述をもとに,次のような追加更新処理を行っていた。 (1)内容が変化していない部分では,元の内容をその
ままコピーする。 (2)内容が変化している部分は,差分情報に含まれる
先頭からの位置(バイト数など)と,範囲(バイト数な
ど)によって特定される部分を削除し,変化後の内容を
削除した部分に挿入する〔例えば先の例では,「先頭か
ら20バイト目から10バイト削除し,先頭から20バ
イト目から4バイトを『00 01 2352』として
挿入する」など〕。 (3)内容が追加されている部分は,差分情報に含まれ
る先頭からの位置(バイト数など)に,追加内容を挿入
する〔例えば先の例では,「先頭から30バイト目に
『01 20 11』の3バイトを挿入する」など〕。
Then, when the difference information is applied, the following additional update processing is performed based on the above description. (1) The original content is copied as it is in the part where the content has not changed. (2) For the part where the content has changed, the part specified by the position (byte count, etc.) and the range (byte count, etc.) from the beginning included in the difference information was deleted, and the changed content was deleted. (For example, “delete 10 bytes from the 20th byte from the beginning and insert 4 bytes from the 20th byte from the beginning as“ 00 01 2352 ””). (3) For the part to which the content is added, the additional content is inserted at a position (number of bytes, etc.) from the beginning included in the difference information [for example, in the above example, “01 20 11 bytes of 3 "are inserted.]].

【0004】以上の処理を差分情報が終了するまで操り
返す。
The above processing is repeated until the difference information is completed.

【0005】[0005]

【発明が解決しようとする課題】従来の技術を用いた場
合,差分情報の記述は,必ずしも書籍などの情報に適し
てはおらず,特に閲覧利用者の追加したメモや付箋な
ど,書籍などの情報の一部やページに関連付けられた情
報は,失われたり,元の書籍などの情報と同じ位置に復
元されるが更新後のページの内容は前後に移動していた
りするなど,閲覧利用者の期待する結果にならないこと
があった。
When the conventional technique is used, the description of the difference information is not necessarily suitable for the information such as the book, and especially the information such as the memo and the sticky note added by the browsing user such as the book. Part of the information or information associated with the page is lost or restored to the same position as the information of the original book, but the content of the updated page moves back and forth. In some cases, the result was not what I expected.

【0006】本発明の目的は,コンピュータ画面上に紙
の本を模して,表紙・中表紙・本文ページ・裏表紙など
の物理的な本の構造を持ったインタフェースで書籍など
の情報を表示し,各ページにメモや付箋など閲覧利用者
の追加した情報が存在する場合に,その閲覧利用者の追
加したメモや付箋などの情報を,なるべく位置も含め
て,保存することができる書籍型データ差分追加更新方
法およびその装置を提供することである。
An object of the present invention is to imitate a paper book on a computer screen and display information such as a book on an interface having a physical book structure such as a front cover, a middle cover, a body page and a back cover. However, if there is information added by the browsing user such as memos and sticky notes on each page, it is possible to save the information such as the notes and sticky notes added by the browsing user, including the position as much as possible. A data difference adding / updating method and an apparatus thereof.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するた
め,本発明では,更新前のページ番号を記憶しておき,
更新後もなるべく近くのページ番号に付与されるよう
に,付箋やメモのページ番号を決める。一般に,メモは
本文に直接関連して付随していることが多く,付箋はペ
ージ全体としての構造に付随していることが多いと考え
られる。そのため,メモの場合には,そのページがなく
なってしまった際に,そのページ付近に移動させるメリ
ットが少なく,逆に付箋は,その付近に関連する記述が
存在するかもしれず,また,貼られる位置も本文とは遠
い余白(マージン)の部分に貼られることが多いため,
メモを中表紙に移す。
In order to solve the above problems, in the present invention, the page number before updating is stored,
Decide the page numbers of sticky notes and memos so that the page numbers will be added as close as possible after updating. In general, memos are often associated directly with the text, and sticky notes are often associated with the structure of the entire page. Therefore, in the case of a memo, when the page disappears, there is little merit to move it to the vicinity of the page, and conversely, the sticky note may have a description related to the vicinity, and the position where it is pasted. Is often affixed to the margin part far from the text,
Move the notes to the inside cover.

【0008】具体的には,本発明では,電子書籍のペー
ジ単位の削除,追加命令がスクリプトで記述してある差
分ファイルを読み込んで内部形式に変換し,差分ファイ
ルに記述された更新対象の電子書籍を特定する。次に,
その特定された電子書籍のファイルを読み込んで内部形
式に変換し格納する。電子書籍のページごとに,更新前
のページ番号を仮のページ番号として管理するととも
に,閲覧者が追加した付箋とメモが付与されたページ番
号を管理する。差分ファイルのスクリプトを実行するこ
とにより必要なページの削除と追加を行い,追加された
ページに対して追加位置に基づいて仮のページ番号を決
めて管理する。閲覧者が追加した付箋とメモが付くペー
ジ番号は,仮のページ番号に基づいて,できるだけ近い
ページ番号となるように決める。最後にページ番号をリ
セットし新しく振り直して,更新後の電子書籍をファイ
ルとして格納する。ここで,ページ番号等を管理すると
は,ページ番号等の情報を記憶・保存し,必要なときに
参照できるような状態にしておくことをいう。
Specifically, in the present invention, the electronic book to be updated described in the difference file is read by reading the difference file in which the page-by-page deletion and addition instructions of the electronic book are written in a script, and is read. Identify the book. next,
The specified electronic book file is read, converted into an internal format, and stored. For each page of the electronic book, the page number before the update is managed as a temporary page number, and the page number to which the tag and the memo added by the viewer are managed. Necessary pages are deleted and added by executing the script of the difference file, and a temporary page number is determined and managed for the added page based on the addition position. The page number with the sticky note and memo added by the viewer is determined based on the temporary page number so that the page number is as close as possible. Finally, the page number is reset and reassigned, and the updated electronic book is stored as a file. Here, managing page numbers and the like means storing and storing information such as page numbers and the like so that they can be referred to when necessary.

【0009】また,第二の発明では,電子書籍の更新指
示ファイル(更新指示を行うための差分ファイルの適用
順序が,更新番号と該更新番号に対応する差分ファイル
の格納場所で記載されたもの)を読み込んで内部形式に
変換する。その更新指示ファイルに記述された更新対象
の電子書籍を特定し,その特定された電子書籍のファイ
ルを読み込んで内部形式に変換し格納する。次に,電子
書籍のページごとに,更新前のページ番号を仮のページ
番号として管理するとともに,閲覧者が追加した付箋と
メモが付与されたページ番号を管理する。その電子書籍
の更新番号を読み出し,差分ファイルの更新番号との比
較から,適用が必要な差分ファイルを決める。決めた差
分ファイルを読み込んで内部形式に変換し,差分ファイ
ルのスクリプトを実行することによりページの削除と追
加を行い,追加されたページに対して追加位置に基づい
て仮のページ番号を決めて管理する。また,閲覧者が追
加した付箋とメモが付くページ番号を,仮のページ番号
に基づいてできるだけ近いページ番号となるように決め
る。その後,ページ番号をリセットして新しく振り直
す。次の差分ファイルの適用が必要か否かを判断し,必
要ならば差分ファイルの読み込みから同様に処理を繰り
返し,不要であれば電子書籍をファイルとして格納す
る。
In the second invention, the update instruction file of the electronic book (the application order of the difference files for performing the update instruction is described by the update number and the storage location of the difference file corresponding to the update number) ) Is read and converted into the internal format. The electronic book to be updated described in the update instruction file is specified, the file of the specified electronic book is read, converted into an internal format, and stored. Next, for each page of the electronic book, the page number before update is managed as a temporary page number, and the page number to which the tag and memo added by the viewer are managed. The update number of the electronic book is read, and the difference file that needs to be applied is determined from the comparison with the update number of the difference file. Reads the determined difference file, converts it to an internal format, executes the script of the difference file to delete and add pages, and determines and manages a temporary page number based on the addition position for the added page To do. Also, the page number to which the tag and the memo added by the viewer are attached is determined based on the temporary page number so that the page number is as close as possible. After that, reset the page number and reassign a new one. It is determined whether or not the next difference file needs to be applied, and if necessary, the same process is repeated from the reading of the difference file, and if unnecessary, the electronic book is stored as a file.

【0010】以上の付箋とメモのページ番号を決める過
程では,メモに限り,更新前に付与されていたページ番
号が,仮のページ番号になければ,中表紙に移すことに
より,メモを適切に保存することができる。
In the process of determining the page numbers of the sticky notes and memos described above, if the page number assigned before updating is not a temporary page number only for the memo, the memo is properly transferred by moving it to the inside cover. Can be saved.

【0011】以上の手段は,コンピュータと,そのコン
ピュータにインストールされ実行されるソフトウェアプ
ログラムとによって実現することができ,そのプログラ
ムは,コンピュータが読み取り可能な可搬媒体メモリ,
半導体メモリ,ハードディスク等の適当な記録媒体に格
納することができる。
The above means can be realized by a computer and a software program installed and executed in the computer. The program is a computer-readable portable medium memory,
It can be stored in an appropriate recording medium such as a semiconductor memory or a hard disk.

【0012】[0012]

【発明の実施の形態】以下,本発明の一実施形態につい
て,図面を用いて説明する。図1は,本発明の一実施形
態に係る書籍型データ差分追加更新装置のシステム構成
を表すブロック図である。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the system configuration of a book-type data difference addition / update device according to an embodiment of the present invention.

【0013】図1に示すシステムは,スクリプト解析部
2,スクリプト制御部3,書籍データ読込部5,書籍オ
ブジェクト管理部6,オブジェクト格納部7,書籍デー
タ書込部8,通信部9,表示制御部10,表示部11か
ら構成され,書籍などの情報の差分情報を記述したファ
イルである差分ファイル1を入力とし,計算機のローカ
ルの蓄積部に格納された書籍データ4を読み込んだり,
書き込んだりする。
The system shown in FIG. 1 includes a script analysis unit 2, a script control unit 3, a book data reading unit 5, a book object management unit 6, an object storage unit 7, a book data writing unit 8, a communication unit 9, and a display control. It is composed of a section 10 and a display section 11, and inputs a difference file 1 which is a file describing difference information of information such as books, reads book data 4 stored in a local storage section of a computer,
Write in.

【0014】図2は,図1に示したシステムにおける差
分ファイル1の記述法の例を説明する図である。図2
(A)の上側が更新元の書籍などの情報,下側が更新後
の書籍などの情報を表している。各四角形は,書籍など
の情報中のページを表しており,更新元の書籍などの情
報には,1〜9までのページが存在している。更新後の
書籍などの情報には,更新元の書籍などの情報で1,
5,8,9ページであったのと同じ内容が存在してお
り,更新元の書籍などの情報で6,7ページであった内
容を更新した内容N3 ,N4 が存在している。
FIG. 2 is a diagram for explaining an example of the description method of the difference file 1 in the system shown in FIG. Figure 2
The upper side of (A) shows the information such as the original book and the lower side shows the information such as the updated book. Each square represents a page in information such as a book, and pages 1 to 9 exist in the information such as a book as an update source. The information such as the book after the update is 1,
The same contents as those of pages 5, 8 and 9 exist, and contents N 3 and N 4 obtained by updating the contents of pages 6 and 7 with the information such as the book of the update source exist.

【0015】図2(B)における差分ファイル1は,更
新元の書籍などの情報から,更新後の書籍などの情報を
作成するためのスクリプトを表しており,更新元情報と
更新後情報との対応関係から, 更新元情報の2〜4,6,7ページを削除する, 次に3ページ目に新しいページN3 を挿入する, 次に4ページ目に新しいページN4 を挿入する, といった処理を実行することを示すスクリプトとなって
いる。
The difference file 1 in FIG. 2B represents a script for creating information such as the updated book from the information such as the update source book. Processes such as deleting pages 2 to 4, 6 and 7 of the update source information from the correspondence, inserting a new page N 3 on the 3rd page, and inserting a new page N 4 on the 4th page. It is a script that indicates to execute.

【0016】差分ファイル1のうち,「書籍ID」は,
更新元の書籍などの情報を特定する情報であり,例えば
電子書籍名や,差分追加更新処理を通じて変化しないI
D文字列や,差分追加更新対象となる元の書籍データ4
のURL(Uniform ResourceLocator),当該差分追加
更新を特定する番号「更新番号」などとする。
In the difference file 1, the "book ID" is
This information is information that identifies information such as the book that is the source of the update, and does not change, for example, through the electronic book name or the difference addition / update process.
Original character data 4 that is the target of D character string and differential addition and update
(Uniform Resource Locator), the number "update number" for specifying the difference addition update, and the like.

【0017】図3は,図1に示したシステムで,図2に
示した差分ファイル1の記述がどのように処理されるか
の例を示している。また,図4は,図1に示したシステ
ムにおける図3のような処理のためのフローチャートで
ある。
FIG. 3 shows an example of how the description of the difference file 1 shown in FIG. 2 is processed in the system shown in FIG. Further, FIG. 4 is a flowchart for the processing shown in FIG. 3 in the system shown in FIG.

【0018】本システムは,実行時,スクリプト解析部
2によって差分ファイル1を読み込む。スクリプト解析
部2では,計算機可読形式(例えば,XMLで記述され
た)文書である差分ファイル1を読み込んで内部形式に
変換し,スクリプト制御部3へ渡す(ステップS1)。
スクリプト制御部3は,差分ファイル1の内部形式に従
って,差分追加更新処理を実行する。書籍オブジェクト
管理部6は,スクリプト制御部3から受けた要求をもと
に,書籍データ読込部5,オブジェクト格納部7,書籍
データ書込部8,通信部9,表示制御部10を用いて差
分追加更新処理および表示部11への書籍などの情報の
表示を行う。
In this system, the script analysis unit 2 reads the difference file 1 at the time of execution. The script analysis unit 2 reads the difference file 1 which is a computer-readable document (for example, described in XML), converts it into an internal format, and passes it to the script control unit 3 (step S1).
The script control unit 3 executes the difference addition / update process according to the internal format of the difference file 1. Based on the request received from the script control unit 3, the book object management unit 6 uses the book data reading unit 5, the object storage unit 7, the book data writing unit 8, the communication unit 9, and the display control unit 10 to make a difference. Information such as a book is displayed on the display unit 11 and additional update processing.

【0019】スクリプト制御部3では,差分ファイル1
の内部形式に従って,まず,更新元の書籍などの情報を
特定する情報を書籍オブジェクト管理部6へ渡す。書籍
オブジェクト管理部6では,該更新元の書籍などの情報
を特定する情報を書籍データ読込部5に渡し,書籍デー
タ読込部5では該更新元の書籍などの情報を特定する情
報を用いて,計算機の永続記憶領域に存在する書籍デー
タ4を特定して(ステップS2),内部形式に変換す
る。
In the script control unit 3, the difference file 1
According to the internal format of, the information specifying the information such as the update source book is first passed to the book object management unit 6. The book object management unit 6 passes the information specifying the information such as the update source book to the book data reading unit 5, and the book data reading unit 5 uses the information specifying the information such as the update source book, The book data 4 existing in the permanent storage area of the computer is specified (step S2) and converted into the internal format.

【0020】書籍データ読込部5で内部形式に変換され
た書籍データは,書籍オブジェクト管理部6に渡され,
書籍オブジェクト管理部6では,該書籍データの内部形
式をオブジェクト格納部7に格納する(ステップS
3)。この際,該書籍データの内部形式に付随するメモ
や付箋などの閲覧利用者の追加した情報も同時に格納さ
れる。図3の上部に示す「元情報」は,ここで格納され
る情報の例であり,この例では元情報の2ページ目に付
箋20,メモ22,6ページ目にメモ23,8ページ目
に付箋21が追加されている。
The book data converted into the internal format by the book data reading unit 5 is passed to the book object management unit 6,
The book object management unit 6 stores the internal format of the book data in the object storage unit 7 (step S
3). At this time, the information added by the browsing user such as a memo or a sticky note attached to the internal format of the book data is also stored. The “original information” shown in the upper part of FIG. 3 is an example of the information stored here, and in this example, the second page of the original information is the sticky note 20, the memo 22, the sixth memo 23, and the eighth page. A sticky note 21 is added.

【0021】次に,スクリプト制御部3では,差分ファ
イル1の内部形式に従って,「2〜4,6,7ページ
を削除」の指示を書籍オブジェクト管理部6へ渡す。書
籍オブジェクト管理部6では,オブジェクト格納部7に
格納されている書籍データの内部形式の2〜4,6,7
ページを削除する(ステップS4)。この際,各ページ
が更新元の書籍などの情報内で何ページ目であったかと
いう元ページ番号を記憶しておく。これで,オブジェク
ト格納部7に格納されている書籍データ内部形式の元ペ
ージ番号は,1,5,8,9ページとなる。
Next, the script control unit 3 passes the instruction of “delete pages 2, 4, 6, 7” to the book object management unit 6 according to the internal format of the difference file 1. In the book object management unit 6, the internal formats of the book data stored in the object storage unit 7 are 2, 4, 6, and 7.
The page is deleted (step S4). At this time, the original page number indicating the page number of each page in the information such as the update source book is stored. With this, the original page numbers of the book data internal format stored in the object storage unit 7 are 1, 5, 8 and 9 pages.

【0022】同様に,スクリプト制御部3では,差分フ
ァイル1の内部形式に従って,「3ページ目に新しい
ページN3 を挿入」の指示と,新しいページN3 の内容
を書籍オブジェクト管理部6へ渡す。書籍オブジェクト
管理部6では,オブジェクト格納部7に格納されている
書籍データの内部形式の3ページ目に新しいページN 3
の内容を挿入する(ステップS4)。挿入の際には,挿
入位置の直前ページの「元ページ番号」+1を挿入した
新しいページの元ページ番号として採用する。これで,
オブジェクト格納部7に格納されている書籍データ内部
形式の元ページ番号は,1,5,6(N3 ),8,9ペ
ージとなる。
Similarly, the script control unit 3 uses the difference flag.
According to the internal format of File 1,
Page N3"Insert" instruction and new page N3Content of
Is passed to the book object management unit 6. Book object
In the management unit 6, it is stored in the object storage unit 7.
New page N on the third page of the internal format of book data 3
Is inserted (step S4). When inserting,
Inserted "original page number" + 1 of the page immediately before the insertion position
Used as the original page number of the new page. with this,
Inside the book data stored in the object storage unit 7
The original page number of the format is 1, 5, 6 (N3), 8, 9
It will be

【0023】「4ページ目に新しいページN4 を挿
入」の指示に関しても同様で,適用後,オブジェクト格
納部7に格納されている書籍データ内部形式の元ページ
番号は,1,5,6(N3 ),7(N4 ),8,9ペー
ジとなる。
The same applies to the instruction "insert new page N 4 on page 4 ", and after application, the original page numbers of the book data internal format stored in the object storage unit 7 are 1, 5, 6 ( N 3 ), 7 (N 4 ), 8 and 9 pages.

【0024】ここで,例えば,「5ページ目に新しい
ページN5 を挿入」や「1ページ目に新しいページN
1 を挿入」など,「元ページ番号」として記憶している
ページ番号と重複するような指示があった場合には,ペ
ージ番号「N」とする。およびの例を適用した場合
には,オブジェクト格納部7に格納されている書籍デー
タ内部形式の元ページ番号は,N(N1 ),1,5,6
(N3 ),7(N4 ),N(N5 ),8,9ページとな
る。
Here, for example, "insert new page N 5 on page 5 " or "new page N 5 on page 1"
If there is an instruction such as “insert 1 ” that overlaps with the page number stored as the “original page number”, the page number is set to “N”. When the examples of and are applied, the original page number of the book data internal format stored in the object storage unit 7 is N (N 1 ), 1, 5, 6
(N 3 ), 7 (N 4 ), N (N 5 ), 8, 9 pages.

【0025】上記した元ページ番号付与の考え方は,一
般に入れ換えの単位は章・節などの区切りが考慮される
ことが多く,例えば,この例では6,8ページは一つの
単位(章や節)で,更新後のページ数が減ったなら,ま
とまった単位としてのページ数が減少したと考えられ,
増えたのなら,まとまった単位としてのページ数が増加
したと考えられることに基づいている。別の考え方によ
る元ページ番号付与方法としては,純粋に量だけで判断
して,空となっているページの間で比例配分させる(整
数とは限らない)ことが考えられる。これは,例えば2
〜8ページが削除されて,一つのページが追加された場
合,オブジェクト格納部7に格納されている書籍データ
内部形式の元ページ番号は,1,5,9ページとなる
(前記した元ページ番号付与の考え方の場合には,1,
2,9ページとなる)。
According to the above-mentioned concept of assigning the original page number, in general, the unit of replacement is often considered to be a division such as a chapter / section. For example, in this example, pages 6 and 8 are one unit (chapter or section). So, if the number of pages after updating decreases, it is considered that the number of pages as a unit has decreased,
If it is increased, it is considered that the number of pages as a unit is considered to have increased. As a method of assigning original page numbers based on another way of thinking, it is conceivable to make a pure determination based only on the amount and to proportionally distribute the empty pages (not necessarily an integer). This is, for example, 2
When ~ 8 pages are deleted and one page is added, the original page numbers of the book data internal format stored in the object storage unit 7 are 1, 5 and 9 pages (the original page numbers described above). In the case of the concept of grant, 1,
Pages 2 and 9).

【0026】さて,スクリプト制御部3で処理すべき差
分ファイル1の内部形式が終了したら,書籍オブジェク
ト管理部6へ終了を告げる。書籍オブジェクト管理部6
では,オブジェクト格納部7に格納されている書籍デー
タの内部形式の元ページ番号に基づき,該書籍データの
内部形式に付随するメモや付箋などの閲覧利用者の追加
した情報を復元する(ステップS5)。このとき,消え
てしまった元ページ番号に付随していたメモは中表紙
(中付け)に移動され,付箋は最も近い元ページ番号を
持つページに移動される。
Now, when the internal format of the difference file 1 to be processed by the script control unit 3 is completed, the book object management unit 6 is notified of the end. Book object management unit 6
Then, based on the original page number of the internal format of the book data stored in the object storage unit 7, the information added by the browsing user such as a memo or a sticky note attached to the internal format of the book data is restored (step S5). ). At this time, the memo attached to the disappeared original page number is moved to the inside cover (inset), and the sticky note is moved to the page having the closest original page number.

【0027】図3の下部に示す「後情報」は,ここで復
元,格納される情報の例であり,この例では,後情報の
3ページ目に元ページ番号6に付随していたメモ23
が,5ページ目に元ページ番号8に付随していた付箋2
1が復元,格納される。また,元ページ番号2に付随し
ていた付箋20,メモ22については,元ページ番号2
のページが消えてしまったので,1ページ目に付箋20
が復元,格納され,メモ22は中表紙に移動されてい
る。ここで,中表紙とは,一般に「見返し」「遊び紙」
と呼ばれる,本の表紙をめくった最初にある若干色が違
ったり,本の本紙と表紙とを貼り付けている紙の一方で
あったりするページ(紙)のことである。場合によって
は「前付け」の一種と考えられることもある。
"Post-information" shown at the bottom of FIG. 3 is an example of information restored and stored here. In this example, the memo 23 attached to the original page number 6 on the third page of the post-information.
However, the sticky note 2 attached to the original page number 8 on the 5th page
1 is restored and stored. Regarding the sticky note 20 and the memo 22 attached to the original page number 2, the original page number 2
Page has disappeared, so sticky note 20 is displayed on the first page.
Has been restored and stored, and the memo 22 has been moved to the front cover. Here, the inside cover is generally "back cover" or "play paper".
A page (paper) called a book, which has a slightly different color at the beginning of the cover of the book, or is one of the papers on which the book cover and the cover are attached. In some cases, it may be considered as a type of "prefix".

【0028】閲覧利用者の追加した情報が復元された
ら,書籍オブジェクト管理部6では,新規にページ番号
を振り直し(ステップS6),オブジェクト格納部7に
格納されている書籍データの内部形式を,当初渡された
更新元の書籍などの情報を特定する情報と共に,書籍デ
ータ書込部8に渡し,書籍データ書込部8では該更新元
の書籍などの情報を特定する情報を用いて,計算機の永
続記憶領域に存在する書籍データ4を特定し,書籍オブ
ジェクト管理部6から渡された書籍データの内部形式か
らファイル形式に変換し,書籍データ4に書き込む(ス
テップS7)。この際,該書籍データの内部形式に付随
するメモや付箋などの閲覧利用者の追加した情報も同時
に書き込まれる。
When the information added by the browsing user is restored, the book object management section 6 newly renumbers the page number (step S6) to change the internal format of the book data stored in the object storage section 7, A computer which uses the information for identifying the information such as the book of the update source and the information for identifying the information of the book of the update source is used together with the information for identifying the information such as the book of the update source that was originally passed. The book data 4 existing in the permanent storage area is identified, the internal format of the book data passed from the book object management unit 6 is converted into a file format, and the book data 4 is written (step S7). At this time, information added by the browsing user such as a memo or a sticky note attached to the internal format of the book data is also written at the same time.

【0029】最後に,書籍オブジェクト管理部6では,
オブジェクト格納部7に格納されている書籍データの内
部形式を,表示制御部10に渡し,表示制御部10で
は,表示部11へ当該書籍データの内部形式に基づいた
描画を行い,差分追加更新処理後の書籍などの情報の表
示を行う。
Finally, in the book object management unit 6,
The internal format of the book data stored in the object storage unit 7 is passed to the display control unit 10, and the display control unit 10 draws on the display unit 11 based on the internal format of the book data, and the difference addition update processing Information such as later books is displayed.

【0030】次に,本発明の第二の実施形態について,
図面を用いて説明する。
Next, regarding the second embodiment of the present invention,
This will be described with reference to the drawings.

【0031】差分ファイル1に記述された更新元の書籍
などの情報を特定する情報としては,書籍データ4その
ものを特定する情報だけではなく,差分追加更新処理を
通じて変化しないIDや,差分追加更新対象となる元の
書籍データ4のURL(Uniform Resource Locator),
当該差分追加更新を特定する番号「更新番号」も記述で
きることとする。書籍データ4には,そのファイルがど
の更新によって作成されたかを特定できる番号「更新番
号」を格納することができ,差分ファイル1に,「以前
の更新情報」を記述することで,遡って差分追加更新処
理を行うことができる。
As the information for specifying the information such as the book of the update source described in the difference file 1, not only the information for specifying the book data 4 itself, but also the ID that does not change through the difference addition and update processing and the difference addition and update target The original book data 4 URL (Uniform Resource Locator),
It is also possible to describe the number “update number” for specifying the difference addition update. The book data 4 can store a number “update number” that can identify by which update the file was created. By writing “previous update information” in the difference file 1, the difference can be traced back. Additional update processing can be performed.

【0032】図5は,本発明の第二の実施形態に係る書
籍型データ差分追加更新装置のシステムにおける差分フ
ァイル1の記述法の例を示している。
FIG. 5 shows an example of the description method of the difference file 1 in the system of the book type data difference addition / update apparatus according to the second embodiment of the present invention.

【0033】本実施形態で考えている差分追加更新モデ
ルでは,差分は必ず一つ前の情報に対して定義すること
とするため,当該差分追加更新を特定する番号「更新番
号」によって,自動的に更新の対象はそれ以前のものと
わかる。この例では,当該差分追加更新を特定する番号
「更新番号」は「8」なので,当該差分ファイルを用い
た後の書籍データ4の更新番号は「8」とわかる。自動
的に,更新の対象はそれ以前のものとわかるので,更新
番号無しか,更新番号が1〜7のものに限られることに
なる。書籍データ4に格納されている更新番号が「2」
であった場合,この書籍データ4に差分追加更新処理が
適用される。
In the differential addition / update model considered in this embodiment, since the difference is always defined for the information immediately before, the automatic addition is made by the number "update number" for specifying the differential addition / update. It can be seen that the target of the update is before that. In this example, since the number “update number” for identifying the difference addition update is “8”, the update number of the book data 4 after using the difference file can be known as “8”. Since it is automatically known that the update target is before that, the update number is limited to no update number or update numbers 1 to 7. The update number stored in book data 4 is "2"
If so, the differential addition / update process is applied to this book data 4.

【0034】さて,毎回,きちんと差分更新をしていれ
ば,そのままで問題ないが,本発明の第二の実施形態で
は,毎回きちんと差分更新をしていない状況にあって
も,当該差分ファイルに「以前の更新情報」を記述する
ことによって,外部に更新番号を管理するシステムを必
要とすることなく,自律的に以前の更新情報を管理する
ことができるシステムを構築することができる。以下の
説明では,差分ファイル1の格納先を表す一つの手段と
して,URLを用いたとして説明する。
Now, if the difference is properly updated each time, there is no problem as it is. However, in the second embodiment of the present invention, even if the difference is not properly updated each time, the difference file is stored. By describing the "previous update information", it is possible to construct a system capable of autonomously managing the previous update information without requiring an external system for managing the update number. In the following description, it is assumed that the URL is used as one means for expressing the storage location of the difference file 1.

【0035】差分ファイル1に記述された「以前の更新
情報」には,その更新で行われた更新番号(「no属
性」と呼ぶ),その更新で使われた差分ファイルのUR
Lを記述することができる。差分ファイルは,更新番号
の順に適用する。例えば,当該差分ファイル1に「更新
番号」の値「8」が,書籍データ4に「更新番号」の値
「2」が格納されており,当該差分ファイル1に含まれ
る「以前の更新情報」のno属性が1,2,4,7,対
応する差分ファイルのURLが,それぞれ 「http://Server/bookA/1.diff」, 「http://Server/bookA/2.diff」, 「http://Server/bookA/4.diff」, 「http://Server/bookA/7.diff」, というような記述であった場合,「以前の更新情報」の
no属性が4,7の差分ファイルが今回の更新に使用さ
れることになる。つまり,以前の更新情報は,全ての更
新情報を記述する必要はなく,今回の更新に必要な以前
の更新情報だけを記述すればよい。この例では,no属
性が3,5,6である以前の更新情報はなくても,更新
番号「8」の書籍データ4を作成できることを示してい
る。
The "previous update information" described in the difference file 1 includes the update number (called "no attribute") of the update and the UR of the difference file used in the update.
L can be described. Difference files are applied in the order of update numbers. For example, the value “8” of “update number” is stored in the difference file 1 and the value “2” of “update number” is stored in the book data 4, and the “previous update information” included in the difference file 1 is stored. No attributes of 1, 2, 4, 7, and the URLs of the corresponding difference files are "http: //Server/bookA/1.diff", "http: //Server/bookA/2.diff", " If the description is "http: //Server/bookA/4.diff" or "http: //Server/bookA/7.diff", the no attribute of "previous update information" is 4 or 7 The diff file will be used for this update. That is, it is not necessary to describe all the update information in the previous update information, and only the previous update information necessary for this update need be described. In this example, it is shown that the book data 4 having the update number “8” can be created without the previous update information having the no attributes 3, 5, and 6.

【0036】ここで,更新元の書籍など更新対象を特定
する情報「書籍ID」や,当該差分追加更新を特定する
番号「更新番号」,「以前の更新情報」の記述は,通
常,差分ファイル1の中に記述されるが,差分ファイル
1とは別のファイルとして扱うことができ,説明のため
には別のファイルとした方がわかりやすいため,「更新
指示ファイル」と呼ぶこととする。
Here, the description of the information "book ID" for specifying the update target such as the update source book, and the numbers "update number" and "previous update information" for specifying the difference addition update are usually the difference file. However, since it can be handled as a file different from the difference file 1 and it is easier to understand it as a different file for the sake of explanation, it will be referred to as an “update instruction file”.

【0037】図6は,本発明の第二の実施形態に係る書
籍型データ差分追加更新装置のシステムにおける処理の
流れを示したフローチャートである。
FIG. 6 is a flow chart showing the flow of processing in the system of the book type data difference addition / update apparatus according to the second embodiment of the present invention.

【0038】基本的には,「更新指示ファイル」を用い
て,必要な差分ファイルを特定し,図4に示した差分追
加更新処理の流れによって差分を適用することを操り返
すことで,処理が実行される。
Basically, by using the "update instruction file", a necessary difference file is specified, and by applying the difference again according to the flow of the difference addition and update processing shown in FIG. To be executed.

【0039】まず,ステップS21として,更新指示フ
ァイル30を解析し,内部形式に変換する。更新指示フ
ァイル30は,図5に示したように,差分ファイル1と
同一のファイル中に記述されていることもある。
First, in step S21, the update instruction file 30 is analyzed and converted into an internal format. The update instruction file 30 may be described in the same file as the difference file 1 as shown in FIG.

【0040】次に,ステップS22として,更新指示フ
ァイル30の内部形式に含まれる書籍IDをもとに,現
存する書籍データ4を特定する。
Next, in step S22, the existing book data 4 is specified based on the book ID included in the internal format of the update instruction file 30.

【0041】その後,ステップS3として,図4と同様
に,ステップS22で特定された書籍データ4を読み込
んで内部形式に変換し,オブジェクト格納部7に格納す
る。この際,利用者が追加したメモや付箋などのデータ
も読み込んで格納する。
Thereafter, in step S3, as in FIG. 4, the book data 4 specified in step S22 is read, converted into an internal format, and stored in the object storage section 7. At this time, data such as memos and sticky notes added by the user are also read and stored.

【0042】次に,ステップS23として,当該書籍デ
ータ4に格納されている「更新番号」を取得し,更新指
示ファイル30内の「更新番号」と比較する。もし,当
該書籍データ4に格納されている「更新番号」の方が大
きければ,差分の適用は行わないが,更新指示ファイル
30内の「更新番号」の方が大きければ,更新指示ファ
イル30内の「以前の更新情報」を参照し,当該書籍デ
ータ4の「更新番号」より大きいno属性を持つエント
リーを特定し,その中でも最も小さいno属性のエント
リーに書かれた差分ファイルを取得する。差分ファイル
取得の際,該当エントリーにURLが記載されていた場
合には,通信部9を用いてインターネットから当該ファ
イルを取得する。
Next, in step S23, the "update number" stored in the book data 4 is acquired and compared with the "update number" in the update instruction file 30. If the “update number” stored in the book data 4 is larger, the difference is not applied, but if the “update number” in the update instruction file 30 is larger, the update instruction file 30 is stored. “Previous update information” is referred to, an entry having a no attribute larger than the “update number” of the book data 4 is specified, and the difference file written in the entry having the smallest no attribute among them is acquired. When the difference file is acquired, if the URL is described in the corresponding entry, the communication unit 9 is used to acquire the file from the Internet.

【0043】ステップS23で得られた差分ファイルに
対して,図4と同様に,ステップS1,S4,S5,S
6を適用して,該当no属性の差分追加更新を実行す
る。
For the difference file obtained in step S23, as in FIG. 4, steps S1, S4, S5, S
6 is applied, and the differential addition and update of the corresponding no attribute is executed.

【0044】該当no属性の差分追加更新が実行された
ら,ステップS24として,当該書籍データ4の「更新
番号」を該当no属性の値に更新し,更新指示ファイル
30内の「以前の更新情報」の中に,当該書籍データ4
の「更新番号」より大きいno属性を持つエントリーが
存在するかどうか判定する。判定の結果,当該書籍デー
タ4の「更新番号」より大きいno属性を持つエントリ
ーが存在すればステップS23に分岐し,存在しなけれ
ばステップS7に分岐する。
When the differential addition / update of the relevant no attribute is executed, the "update number" of the book data 4 is updated to the value of the relevant no attribute in step S24, and the "previous update information" in the update instruction file 30 is updated. In the book data 4
It is determined whether there is an entry having a no attribute larger than the "update number" of. As a result of the determination, if there is an entry having a no attribute larger than the "update number" of the book data 4, the process branches to step S23, and if not, the process branches to step S7.

【0045】ステップS7では,図4と同様に,オブジ
ェクト格納部7に格納されている書籍データの内部形式
を,書籍データ4に書き込む。この際,該書籍データの
内部形式に付随するメモや付箋などの閲覧利用者の追加
した情報も同時に書き込まれる。
In step S7, as in FIG. 4, the internal format of the book data stored in the object storage unit 7 is written in the book data 4. At this time, information added by the browsing user such as a memo or a sticky note attached to the internal format of the book data is also written at the same time.

【0046】以上のようにして,コンピュータ画面上に
紙の本を模して,表紙・中表紙・本文ページ・裏表紙な
どの物理的な本の構造を持ったインタフェースで書籍な
どの情報を表示し,各ページにメモや付箋など閲覧利用
者の追加した情報が存在する場合に,当該閲覧利用者の
追加したメモや付箋などの情報を,なるべく位置も含め
て,保存しつつ,二つの書籍などの情報間の差分情報に
基づいて,既に存在する元の情報を,当該差分情報によ
って追加もしくは更新することができる。
As described above, information such as a book is displayed on the computer screen with an interface having a physical book structure such as a front cover, a middle cover, a body page, and a back cover by simulating a paper book. However, if there is information added by the browsing user such as a memo or sticky note on each page, the information such as the memo or sticky note added by the browsing user is stored, including the position as much as possible, and two books are stored. It is possible to add or update the already existing original information based on the difference information between such information.

【0047】[0047]

【発明の効果】以上説明したように,本発明に係る書籍
型データ差分追加更新装置を用いることで,コンピュー
タ画面上に紙の本を模して,表紙・中表紙・本文ページ
・裏表紙などの物理的な本の構造を持ったインタフェー
スで書籍などの情報を表示し,各ページにメモや付箋な
ど閲覧利用者の追加した情報が存在する場合に,二つの
書籍などの情報間の差分情報に基づいて,既に存在する
元の情報を,当該差分情報によって追加もしくは更新す
ることで,ネットワーク上でやり取りするデータのサイ
ズを小さくしつつ,当該閲覧利用者の追加したメモや付
箋などの情報を,なるべく位置も含めて保存することが
可能となるという効果がある。
As described above, by using the book-type data difference adding / updating device according to the present invention, a cover, a middle cover, a body page, a back cover, etc. are imitated as a paper book on a computer screen. When information such as books is displayed on the interface with the physical book structure of, and there is information added by the browsing user such as memos and sticky notes on each page, the difference information between the information of two books etc. Based on the above, by adding or updating the already existing original information with the difference information, while reducing the size of the data exchanged on the network, the information such as memos and sticky notes added by the browsing user can be added. There is an effect that it is possible to save including the position as much as possible.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施形態に係る書籍型データ差分追
加更新装置のシステム構成を表すブロック図である。
FIG. 1 is a block diagram showing a system configuration of a book-type data difference addition / update device according to an embodiment of the present invention.

【図2】図1に示したシステムにおける差分ファイルの
記述法の例を示す図である。
2 is a diagram showing an example of a description method of a difference file in the system shown in FIG.

【図3】図2に示した差分ファイルの記述がどのように
処理されるかを示した図である。
FIG. 3 is a diagram showing how the description of the difference file shown in FIG. 2 is processed.

【図4】本発明の一実施形態に係る書籍型データ差分追
加更新装置の処理フローチャートである。
FIG. 4 is a processing flowchart of a book-type data difference addition / update device according to an embodiment of the present invention.

【図5】本発明の第二の実施形態に係る書籍型データ差
分追加更新装置のシステムにおける差分ファイルの記述
法の例を示す図である。
FIG. 5 is a diagram showing an example of a description method of a difference file in the system of the book-type data difference addition / update device according to the second embodiment of the present invention.

【図6】本発明の第二の実施形態に係る書籍型データ差
分追加更新装置の処理フローチャートである。
FIG. 6 is a processing flowchart of the book-type data difference addition / update device according to the second embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 差分ファイル 2 スクリプト解析部 3 スクリプト制御部 4 書籍データ 5 書籍データ読込部 6 書籍オブジェクト管理部 7 オブジェクト格納部 8 書籍データ書込部 9 通信部 10 表示制御部 11 表示部 1 Difference file 2 Script analysis part 3 Script control section 4 Book data 5 Book data reading section 6 Book object management 7 Object storage 8 Book data writing section 9 Communication section 10 Display control unit 11 Display

フロントページの続き (72)発明者 竹内 順二 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 (72)発明者 定方 徹 東京都千代田区大手町二丁目3番1号 日 本電信電話株式会社内 Fターム(参考) 5B009 QB11 Continued front page    (72) Inventor Junji Takeuchi             2-3-1, Otemachi, Chiyoda-ku, Tokyo             Inside Telegraph and Telephone Corporation (72) Toru Sadakata             2-3-1, Otemachi, Chiyoda-ku, Tokyo             Inside Telegraph and Telephone Corporation F-term (reference) 5B009 QB11

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 電子書籍のページ単位の削除,追加命令
がスクリプトで記述してある差分ファイルに基づいて電
子書籍を更新する書籍型データ差分追加更新方法におい
て,前記差分ファイルを読み込む過程と,該差分ファイ
ルに記述された更新対象の電子書籍を特定する過程と,
該特定された電子書籍のファイルを読み込む過程と,前
記電子書籍のページごとに,更新前のページ番号を仮の
ページ番号として管理するとともに,閲覧者が追加した
付箋とメモが付与されたページ番号を管理する過程と,
前記差分ファイルのスクリプトを実行し,ページの削除
と追加を行い,追加されたページに対して追加位置に基
づいて仮のページ番号を決めて管理する過程と,閲覧者
が追加した付箋とメモが付くページ番号を,仮のページ
番号に基づいて,できるだけ近いページ番号となるよう
に決める過程と,ページ番号をリセットし新しく振り直
して,更新後の電子書籍をファイルとして格納する過程
とを有することを特徴とする書籍型データ差分追加更新
方法。
1. A book-type data difference addition / update method for updating an electronic book based on a difference file in which an electronic book page deletion / addition command is described in a script, and a step of reading the difference file, The process of specifying the update target e-book described in the difference file,
The process of reading the file of the specified electronic book and managing the page number before update for each page of the electronic book as a temporary page number, and the page number with the sticky note and memo added by the viewer The process of managing
The process of executing the script of the difference file, deleting and adding pages, deciding and managing a temporary page number based on the added position for the added page, and the sticky note and memo added by the viewer Having a step of deciding the page number to be attached so that the page number is as close as possible based on the temporary page number, and a step of resetting the page number and re-assigning it, and storing the updated electronic book as a file A method for adding / updating a book-type data difference characterized by:
【請求項2】 電子書籍のページ単位の削除,追加命令
がスクリプトで記述してある差分ファイルに基づいて電
子書籍を更新する書籍型データ差分追加更新方法におい
て,電子書籍に対して更新指示を行うための差分ファイ
ルの適用順序が,更新番号と該更新番号に対応する差分
ファイルの格納場所で記載された更新指示情報を読み込
む過程と,該更新指示情報に記述された更新対象の電子
書籍を特定する過程と,該特定された電子書籍のファイ
ルを読み込む過程と,前記電子書籍のページごとに,更
新前のページ番号を仮のページ番号として管理するとと
もに,閲覧者が追加した付箋とメモが付与されたページ
番号を管理する過程と,該電子書籍の更新番号を読み出
し,差分ファイルの更新番号との比較から,適用が必要
な差分ファイルを決める過程と該差分ファイルを読み込
む過程と,読み込んだ差分ファイルのスクリプトを実行
し,ページの削除と追加を行い,追加されたページに対
して追加位置に基づいて仮のページ番号を決めて管理す
る過程と,閲覧者が追加した付箋とメモが付くページ番
号を,仮のページ番号に基づいて,できるだけ近いペー
ジ番号となるように決める過程と,ページ番号をリセッ
トし新しく振り直す過程と,次の差分ファイルの適用が
必要か否かを判断し,必要ならば差分ファイルの読み込
みから繰り返し,不要であれば電子書籍をファイルとし
て格納する過程とを有することを特徴とする書籍型デー
タ差分追加更新方法。
2. In a book-type data difference addition / update method for updating an electronic book based on a difference file in which an electronic book page deletion / addition command is described in a script, an update instruction is issued to the electronic book. The order of reading the update instruction information described in the update number and the storage location of the difference file corresponding to the update number is specified, and the electronic book to be updated described in the update instruction information is specified. And the step of reading the file of the specified electronic book, managing the page number before update as a temporary page number for each page of the electronic book, and adding a sticky note and memo added by the viewer. The difference file that needs to be applied is determined based on the process of managing the page numbers that have been created, reading the update number of the electronic book, and comparing with the update number of the difference file. And the process of reading the difference file, executing the script of the read difference file, deleting and adding pages, and determining and managing a temporary page number based on the addition position of the added page And the process of deciding the page number to which the sticky note and memo added by the viewer are based on the temporary page number so that the page number is as close as possible, the process of resetting the page number and reassigning it, Book-type data difference addition and update, characterized by determining whether or not the application of the difference file in step 1 is necessary, repeating the reading of the difference file if necessary, and storing the electronic book as a file if unnecessary Method.
【請求項3】 前記付箋とメモのページ番号を決める過
程において,メモに限り,更新前に付与されていたペー
ジ番号が,仮のページ番号になければ,中表紙に移す過
程を有することを特徴とする請求項1または請求項2記
載の書籍型データ差分追加更新方法。
3. In the process of determining the page numbers of the sticky note and the memo, only for the memo, if the page number given before the update is not a temporary page number, there is a step of moving it to the inside cover. The book-type data difference addition / update method according to claim 1 or 2.
【請求項4】 電子書籍のページ単位の削除,追加命令
がスクリプトで記述してある差分ファイルに基づいて電
子書籍を更新する書籍型データ差分追加更新装置におい
て,前記差分ファイルを読み込む手段と,該差分ファイ
ルに記述された更新対象の電子書籍を特定する手段と,
該特定された電子書籍のファイルを読み込む手段と,前
記電子書籍のページごとに,更新前のページ番号を仮の
ページ番号として管理するとともに,閲覧者が追加した
付箋とメモが付与されたページ番号を管理する手段と,
前記差分ファイルのスクリプトを実行し,ページの削除
と追加を行い,追加されたページに対して追加位置に基
づいて仮のページ番号を決めて管理する手段と,閲覧者
が追加した付箋とメモが付くページ番号を,仮のページ
番号に基づいて,できるだけ近いページ番号となるよう
に決める手段と,ページ番号をリセットし新しく振り直
して,更新後の電子書籍をファイルとして格納する手段
とを有することを特徴とする書籍型データ差分追加更新
装置。
4. A book-type data difference addition / updating apparatus for updating an electronic book based on a difference file in which an electronic book page-by-page deletion / addition command is written in a script, and means for reading the difference file; A means for specifying the electronic book to be updated described in the difference file,
A means for reading the file of the specified electronic book, and managing the page number before update for each page of the electronic book as a temporary page number, and a page number with a sticky note and memo added by the viewer Means for managing
The script of the difference file is executed, pages are deleted and added, a means for deciding and managing a temporary page number based on the addition position of the added page, and a sticky note and memo added by the viewer are provided. Having a means for determining the page number to be attached so that the page number is as close as possible based on the temporary page number, and a means for resetting the page number, reassigning it, and storing the updated electronic book as a file A book-type data difference adding / updating device characterized by:
【請求項5】 電子書籍のページ単位の削除,追加命令
がスクリプトで記述してある差分ファイルに基づいて電
子書籍を更新する書籍型データ差分追加更新装置におい
て,電子書籍に対して更新指示を行うための差分ファイ
ルの適用順序が,更新番号と該更新番号に対応する差分
ファイルの格納場所で記載された更新指示情報を読み込
む手段と,該更新指示情報に記述された更新対象の電子
書籍を特定する手段と,該特定された電子書籍のファイ
ルを読み込む手段と,前記電子書籍のページごとに,更
新前のページ番号を仮のページ番号として管理するとと
もに,閲覧者が追加した付箋とメモが付与されたページ
番号を管理する手段と,該電子書籍の更新番号を読み出
し,差分ファイルの更新番号との比較から,適用が必要
な差分ファイルを決める手段と該差分ファイルを読み込
む手段と,読み込んだ差分ファイルのスクリプトを実行
し,ページの削除と追加を行い,追加されたページに対
して追加位置に基づいて仮のページ番号を決めて管理す
る手段と,閲覧者が追加した付箋とメモが付くページ番
号を,仮のページ番号に基づいて,できるだけ近いペー
ジ番号となるように決める手段と,ページ番号をリセッ
トし新しく振り直す手段と,次の差分ファイルの適用が
必要か否かを判断し,必要ならば差分ファイルの読み込
みから繰り返し,不要であれば電子書籍をファイルとし
て格納する手段とを有することを特徴とする書籍型デー
タ差分追加更新装置。
5. A book-type data difference addition / updating device for updating an electronic book based on a difference file in which a deletion / addition instruction for each page of the electronic book is written in a script, and issues an update instruction to the electronic book. A means for reading the update instruction information described in the update number and the storage location of the difference file corresponding to the update number, and the electronic book to be updated described in the update instruction information Means, a means for reading the specified electronic book file, and a page number before update is managed as a temporary page number for each page of the electronic book, and a sticky note and a memo added by the viewer are added. Determine the difference file that needs to be applied by reading the update number of the electronic book and the means for managing the generated page number and comparing with the update number of the difference file. And a means for reading the difference file and a script for the read difference file to delete and add pages, and determine and manage a temporary page number based on the addition position of the added page To determine the page numbers to which the tags and memos added by the viewer are based on the temporary page numbers so that the page numbers are as close as possible to each other; Book-type data differential addition and update, characterized in that it has means for judging whether or not the application of the difference file is necessary, repeating from the reading of the difference file if necessary, and storing the electronic book as a file if unnecessary. apparatus.
【請求項6】 前記付箋とメモのページ番号を決める手
段において,メモに限り,更新前に付与されていたペー
ジ番号が,仮のページ番号になければ,中表紙に移す手
段を有することを特徴とする請求項4または請求項5記
載の書籍型データ差分追加更新装置。
6. The means for deciding the page numbers of the sticky note and the memo has means for moving the page number to the middle cover only for the memo if the page number given before the update is not a temporary page number. The book type data difference addition / update device according to claim 4 or claim 5.
【請求項7】 請求項1から請求項3までのいずれかに
記載の書籍型データ差分追加更新方法を実現するステッ
プを,コンピュータに実行させるためのプログラムを記
録したことを特徴とする書籍型データ差分追加更新プロ
グラムの記録媒体。
7. A book-type data recording a program for causing a computer to execute the steps for realizing the book-type data difference addition / update method according to any one of claims 1 to 3. Recording medium for differential addition and update programs.
【請求項8】 請求項1から請求項3までのいずれかに
記載の書籍型データ差分追加更新方法を実現するステッ
プを,コンピュータに実行させるための書籍型データ差
分追加更新プログラム。
8. A book-type data difference adding / updating program for causing a computer to execute the steps for realizing the book-type data difference adding / updating method according to any one of claims 1 to 3.
JP2001277734A 2001-09-13 2001-09-13 Book type data difference addition / update device, recording medium for the program, and program Expired - Lifetime JP3771826B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001277734A JP3771826B2 (en) 2001-09-13 2001-09-13 Book type data difference addition / update device, recording medium for the program, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001277734A JP3771826B2 (en) 2001-09-13 2001-09-13 Book type data difference addition / update device, recording medium for the program, and program

Publications (2)

Publication Number Publication Date
JP2003085162A true JP2003085162A (en) 2003-03-20
JP3771826B2 JP3771826B2 (en) 2006-04-26

Family

ID=19102212

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001277734A Expired - Lifetime JP3771826B2 (en) 2001-09-13 2001-09-13 Book type data difference addition / update device, recording medium for the program, and program

Country Status (1)

Country Link
JP (1) JP3771826B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100452024C (en) * 2006-07-06 2009-01-14 北京北大方正电子有限公司 Method for processing mixed editorial document and automatically adding page number information
JP2016526246A (en) * 2014-06-12 2016-09-01 小米科技有限責任公司Xiaomi Inc. User data update method, apparatus, program, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100452024C (en) * 2006-07-06 2009-01-14 北京北大方正电子有限公司 Method for processing mixed editorial document and automatically adding page number information
JP2016526246A (en) * 2014-06-12 2016-09-01 小米科技有限責任公司Xiaomi Inc. User data update method, apparatus, program, and recording medium

Also Published As

Publication number Publication date
JP3771826B2 (en) 2006-04-26

Similar Documents

Publication Publication Date Title
JP5075920B2 (en) Web data usage platform
US8074167B2 (en) Cross domain presence of web user interface and logic
EP1927922A1 (en) Data managing apparatus, data editing apparatus, data browsing apparatus, data managing method, data editing method, and data browsing method
KR20060048736A (en) Method, apparatus, and computer-readable medium for managing specific types of content in an electronic document
US20090106456A1 (en) Method and apparatus for interactions of web applications with the local host environment
JPWO2006051715A1 (en) Document processing apparatus and document processing method
CN103761218A (en) Method for annotating and commenting electronic document on computer
WO2019127864A1 (en) Electronic device, springmvc-based data interface and automatic description generation method therefor, and storage medium
KR102230729B1 (en) An online task system for an Excel file based on templates
CN110020356A (en) A kind of code generating method of page module, apparatus and system
JPWO2006051713A1 (en) Document processing apparatus and document processing method
CN109446199A (en) Cell data processing method and device
US20050183097A1 (en) Schema-based machine generated programming models
US8091016B2 (en) Visually manipulating instance collections
JPWO2006051716A1 (en) Document processing apparatus and document processing method
JPWO2006051712A1 (en) Document processing apparatus and document processing method
WO2005098661A1 (en) Document processing device and document processing method
CN116400914A (en) Method for quickly constructing web application based on data model
CN116384347A (en) Rich text editing method
JP2003085162A (en) Book type data difference adding updating method, its device, recording medium of its program and its program
US11663199B1 (en) Application development based on stored data
KR20150099318A (en) A recording media recognized by computer for providing an application developing environment program
JPWO2006051717A1 (en) Document processing apparatus and document processing method
US20030154462A1 (en) Software maintenance material generation apparatus and generation program therefor
JPWO2006051714A1 (en) Document processing apparatus and document processing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060116

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060116

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060207

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060210

R150 Certificate of patent or registration of utility model

Ref document number: 3771826

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D02

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090217

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100217

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110217

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110217

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120217

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130217

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term