JP3771826B2 - Book type data difference addition / update device, recording medium for the program, and program - Google Patents

Book type data difference addition / update device, recording medium for the program, and program Download PDF

Info

Publication number
JP3771826B2
JP3771826B2 JP2001277734A JP2001277734A JP3771826B2 JP 3771826 B2 JP3771826 B2 JP 3771826B2 JP 2001277734 A JP2001277734 A JP 2001277734A JP 2001277734 A JP2001277734 A JP 2001277734A JP 3771826 B2 JP3771826 B2 JP 3771826B2
Authority
JP
Japan
Prior art keywords
update
page
book
file
difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2001277734A
Other languages
Japanese (ja)
Other versions
JP2003085162A (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.)
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

Images

Landscapes

  • Document Processing Apparatus (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は,ネットワークを利用して電子的な書籍などの情報を表示するシステムにおいて,最新の情報に更新するなど,二つの書籍などの情報間の差分情報に基づいて,既に存在する情報を,当該差分情報によって追加もしくは更新することができるシステムを構築するための書籍型データ差分追加更新装置に関するものである。
【0002】
【従来の技術】
従来,二つの情報間の差分情報に基づいて,既に存在する元の情報を,当該差分情報によって追加もしくは更新するために,二つの情報を比較した結果である差分情報を,次のような形式で記述していた。
(1)内容が変化していない部分では,その部分の先頭からの位置(バイト数など)と,範囲(バイト数など)〔内容が変化している部分以外と定義される場合も多い〕。
(2)内容が変化している部分は,その部分の先頭からの位置(バイト数など)と,範囲(バイト数など),および変化後の内容〔例えば「先頭から20バイト目から10バイトを『00 01 23 52』の4バイトに置き換える」など〕。
(3)内容が追加されている部分は,その部分の先頭からの位置(バイト数など),および追加内容〔例えば「先頭から30バイト目に『01 20 11』の3バイトを追加する」など(内容が変化している部分で,範囲が0バイトと定義することもできる)〕。
【0003】
そして,差分情報を適用する際に,以上の記述をもとに,次のような追加更新処理を行っていた。
(1)内容が変化していない部分では,元の内容をそのままコピーする。
(2)内容が変化している部分は,差分情報に含まれる先頭からの位置(バイト数など)と,範囲(バイト数など)によって特定される部分を削除し,変化後の内容を削除した部分に挿入する〔例えば先の例では,「先頭から20バイト目から10バイト削除し,先頭から20バイト目から4バイトを『00 01 2352』として挿入する」など〕。
(3)内容が追加されている部分は,差分情報に含まれる先頭からの位置(バイト数など)に,追加内容を挿入する〔例えば先の例では,「先頭から30バイト目に『01 20 11』の3バイトを挿入する」など〕。
【0004】
以上の処理を差分情報が終了するまで操り返す。
【0005】
【発明が解決しようとする課題】
従来の技術を用いた場合,差分情報の記述は,必ずしも書籍などの情報に適してはおらず,特に閲覧利用者の追加したメモや付箋など,書籍などの情報の一部やページに関連付けられた情報は,失われたり,元の書籍などの情報と同じ位置に復元されるが更新後のページの内容は前後に移動していたりするなど,閲覧利用者の期待する結果にならないことがあった。
【0006】
本発明の目的は,コンピュータ画面上に紙の本を模して,表紙・中表紙・本文ページ・裏表紙などの物理的な本の構造を持ったインタフェースで書籍などの情報を表示し,各ページにメモや付箋など閲覧利用者の追加した情報が存在する場合に,その閲覧利用者の追加したメモや付箋などの情報を,なるべく位置も含めて,保存することができる書籍型データ差分追加更新装置を提供することである。
【0007】
【課題を解決するための手段】
上記課題を解決するため,本発明では,更新前のページ番号を記憶しておき,更新後もなるべく近くのページ番号に付与されるように,付箋やメモのページ番号を決める。一般に,メモは本文に直接関連して付随していることが多く,付箋はページ全体としての構造に付随していることが多いと考えられる。そのため,メモの場合には,そのページがなくなってしまった際に,そのページ付近に移動させるメリットが少なく,逆に付箋は,その付近に関連する記述が存在するかもしれず,また,貼られる位置も本文とは遠い余白(マージン)の部分に貼られることが多いため,メモを中表紙に移す。
【0008】
具体的には,本発明では,電子書籍のページ単位の削除,追加命令がスクリプトで記述してある差分ファイルを読み込んで内部形式に変換し,差分ファイルに記述された更新対象の電子書籍を特定する。次に,その特定された電子書籍のファイルを読み込んで内部形式に変換し格納する。電子書籍のページごとに,更新前のページ番号を仮のページ番号として管理するとともに,閲覧者が追加した付箋とメモが付与されたページ番号を管理する。差分ファイルのスクリプトを実行することにより必要なページの削除と追加を行い,追加されたページに対して追加位置に基づいて仮のページ番号を決めて管理する。閲覧者が追加した付箋とメモが付くページ番号は,仮のページ番号に基づいて,できるだけ近いページ番号となるように決める。最後にページ番号をリセットし新しく振り直して,更新後の電子書籍をファイルとして格納する。ここで,ページ番号等を管理するとは,ページ番号等の情報を記憶・保存し,必要なときに参照できるような状態にしておくことをいう。
【0009】
また,第二の発明では,電子書籍の更新指示ファイル(更新指示を行うための差分ファイルの適用順序が,更新番号と該更新番号に対応する差分ファイルの格納場所で記載されたもの)を読み込んで内部形式に変換する。その更新指示ファイルに記述された更新対象の電子書籍を特定し,その特定された電子書籍のファイルを読み込んで内部形式に変換し格納する。次に,電子書籍のページごとに,更新前のページ番号を仮のページ番号として管理するとともに,閲覧者が追加した付箋とメモが付与されたページ番号を管理する。その電子書籍の更新番号を読み出し,差分ファイルの更新番号との比較から,適用が必要な差分ファイルを決める。決めた差分ファイルを読み込んで内部形式に変換し,差分ファイルのスクリプトを実行することによりページの削除と追加を行い,追加されたページに対して追加位置に基づいて仮のページ番号を決めて管理する。また,閲覧者が追加した付箋とメモが付くページ番号を,仮のページ番号に基づいてできるだけ近いページ番号となるように決める。その後,ページ番号をリセットして新しく振り直す。次の差分ファイルの適用が必要か否かを判断し,必要ならば差分ファイルの読み込みから同様に処理を繰り返し,不要であれば電子書籍をファイルとして格納する。
【0010】
以上の付箋とメモのページ番号を決める過程では,メモに限り,更新前に付与されていたページ番号が,仮のページ番号になければ,中表紙に移すことにより,メモを適切に保存することができる。
【0011】
以上の手段は,コンピュータと,そのコンピュータにインストールされ実行されるソフトウェアプログラムとによって実現することができ,そのプログラムは,コンピュータが読み取り可能な可搬媒体メモリ,半導体メモリ,ハードディスク等の適当な記録媒体に格納することができる。
【0012】
【発明の実施の形態】
以下,本発明の一実施形態について,図面を用いて説明する。図1は,本発明の一実施形態に係る書籍型データ差分追加更新装置のシステム構成を表すブロック図である。
【0013】
図1に示すシステムは,スクリプト解析部2,スクリプト制御部3,書籍データ読込部5,書籍オブジェクト管理部6,オブジェクト格納部7,書籍データ書込部8,通信部9,表示制御部10,表示部11から構成され,書籍などの情報の差分情報を記述したファイルである差分ファイル1を入力とし,計算機のローカルの蓄積部に格納された書籍データ4を読み込んだり,書き込んだりする。
【0014】
図2は,図1に示したシステムにおける差分ファイル1の記述法の例を説明する図である。図2(A)の上側が更新元の書籍などの情報,下側が更新後の書籍などの情報を表している。各四角形は,書籍などの情報中のページを表しており,更新元の書籍などの情報には,1〜9までのページが存在している。更新後の書籍などの情報には,更新元の書籍などの情報で1,5,8,9ページであったのと同じ内容が存在しており,更新元の書籍などの情報で6,7ページであった内容を更新した内容N3 ,N4 が存在している。
【0015】
図2(B)における差分ファイル1は,更新元の書籍などの情報から,更新後の書籍などの情報を作成するためのスクリプトを表しており,更新元情報と更新後情報との対応関係から,
▲1▼更新元情報の2〜4,6,7ページを削除する,
▲2▼次に3ページ目に新しいページN3 を挿入する,
▲3▼次に4ページ目に新しいページN4 を挿入する,
といった処理を実行することを示すスクリプトとなっている。
【0016】
差分ファイル1のうち,「書籍ID」は,更新元の書籍などの情報を特定する情報であり,例えば電子書籍名や,差分追加更新処理を通じて変化しないID文字列や,差分追加更新対象となる元の書籍データ4のURL(Uniform Resource Locator),当該差分追加更新を特定する番号「更新番号」などとする。
【0017】
図3は,図1に示したシステムで,図2に示した差分ファイル1の記述がどのように処理されるかの例を示している。また,図4は,図1に示したシステムにおける図3のような処理のためのフローチャートである。
【0018】
本システムは,実行時,スクリプト解析部2によって差分ファイル1を読み込む。スクリプト解析部2では,計算機可読形式(例えば,XMLで記述された)文書である差分ファイル1を読み込んで内部形式に変換し,スクリプト制御部3へ渡す(ステップS1)。スクリプト制御部3は,差分ファイル1の内部形式に従って,差分追加更新処理を実行する。書籍オブジェクト管理部6は,スクリプト制御部3から受けた要求をもとに,書籍データ読込部5,オブジェクト格納部7,書籍データ書込部8,通信部9,表示制御部10を用いて差分追加更新処理および表示部11への書籍などの情報の表示を行う。
【0019】
スクリプト制御部3では,差分ファイル1の内部形式に従って,まず,更新元の書籍などの情報を特定する情報を書籍オブジェクト管理部6へ渡す。書籍オブジェクト管理部6では,該更新元の書籍などの情報を特定する情報を書籍データ読込部5に渡し,書籍データ読込部5では該更新元の書籍などの情報を特定する情報を用いて,計算機の永続記憶領域に存在する書籍データ4を特定して(ステップS2),内部形式に変換する。
【0020】
書籍データ読込部5で内部形式に変換された書籍データは,書籍オブジェクト管理部6に渡され,書籍オブジェクト管理部6では,該書籍データの内部形式をオブジェクト格納部7に格納する(ステップS3)。この際,該書籍データの内部形式に付随するメモや付箋などの閲覧利用者の追加した情報も同時に格納される。図3の上部に示す「元情報」は,ここで格納される情報の例であり,この例では元情報の2ページ目に付箋20,メモ22,6ページ目にメモ23,8ページ目に付箋21が追加されている。
【0021】
次に,スクリプト制御部3では,差分ファイル1の内部形式に従って,「▲1▼2〜4,6,7ページを削除」の指示を書籍オブジェクト管理部6へ渡す。書籍オブジェクト管理部6では,オブジェクト格納部7に格納されている書籍データの内部形式の2〜4,6,7ページを削除する(ステップS4)。この際,各ページが更新元の書籍などの情報内で何ページ目であったかという元ページ番号を記憶しておく。これで,オブジェクト格納部7に格納されている書籍データ内部形式の元ページ番号は,1,5,8,9ページとなる。
【0022】
同様に,スクリプト制御部3では,差分ファイル1の内部形式に従って,「▲2▼3ページ目に新しいページN3 を挿入」の指示と,新しいページN3 の内容を書籍オブジェクト管理部6へ渡す。書籍オブジェクト管理部6では,オブジェクト格納部7に格納されている書籍データの内部形式の3ページ目に新しいページN3 の内容を挿入する(ステップS4)。挿入の際には,挿入位置の直前ページの「元ページ番号」+1を挿入した新しいページの元ページ番号として採用する。これで,オブジェクト格納部7に格納されている書籍データ内部形式の元ページ番号は,1,5,6(N3 ),8,9ページとなる。
【0023】
「▲3▼4ページ目に新しいページN4 を挿入」の指示に関しても同様で,適用後,オブジェクト格納部7に格納されている書籍データ内部形式の元ページ番号は,1,5,6(N3 ),7(N4 ),8,9ページとなる。
【0024】
ここで,例えば,「▲4▼5ページ目に新しいページN5 を挿入」や「▲5▼1ページ目に新しいページN1 を挿入」など,「元ページ番号」として記憶しているページ番号と重複するような指示があった場合には,ページ番号「N」とする。▲4▼および▲5▼の例を適用した場合には,オブジェクト格納部7に格納されている書籍データ内部形式の元ページ番号は,N(N1 ),1,5,6(N3 ),7(N4 ),N(N5 ),8,9ページとなる。
【0025】
上記した元ページ番号付与の考え方は,一般に入れ換えの単位は章・節などの区切りが考慮されることが多く,例えば,この例では6,8ページは一つの単位(章や節)で,更新後のページ数が減ったなら,まとまった単位としてのページ数が減少したと考えられ,増えたのなら,まとまった単位としてのページ数が増加したと考えられることに基づいている。別の考え方による元ページ番号付与方法としては,純粋に量だけで判断して,空となっているページの間で比例配分させる(整数とは限らない)ことが考えられる。これは,例えば2〜8ページが削除されて,一つのページが追加された場合,オブジェクト格納部7に格納されている書籍データ内部形式の元ページ番号は,1,5,9ページとなる(前記した元ページ番号付与の考え方の場合には,1,2,9ページとなる)。
【0026】
さて,スクリプト制御部3で処理すべき差分ファイル1の内部形式が終了したら,書籍オブジェクト管理部6へ終了を告げる。書籍オブジェクト管理部6では,オブジェクト格納部7に格納されている書籍データの内部形式の元ページ番号に基づき,該書籍データの内部形式に付随するメモや付箋などの閲覧利用者の追加した情報を復元する(ステップS5)。このとき,消えてしまった元ページ番号に付随していたメモは中表紙(中付け)に移動され,付箋は最も近い元ページ番号を持つページに移動される。
【0027】
図3の下部に示す「後情報」は,ここで復元,格納される情報の例であり,この例では,後情報の3ページ目に元ページ番号6に付随していたメモ23が,5ページ目に元ページ番号8に付随していた付箋21が復元,格納される。また,元ページ番号2に付随していた付箋20,メモ22については,元ページ番号2のページが消えてしまったので,1ページ目に付箋20が復元,格納され,メモ22は中表紙に移動されている。ここで,中表紙とは,一般に「見返し」「遊び紙」と呼ばれる,本の表紙をめくった最初にある若干色が違ったり,本の本紙と表紙とを貼り付けている紙の一方であったりするページ(紙)のことである。場合によっては「前付け」の一種と考えられることもある。
【0028】
閲覧利用者の追加した情報が復元されたら,書籍オブジェクト管理部6では,新規にページ番号を振り直し(ステップS6),オブジェクト格納部7に格納されている書籍データの内部形式を,当初渡された更新元の書籍などの情報を特定する情報と共に,書籍データ書込部8に渡し,書籍データ書込部8では該更新元の書籍などの情報を特定する情報を用いて,計算機の永続記憶領域に存在する書籍データ4を特定し,書籍オブジェクト管理部6から渡された書籍データの内部形式からファイル形式に変換し,書籍データ4に書き込む(ステップS7)。この際,該書籍データの内部形式に付随するメモや付箋などの閲覧利用者の追加した情報も同時に書き込まれる。
【0029】
最後に,書籍オブジェクト管理部6では,オブジェクト格納部7に格納されている書籍データの内部形式を,表示制御部10に渡し,表示制御部10では,表示部11へ当該書籍データの内部形式に基づいた描画を行い,差分追加更新処理後の書籍などの情報の表示を行う。
【0030】
次に,本発明の第二の実施形態について,図面を用いて説明する。
【0031】
差分ファイル1に記述された更新元の書籍などの情報を特定する情報としては,書籍データ4そのものを特定する情報だけではなく,差分追加更新処理を通じて変化しないIDや,差分追加更新対象となる元の書籍データ4のURL(Uniform Resource Locator),当該差分追加更新を特定する番号「更新番号」も記述できることとする。書籍データ4には,そのファイルがどの更新によって作成されたかを特定できる番号「更新番号」を格納することができ,差分ファイル1に,「以前の更新情報」を記述することで,遡って差分追加更新処理を行うことができる。
【0032】
図5は,本発明の第二の実施形態に係る書籍型データ差分追加更新装置のシステムにおける差分ファイル1の記述法の例を示している。
【0033】
本実施形態で考えている差分追加更新モデルでは,差分は必ず一つ前の情報に対して定義することとするため,当該差分追加更新を特定する番号「更新番号」によって,自動的に更新の対象はそれ以前のものとわかる。この例では,当該差分追加更新を特定する番号「更新番号」は「8」なので,当該差分ファイルを用いた後の書籍データ4の更新番号は「8」とわかる。自動的に,更新の対象はそれ以前のものとわかるので,更新番号無しか,更新番号が1〜7のものに限られることになる。書籍データ4に格納されている更新番号が「2」であった場合,この書籍データ4に差分追加更新処理が適用される。
【0034】
さて,毎回,きちんと差分更新をしていれば,そのままで問題ないが,本発明の第二の実施形態では,毎回きちんと差分更新をしていない状況にあっても,当該差分ファイルに「以前の更新情報」を記述することによって,外部に更新番号を管理するシステムを必要とすることなく,自律的に以前の更新情報を管理することができるシステムを構築することができる。以下の説明では,差分ファイル1の格納先を表す一つの手段として,URLを用いたとして説明する。
【0035】
差分ファイル1に記述された「以前の更新情報」には,その更新で行われた更新番号(「no属性」と呼ぶ),その更新で使われた差分ファイルのURLを記述することができる。差分ファイルは,更新番号の順に適用する。例えば,当該差分ファイル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を作成できることを示している。
【0036】
ここで,更新元の書籍など更新対象を特定する情報「書籍ID」や,当該差分追加更新を特定する番号「更新番号」,「以前の更新情報」の記述は,通常,差分ファイル1の中に記述されるが,差分ファイル1とは別のファイルとして扱うことができ,説明のためには別のファイルとした方がわかりやすいため,「更新指示ファイル」と呼ぶこととする。
【0037】
図6は,本発明の第二の実施形態に係る書籍型データ差分追加更新装置のシステムにおける処理の流れを示したフローチャートである。
【0038】
基本的には,「更新指示ファイル」を用いて,必要な差分ファイルを特定し,図4に示した差分追加更新処理の流れによって差分を適用することを操り返すことで,処理が実行される。
【0039】
まず,ステップS21として,更新指示ファイル30を解析し,内部形式に変換する。更新指示ファイル30は,図5に示したように,差分ファイル1と同一のファイル中に記述されていることもある。
【0040】
次に,ステップS22として,更新指示ファイル30の内部形式に含まれる書籍IDをもとに,現存する書籍データ4を特定する。
【0041】
その後,ステップS3として,図4と同様に,ステップS22で特定された書籍データ4を読み込んで内部形式に変換し,オブジェクト格納部7に格納する。この際,利用者が追加したメモや付箋などのデータも読み込んで格納する。
【0042】
次に,ステップS23として,当該書籍データ4に格納されている「更新番号」を取得し,更新指示ファイル30内の「更新番号」と比較する。もし,当該書籍データ4に格納されている「更新番号」の方が大きければ,差分の適用は行わないが,更新指示ファイル30内の「更新番号」の方が大きければ,更新指示ファイル30内の「以前の更新情報」を参照し,当該書籍データ4の「更新番号」より大きいno属性を持つエントリーを特定し,その中でも最も小さいno属性のエントリーに書かれた差分ファイルを取得する。差分ファイル取得の際,該当エントリーにURLが記載されていた場合には,通信部9を用いてインターネットから当該ファイルを取得する。
【0043】
ステップS23で得られた差分ファイルに対して,図4と同様に,ステップS1,S4,S5,S6を適用して,該当no属性の差分追加更新を実行する。
【0044】
該当no属性の差分追加更新が実行されたら,ステップS24として,当該書籍データ4の「更新番号」を該当no属性の値に更新し,更新指示ファイル30内の「以前の更新情報」の中に,当該書籍データ4の「更新番号」より大きいno属性を持つエントリーが存在するかどうか判定する。判定の結果,当該書籍データ4の「更新番号」より大きいno属性を持つエントリーが存在すればステップS23に分岐し,存在しなければステップS7に分岐する。
【0045】
ステップS7では,図4と同様に,オブジェクト格納部7に格納されている書籍データの内部形式を,書籍データ4に書き込む。この際,該書籍データの内部形式に付随するメモや付箋などの閲覧利用者の追加した情報も同時に書き込まれる。
【0046】
以上のようにして,コンピュータ画面上に紙の本を模して,表紙・中表紙・本文ページ・裏表紙などの物理的な本の構造を持ったインタフェースで書籍などの情報を表示し,各ページにメモや付箋など閲覧利用者の追加した情報が存在する場合に,当該閲覧利用者の追加したメモや付箋などの情報を,なるべく位置も含めて,保存しつつ,二つの書籍などの情報間の差分情報に基づいて,既に存在する元の情報を,当該差分情報によって追加もしくは更新することができる。
【0047】
【発明の効果】
以上説明したように,本発明に係る書籍型データ差分追加更新装置を用いることで,コンピュータ画面上に紙の本を模して,表紙・中表紙・本文ページ・裏表紙などの物理的な本の構造を持ったインタフェースで書籍などの情報を表示し,各ページにメモや付箋など閲覧利用者の追加した情報が存在する場合に,二つの書籍などの情報間の差分情報に基づいて,既に存在する元の情報を,当該差分情報によって追加もしくは更新することで,ネットワーク上でやり取りするデータのサイズを小さくしつつ,当該閲覧利用者の追加したメモや付箋などの情報を,なるべく位置も含めて保存することが可能となるという効果がある。
【図面の簡単な説明】
【図1】本発明の一実施形態に係る書籍型データ差分追加更新装置のシステム構成を表すブロック図である。
【図2】図1に示したシステムにおける差分ファイルの記述法の例を示す図である。
【図3】図2に示した差分ファイルの記述がどのように処理されるかを示した図である。
【図4】本発明の一実施形態に係る書籍型データ差分追加更新装置の処理フローチャートである。
【図5】本発明の第二の実施形態に係る書籍型データ差分追加更新装置のシステムにおける差分ファイルの記述法の例を示す図である。
【図6】本発明の第二の実施形態に係る書籍型データ差分追加更新装置の処理フローチャートである。
【符号の説明】
1 差分ファイル
2 スクリプト解析部
3 スクリプト制御部
4 書籍データ
5 書籍データ読込部
6 書籍オブジェクト管理部
7 オブジェクト格納部
8 書籍データ書込部
9 通信部
10 表示制御部
11 表示部
[0001]
BACKGROUND OF THE INVENTION
The present invention uses a network to display information such as an electronic book, and updates existing information based on difference information between information such as two books, such as updating to the latest information. it relates book type data difference add further refurbished location to build a system that can be added or updated by the difference information.
[0002]
[Prior art]
Conventionally, based on the difference information between two pieces of information, in order to add or update the original information that already exists with the difference information, the difference information that is the result of comparing the two pieces of information is in the following format: It was described in.
(1) In the part where the content has not changed, the position (number of bytes, etc.) from the beginning of the part and the range (number of bytes, etc.) (often defined as other than the part where the content has changed).
(2) The part where the content has changed is the position (number of bytes, etc.), range (number of bytes, etc.) from the beginning of the part, and the content after the change [for example, “10 bytes from the 20th byte from the beginning. “Replace with 4 bytes of“ 00 01 23 52 ””).
(3) The part to which the content is added is the position from the top of the part (number of bytes, etc.) and the additional content [for example, “add 3 bytes of“ 01 20 11 ”to the 30th byte from the top”, etc. (You can also define the range to be 0 bytes where the content is changing)].
[0003]
Then, when applying the difference information, the following additional update processing is performed based on the above description.
(1) In the part where the content has not changed, the original content is copied as it is.
(2) For the part where the contents have changed, the part specified by the position (number of bytes, etc.) from the beginning and the range (number of bytes, etc.) included in the difference information was deleted, and the changed contents were deleted [For example, in the above example, “10 bytes from the 20th byte are deleted, and 4 bytes from the 20th byte are inserted as“ 00 01 2352 ””]
(3) For the part to which the content is added, the additional content is inserted at the position (number of bytes, etc.) from the beginning included in the difference information [for example, in the above example, “01 20 at the 30th byte from the beginning. 11 ”is inserted”.
[0004]
The above processing is repeated until the difference information is completed.
[0005]
[Problems to be solved by the invention]
When using the conventional technology, the description of difference information is not necessarily suitable for information such as books, and is associated with a part of information such as books and pages such as notes and sticky notes added by browsing users. Information may be lost or restored to the same position as the original book information, but the content of the updated page may be moved back and forth, and the results may not be as expected by the browsing user. .
[0006]
An object of the present invention is to display information such as a book on an interface having a physical book structure such as a cover, middle cover, body page, and back cover, imitating a paper book on a computer screen. Adds book-type data difference that can save information such as notes and sticky notes added by the browsing user, including the position if possible, when information added by the browsing user such as notes and sticky notes exists on the page to provide a further newly renovated location.
[0007]
[Means for Solving the Problems]
In order to solve the above problems, in the present invention, page numbers before updating are stored, and page numbers of sticky notes and memos are determined so as to be assigned to page numbers 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, there is little merit of moving to the vicinity of the page when the page disappears, and conversely, there may be a description related to the vicinity of the sticky note, and the position where it is pasted Are often pasted in margins that are far from the text, so move the memo to the inside cover.
[0008]
Specifically, in the present invention, a page-by-page deletion / addition instruction of an electronic book is read and converted into an internal format, and an electronic book to be updated described in the difference file is specified. To do. 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 added is 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 added position. The page numbers to which stickers and memos added by the viewer are attached are determined based on the temporary page numbers so that they are as close as possible. Finally, the page number is reset and newly 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 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 file for performing the update instruction is described in the update number and the storage location of the difference file corresponding to the update number) is read. To convert to internal format. An electronic book to be updated described in the update instruction file is specified, the specified electronic book file is read, converted into an internal format, and stored. Next, 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 assigned is managed. The update number of the electronic book is read out, and a difference file that needs to be applied is determined from comparison with the update number of the difference file. The determined difference file is read and converted into an internal format, the page is deleted and added by executing the difference file script, and a temporary page number is determined for the added page based on the added position and managed. To do. In addition, the page numbers to which stickers and memos added by the viewer are attached are determined so as to be as close as possible based on the temporary page numbers. Then reset the page number and reassign it. It is determined whether or not it is necessary to apply the next difference file. If necessary, the same process is repeated from reading the difference file, and if not necessary, the electronic book is stored as a file.
[0010]
In the process of determining page numbers for sticky notes and memos as described above, for memos only, if the page number assigned before the update is not a temporary page number, the memo is properly stored by moving it to the middle cover. Can do.
[0011]
The above means can be realized by a computer and a software program that is installed and executed on the computer, and the program is a computer-readable portable medium memory, semiconductor memory, hard disk, or other suitable recording medium. Can be stored.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described 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 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, a display control unit 10, A difference file 1, which is composed of a display unit 11 and describes difference information of information such as books, is input, and book data 4 stored in a local storage unit of the computer is read or written.
[0014]
FIG. 2 is a diagram for explaining an example of the description method of the difference file 1 in the system shown in FIG. The upper side of FIG. 2A represents information such as the update source book, and the lower side represents information such as the updated book. Each square represents a page in information such as a book, and the information of the update source book includes pages 1 to 9. The information such as the updated book has the same contents as the information of the update source book such as 1, 5, 8, and 9 pages. There are contents N 3 and N 4 obtained by updating the contents of the page.
[0015]
The difference file 1 in FIG. 2B represents a script for creating information such as an updated book from information such as an update source book. From the correspondence between the update source information and the updated information, ,
(1) Delete pages 2, 4, 6, and 7 of the update source information.
(2) Next, insert a new page N 3 on the third page.
(3) Next, insert a new page N 4 on the fourth page.
It is a script indicating that such processing is executed.
[0016]
In the difference file 1, “book ID” is information for specifying information such as an update source book, for example, an electronic book name, an ID character string that does not change through the difference addition update process, and a difference addition update target. The URL (Uniform Resource Locator) of the original book data 4 and the number “update number” for specifying the difference addition update are used.
[0017]
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. FIG. 4 is a flowchart for the process shown in FIG. 3 in the system shown in FIG.
[0018]
The system reads the difference file 1 by the script analysis unit 2 at the time of execution. The script analysis unit 2 reads the difference file 1 which is a computer readable document (for example, written 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. 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 based on the request received from the script control unit 3. Additional update processing and display of information such as books on the display unit 11 are performed.
[0019]
In the script control unit 3, first, according to the internal format of the difference file 1, information specifying information such as an update source book is passed to the book object management unit 6. The book object management unit 6 passes information for specifying information such as the update source book to the book data reading unit 5, and the book data reading unit 5 uses the information for specifying 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 an internal format.
[0020]
The book data converted into the internal format by the book data reading unit 5 is transferred to the book object management unit 6, and the book object management unit 6 stores the internal format of the book data in the object storage unit 7 (step S3). . At this time, information added by the browsing user such as a memo or a tag attached to the internal format of the book data is also stored at the same time. The “original information” shown at the top of FIG. 3 is an example of information stored here. In this example, the second page of the original information has a tag 20, a memo 22, a sixth page, a memo 23, and an eighth page. A sticky note 21 is added.
[0021]
Next, in accordance with the internal format of the difference file 1, the script control unit 3 gives an instruction “Delete 1 page 2 to 4, 6, 7” to the book object management unit 6. The book object management unit 6 deletes pages 2, 4, 6, and 7 in the internal format of the book data stored in the object storage unit 7 (step S4). At this time, the original page number indicating the page number in the information such as the update source book is stored. Thus, 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]
Similarly, the script control unit 3, according to the internal format of the difference file 1, instructions and the "▲ 2 ▼ 3 page to insert a new page N 3", and passes the contents of the new page N 3 to book the object management unit 6 . The book object management unit 6 inserts the contents of the new page N 3 into the third page of the internal format of the book data stored in the object storage unit 7 (step S4). At the time of insertion, “original page number” +1 of the page immediately before the insertion position is adopted as the original page number of the new page inserted. Thus, the original page numbers of the book data internal format stored in the object storage unit 7 are 1, 5, 6 (N 3 ), 8, 9 pages.
[0023]
The same applies to the instruction “( 3 ) Insert new page N 4 on the fourth page”. After application, the original page number of the book data internal format stored in the object storage unit 7 is 1, 5, 6 ( N 3 ), 7 (N 4 ), 8 and 9 pages.
[0024]
Here, for example, such as "▲ 4 ▼ 5 insert a new page N 5 on page" and "▲ 5 ▼ 1 page to insert a new page N 1", the page number that is stored as the "original page number" If there is an instruction that overlaps with the page number, the page number is “N”. When the examples ( 4 ) and (5) are applied, the original page numbers of the book data internal format stored in the object storage unit 7 are N (N 1 ), 1, 5, 6 (N 3 ). , 7 (N 4 ), N (N 5 ), 8, 9 pages.
[0025]
In the above-mentioned concept of assigning original page numbers, in general, the replacement unit often takes into account the division of chapters and sections. For example, in this example, pages 6 and 8 are updated in one unit (chapter or section). If the number of subsequent pages decreases, the number of pages as a collective unit is considered to have decreased, and if it has increased, the number of pages as a collective unit is considered to have increased. As another method of assigning original page numbers based on another concept, it is conceivable to purely judge only by the amount and to distribute proportionately between empty pages (not necessarily an integer). For example, when 2 to 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 ( In the case of the above-mentioned idea of assigning original page numbers, it is 1, 2, 9 pages).
[0026]
When the internal format of the difference file 1 to be processed by the script control unit 3 is finished, the book object management unit 6 is informed of the end. Based on the original page number in the internal format of the book data stored in the object storage unit 7, the book object management unit 6 stores information added by the browsing user such as a memo or a tag attached to the internal format of the book data. Restoration is performed (step S5). At this time, the memo attached to the original page number that has disappeared is moved to the middle cover (intermediate), and the tag is moved to the page having the closest original page number.
[0027]
The “following 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 is 5 on the third page of the following information. The sticky note 21 attached to the original page number 8 on the page is restored and stored. Further, for the sticky note 20 and the memo 22 attached to the original page number 2, since the page of the original page number 2 has disappeared, the sticky note 20 is restored and stored on the first page, and the memo 22 is displayed on the inner cover. Has been moved. Here, the middle cover is one of the papers that are generally called “look-back” and “play paper”, which have a slightly different color at the beginning of the book cover, or that are attached to the book cover. It is a page (paper). In some cases, it may be considered a kind of “front matter”.
[0028]
When the information added by the browsing user is restored, the book object management unit 6 newly reassigns the page number (step S6), and the internal format of the book data stored in the object storage unit 7 is initially transferred. Along with the information specifying the information such as the update source book, the information is passed to the book data writing unit 8, and the book data writing unit 8 uses the information specifying the information such as the update source book to store the computer permanently. The book data 4 existing in the area is specified, the book data transferred from the book object management unit 6 is converted from the internal format to the file format, and written into the book data 4 (step S7). At this time, information added by the browsing user such as a memo and a tag attached to the internal format of the book data is simultaneously written.
[0029]
Finally, the book object management unit 6 passes the internal format of the book data stored in the object storage unit 7 to the display control unit 10, and the display control unit 10 converts the internal format of the book data to the display unit 11. Based on the drawing, information such as books after the difference addition / update process is displayed.
[0030]
Next, a second embodiment of the present invention will be described with reference to the drawings.
[0031]
The information for specifying information such as the book of the update source described in the difference file 1 is not only information for specifying the book data 4 itself, but also an ID that does not change through the difference addition update process, and the source that is the target of the difference addition update. The URL (Uniform Resource Locator) of the book data 4 and the number “update number” for specifying the difference addition update can be described. In the book data 4, a number “update number” that can identify which update the file was created by can be stored. By writing “previous update information” in the difference file 1, the difference can be retroactively stored. Additional update processing can be performed.
[0032]
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 device according to the second embodiment of the present invention.
[0033]
In the incremental difference update model considered in this embodiment, the difference is always defined for the previous information. Therefore, the update number is automatically specified according to the number “update number” that identifies the incremental difference update. The subject is known to be earlier. In this example, since the number “update number” specifying the difference addition update is “8”, the update number of the book data 4 after using the difference file is known as “8”. Since the update target is automatically recognized as the previous one, there is no update number or the update number is limited to 1-7. When the update number stored in the book data 4 is “2”, the difference addition update process is applied to the book data 4.
[0034]
Now, if the difference is updated properly every time, there is no problem as it is. However, in the second embodiment of the present invention, even if there is a situation where the difference is not updated every time, the “previous file” By describing "update information", it is possible to construct a system that can autonomously manage previous update information without requiring an external system for managing update numbers. In the following description, it is assumed that a URL is used as one means for indicating the storage location of the difference file 1.
[0035]
In “previous update information” described in the difference file 1, an update number (referred to as “no attribute”) performed in the update and a URL of the difference file used in the update can be described. The difference files are applied in the order of update numbers. For example, the value “8” of the “update number” is stored in the difference file 1 and the value “2” of the “update number” is stored in the book data 4, and the “previous update information” included in the difference file 1 is stored. The no attribute is 1, 2, 4, 7, and the URL of the corresponding difference file is “http: //Server/bookA/1.diff”,
“Http: //Server/bookA/2.diff”,
“Http: //Server/bookA/4.diff”,
“Http: //Server/bookA/7.diff”,
In such a case, a difference file having no attributes of “previous update information” of 4 and 7 is used for the current update. In other words, it is not necessary to describe all the update information in the previous update information, and only the previous update information necessary for the current update needs to be described. In this example, it is shown that the book data 4 with the update number “8” can be created even if there is no previous update information whose no attribute is 3, 5, or 6.
[0036]
Here, the information “book ID” for specifying the update target such as the update source book, the number “update number” for specifying the additional difference update, and the “previous update information” are usually described in the difference file 1. However, since it can be handled as a file different from the difference file 1 and it is easier to understand for the sake of explanation, it is referred to as an “update instruction file”.
[0037]
FIG. 6 is a flowchart showing the flow of processing in the system of the book-type data difference addition / update device according to the second embodiment of the present invention.
[0038]
Basically, using the "update instruction file", the necessary difference file is identified, and the process is executed by reverting the application of the difference according to the flow of the difference addition update process shown in FIG. .
[0039]
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]
Next, as 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]
After that, as step S3, the book data 4 specified at step S22 is read and converted into an internal format and stored in the object storage unit 7 as in FIG. At this time, data such as notes and sticky notes added by the user is also read and stored.
[0042]
Next, as step S <b> 23, 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 The “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 is acquired. When the URL is described in the corresponding entry when acquiring the difference file, the file is acquired from the Internet using the communication unit 9.
[0043]
Similar to FIG. 4, steps S1, S4, S5, and S6 are applied to the difference file obtained in step S23 to execute the difference addition update of the corresponding no attribute.
[0044]
When the difference addition update of the relevant no attribute is executed, in step S24, the “update number” of the book data 4 is updated to the value of the relevant no attribute, and the “previous update information” in the update instruction file 30 is updated. , It is determined whether there is an entry having a no attribute larger than the “update number” of the book data 4. As a result of the determination, if an entry having a no attribute larger than the “update number” of the book data 4 exists, the process branches to step S23, and if not, the process branches to step S7.
[0045]
In step S 7, the internal format of the book data stored in the object storage unit 7 is written in the book data 4 as in FIG. At this time, information added by the browsing user such as a memo and a tag attached to the internal format of the book data is simultaneously written.
[0046]
As described above, information such as books is displayed on the computer screen by imitating a paper book on the interface with the physical book structure such as cover, middle cover, body page, and back cover. When there is information added by the browsing user such as notes and sticky notes on the page, information such as two books is saved while saving the information such as notes and sticky notes added by the browsing user, including the position as much as possible. Based on the difference information between them, the already existing original information can be added or updated with the difference information.
[0047]
【The invention's effect】
As described above, by using the book type data difference adding / updating apparatus according to the present invention, a physical book such as a cover, a middle cover, a text page, and a back cover is imitated on a computer screen. If information such as books is displayed on an interface with the structure of a book, and information added by the browsing user such as notes and sticky notes exists on each page, it is already based on the difference information between the information such as two books. By adding or updating the existing information with the difference information, the size of data exchanged on the network is reduced, and information such as notes and sticky notes added by the browsing user is included as much as possible. This makes it possible to store them.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a system configuration of a book-type data difference adding / updating apparatus according to an embodiment of the present invention.
FIG. 2 is a diagram showing an example of a description method of a difference file in the system shown in FIG.
FIG. 3 is a diagram showing how the description of the difference file shown in FIG. 2 is processed;
FIG. 4 is a processing flowchart of the book-type data difference addition / update device according to the embodiment of the present invention.
FIG. 5 is a diagram showing an example of a differential file description method in the system of the book-type data difference addition / update device according to the second embodiment of the present invention;
FIG. 6 is a process flowchart of the book-type data difference addition / update device according to the second embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Difference file 2 Script analysis part 3 Script control part 4 Book data 5 Book data reading part 6 Book object management part 7 Object storage part 8 Book data writing part 9 Communication part 10 Display control part 11 Display part

Claims (8)

電子書籍のページ単位の削除,追加命令がスクリプトで記述してある差分ファイルに基づいて電子書籍を更新する書籍型データ差分追加更新装置において,
前記差分ファイルを読み込む手段と,
該差分ファイルに記述された更新対象の電子書籍を特定する手段と,
該特定された電子書籍のファイルを読み込む手段と,
前記電子書籍のページごとに,更新前のページ番号を仮のページ番号として管理するとともに,閲覧者が追加した付箋とメモが付与されたページ番号を管理する手段と,
前記差分ファイルのスクリプトを実行し,ページの削除と追加を行い,追加されたページに対して追加位置に基づいて仮のページ番号を決めて管理する手段と,
閲覧者が追加した付箋とメモが付くページ番号を,仮のページ番号に基づいて,できるだけ近いページ番号となるように決める手段と,
ページ番号をリセットし新しく振り直して,更新後の電子書籍をファイルとして格納する手段とを有する
ことを特徴とする書籍型データ差分追加更新装置。
In a book-type data difference addition and update device that updates an electronic book based on a difference file in which deletion and addition instructions for an electronic book are described in a script,
Means for reading the difference file;
Means for specifying an electronic book to be updated described in the difference file;
Means for reading the identified electronic book file;
Means for managing the page number before update as a temporary page number for each page of the electronic book, and managing the page number to which a tag and a memo added by the viewer are attached;
Means for executing the script of the difference file, deleting and adding a page, and determining and managing a temporary page number based on the added position for the added page;
A means for determining the page numbers to which stickers and memos added by the viewer are as close as possible based on the temporary page numbers;
A book-type data difference addition / update device comprising: means for resetting a page number, re-assigning a new page, and storing the updated electronic book as a file.
電子書籍のページ単位の削除,追加命令がスクリプトで記述してある差分ファイルに基づいて電子書籍を更新する書籍型データ差分追加更新装置において,
電子書籍に対して更新指示を行うための差分ファイルの適用順序が,更新番号と該更新番号に対応する差分ファイルの格納場所で記載された更新指示情報を読み込む手段と,
該更新指示情報に記述された更新対象の電子書籍を特定する手段と,
該特定された電子書籍のファイルを読み込む手段と,
前記電子書籍のページごとに,更新前のページ番号を仮のページ番号として管理するとともに,閲覧者が追加した付箋とメモが付与されたページ番号を管理する手段と,
該電子書籍の更新番号を読み出し,差分ファイルの更新番号との比較から,適用が必要な差分ファイルを決める手段と
該差分ファイルを読み込む手段と,
読み込んだ差分ファイルのスクリプトを実行し,ページの削除と追加を行い,追加されたページに対して追加位置に基づいて仮のページ番号を決めて管理する手段と,
閲覧者が追加した付箋とメモが付くページ番号を,仮のページ番号に基づいて,できるだけ近いページ番号となるように決める手段と,
ページ番号をリセットし新しく振り直す手段と,
次の差分ファイルの適用が必要か否かを判断し,必要ならば差分ファイルの読み込みから繰り返し,不要であれば電子書籍をファイルとして格納する手段とを有する
ことを特徴とする書籍型データ差分追加更新装置。
In a book-type data difference addition and update device that updates an electronic book based on a difference file in which deletion and addition instructions for an electronic book are described in a script,
Means for reading the update instruction information described in the update file number and the storage location of the difference file corresponding to the update number;
Means for specifying an electronic book to be updated described in the update instruction information;
Means for reading the identified electronic book file;
Means for managing the page number before update as a temporary page number for each page of the electronic book, and managing the page number to which a tag and a memo added by the viewer are attached;
Means for reading an update number of the electronic book and comparing the difference number with the update number of the difference file ;
Means for reading the difference file;
A means of executing a script of the read difference file, deleting and adding pages, determining a temporary page number based on the added position for the added page, and managing the page;
A means for determining the page numbers to which stickers and memos added by the viewer are as close as possible based on the temporary page numbers;
Means to reset the page number and re-assign it,
A book-type data difference addition characterized by having a means for determining whether or not the next difference file needs to be applied and repeating the reading of the difference file if necessary and storing the electronic book as a file if unnecessary. Update device.
前記付箋とメモのページ番号を決める手段において,
メモに限り,更新前に付与されていたページ番号が,仮のページ番号になければ,中表紙に移す手段を有する
ことを特徴とする請求項または請求項記載の書籍型データ差分追加更新装置。
In the means for determining the page number of the tag and memo,
Only notes before update page number has been assigned to is to be in the temporary page number, according to claim 1 or claim 2, wherein further comprising means for transferring a medium cover book type data difference Add update apparatus.
電子書籍のページ単位の削除,追加命令がスクリプトで記述してある差分ファイルに基づいて電子書籍を更新する書籍型データ差分追加更新装置を構成するコンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体であって,Computer-readable recording of a program for causing a computer constituting a book-type data difference addition / update device to update an electronic book based on a difference file in which deletion / addition instructions are written in scripts in an electronic book. Recording medium,
前記コンピュータを,Said computer,
前記差分ファイルを読み込む手段と,Means for reading the difference file;
該差分ファイルに記述された更新対象の電子書籍を特定する手段と,Means for specifying an electronic book to be updated described in the difference file;
該特定された電子書籍のファイルを読み込む手段と,Means for reading the identified electronic book file;
前記電子書籍のページごとに,更新前のページ番号を仮のページ番号として管理するとともに,閲覧者が追加した付箋とメモが付与されたページ番号を管理する手段と,Means for managing the page number before update as a temporary page number for each page of the electronic book, and managing the page number to which a tag and a memo added by the viewer are attached;
前記差分ファイルのスクリプトを実行し,ページの削除と追加を行い,追加されたページに対して追加位置に基づいて仮のページ番号を決めて管理する手段と,Means for executing the script of the difference file, deleting and adding a page, and determining and managing a temporary page number based on the added position for the added page;
閲覧者が追加した付箋とメモが付くページ番号を,仮のページ番号に基づいて,できるだけ近いページ番号となるように決める手段と,A means for determining the page numbers to which stickers and memos added by the viewer are as close as possible based on the temporary page numbers;
ページ番号をリセットし新しく振り直して,更新後の電子書籍をファイルとして格納する手段として,As a means of resetting the page number, re-assigning it, and storing the updated e-book as a file,
機能させるためのプログラムを記録したことを特徴とする書籍型データ差分追加更新プログラムの記録媒体。A recording medium for a book-type data difference addition / update program, wherein a program for causing it to function is recorded.
電子書籍のページ単位の削除,追加命令がスクリプトで記述してある差分ファイルに基づいて電子書籍を更新する書籍型データ差分追加更新装置を構成するコンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体であって,Computer-readable recording of a program for causing a computer constituting a book-type data difference addition / update device to update an electronic book based on a difference file in which deletion / addition instructions are written in scripts in an electronic book. Recording medium,
前記コンピュータを,Said computer,
電子書籍に対して更新指示を行うための差分ファイルの適用順序が,更新番号と該更新番号に対応する差分ファイルの格納場所で記載された更新指示情報を読み込む手段と,  Means for reading the update instruction information described in the update file number and the storage location of the difference file corresponding to the update number;
該更新指示情報に記述された更新対象の電子書籍を特定する手段と,Means for specifying an electronic book to be updated described in the update instruction information;
該特定された電子書籍のファイルを読み込む手段と,Means for reading the identified electronic book file;
前記電子書籍のページごとに,更新前のページ番号を仮のページ番号として管理するとともに,閲覧者が追加した付箋とメモが付与されたページ番号を管理する手段と,Means for managing the page number before update as a temporary page number for each page of the electronic book, and managing the page number to which a tag and a memo added by the viewer are attached;
該電子書籍の更新番号を読み出し,差分ファイルの更新番号との比較から,適用が必要な差分ファイルを決める手段と,Means for reading an update number of the electronic book and comparing the difference number with the update number of the difference file;
該差分ファイルを読み込む手段と,Means for reading the difference file;
読み込んだ差分ファイルのスクリプトを実行し,ページの削除と追加を行い,追加されたページに対して追加位置に基づいて仮のページ番号を決めて管理する手段と,A means of executing a script of the read difference file, deleting and adding pages, determining a temporary page number based on the added position for the added page, and managing the page;
閲覧者が追加した付箋とメモが付くページ番号を,仮のページ番号に基づいて,できるだけ近いページ番号となるように決める手段と,A means for determining the page numbers to which stickers and memos added by the viewer are as close as possible based on the temporary page numbers;
ページ番号をリセットし新しく振り直す手段と,Means to reset the page number and re-assign it,
次の差分ファイルの適用が必要か否かを判断し,必要ならば差分ファイルの読み込みから繰り返し,不要であれば電子書籍をファイルとして格納する手段として,As a means to determine whether or not the next difference file needs to be applied, and to repeat the reading from the difference file if necessary, and to store the electronic book as a file if unnecessary.
機能させるためのプログラムを記録したことを特徴とする書籍型データ差分追加更新プログラムの記録媒体。A recording medium for a book-type data difference addition / update program, wherein a program for causing it to function is recorded.
請求項4または請求項5記載の書籍型データ差分追加更新プログラムの記録媒体において,In the recording medium of the book type data difference addition update program according to claim 4 or 5,
前記コンピュータを,Said computer,
前記付箋とメモのページ番号を決める手段において,In the means for determining the page number of the tag and memo,
メモに限り,更新前に付与されていたページ番号が,仮のページ番号になければ,中表紙に移す手段として,For memos only, if the page number that was assigned before the update is not a temporary page number,
機能させるためのプログラムを記録したことを特徴とする書籍型データ差分追加更新プログラムの記録媒体。A recording medium for a book-type data difference addition / update program, wherein a program for causing it to function is recorded.
電子書籍のページ単位の削除,追加命令がスクリプトで記述してある差分ファイルに基づいて電子書籍を更新する書籍型データ差分追加更新装置を構成するコンピュータに実行させるための書籍型データ差分追加更新プログラムであって,A book-type data difference addition / update program for causing a computer constituting the book-type data difference addition / update device to update an electronic book based on a difference file in which deletion / addition instructions of the electronic book are described in a script. Because
前記コンピュータを,Said computer,
前記差分ファイルを読み込む手段と,Means for reading the difference file;
該差分ファイルに記述された更新対象の電子書籍を特定する手段と,Means for specifying an electronic book to be updated described in the difference file;
該特定された電子書籍のファイルを読み込む手段と,Means for reading the identified electronic book file;
前記電子書籍のページごとに,更新前のページ番号を仮のページ番号として管理するとともに,閲覧者が追加した付箋とメモが付与されたページ番号を管理する手段と,Means for managing the page number before update as a temporary page number for each page of the electronic book, and managing the page number to which a tag and a memo added by the viewer are attached;
前記差分ファイルのスクリプトを実行し,ページの削除と追加を行い,追加されたページに対して追加位置に基づいて仮のページ番号を決めて管理する手段と,Means for executing the script of the difference file, deleting and adding a page, and determining and managing a temporary page number based on the added position for the added page;
閲覧者が追加した付箋とメモが付くページ番号を,仮のページ番号に基づいて,できるだけ近いページ番号となるように決める手段と,A means for determining the page numbers to which stickers and memos added by the viewer are as close as possible based on the temporary page numbers;
ページ番号をリセットし新しく振り直して,更新後の電子書籍をファイルとして格納する手段として,As a means of resetting the page number, re-assigning it, and storing the updated e-book as a file,
機能させるための書籍型データ差分追加更新プログラム。Book type data difference addition update program to make it function.
電子書籍のページ単位の削除,追加命令がスクリプトで記述してある差分ファイルに基づいて電子書籍を更新する書籍型データ差分追加更新装置を構成するコンピュータに実行させるための書籍型データ差分追加更新プログラムであって,A book-type data difference addition / update program for causing a computer constituting the book-type data difference addition / update device to update an electronic book based on a difference file in which deletion / addition instructions of the electronic book are described in a script. Because
前記コンピュータを,Said computer,
電子書籍に対して更新指示を行うための差分ファイルの適用順序が,更新番号と該更新番号に対応する差分ファイルの格納場所で記載された更新指示情報を読み込む手段と,  Means for reading the update instruction information described in the update file number and the storage location of the difference file corresponding to the update number;
該更新指示情報に記述された更新対象の電子書籍を特定する手段と,Means for specifying an electronic book to be updated described in the update instruction information;
該特定された電子書籍のファイルを読み込む手段と,Means for reading the identified electronic book file;
前記電子書籍のページごとに,更新前のページ番号を仮のページ番号として管理するとともに,閲覧者が追加した付箋とメモが付与されたページ番号を管理する手段と,Means for managing the page number before update as a temporary page number for each page of the electronic book, and managing the page number to which a tag and a memo added by the viewer are attached;
該電子書籍の更新番号を読み出し,差分ファイルの更新番号との比較から,適用が必要な差分ファイルを決める手段と,Means for reading an update number of the electronic book and comparing the difference number with the update number of the difference file;
該差分ファイルを読み込む手段と,Means for reading the difference file;
読み込んだ差分ファイルのスクリプトを実行し,ページの削除と追加を行い,追加されたページに対して追加位置に基づいて仮のページ番号を決めて管理する手段と,A means of executing a script of the read difference file, deleting and adding pages, determining a temporary page number based on the added position for the added page, and managing the page;
閲覧者が追加した付箋とメモが付くページ番号を,仮のページ番号に基づいて,できるだけ近いページ番号となるように決める手段と,A means for determining the page numbers to which stickers and memos added by the viewer are as close as possible based on the temporary page numbers;
ページ番号をリセットし新しく振り直す手段と,Means to reset the page number and re-assign it,
次の差分ファイルの適用が必要か否かを判断し,必要ならば差分ファイルの読み込みから繰り返し,不要であれば電子書籍をファイルとして格納する手段として,As a means to determine whether or not the next difference file needs to be applied, and to repeat the reading from the difference file if necessary, and to store the electronic book as a file if unnecessary.
機能させるための書籍型データ差分追加更新プログラム。Book type data difference addition update program to make it function.
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 JP2003085162A (en) 2003-03-20
JP3771826B2 true 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)

Families Citing this family (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
CN104090915B (en) * 2014-06-12 2017-02-15 小米科技有限责任公司 Method and device for updating user data

Also Published As

Publication number Publication date
JP2003085162A (en) 2003-03-20

Similar Documents

Publication Publication Date Title
JP5882829B2 (en) Programmability for binding data
CN101957730B (en) Messaging device and information processing method
JP5363355B2 (en) Method, system and program for copying and pasting selected display area of screen display using style elements
JP5677029B2 (en) Data migration system, data migration method, program
JP2006236321A (en) Data store for software application documents
US9152619B2 (en) System and method for constructing markup language templates and input data structure specifications
KR102230729B1 (en) An online task system for an Excel file based on templates
JP5124733B2 (en) Server apparatus, information sharing system, program, and recording medium
US20070061349A1 (en) Hierarchically describing shapes
JP6230317B2 (en) System, information processing apparatus, control method therefor, and program
CN104052626A (en) Method, device and system for configuring network element data
US8091016B2 (en) Visually manipulating instance collections
CN116579295B (en) Method for dynamically inserting pages, moving bits and hiding and displaying multi-format file subscription
KR101709186B1 (en) Interactive multimedia E-book authoring apparatus and method
JP3771826B2 (en) Book type data difference addition / update device, recording medium for the program, and program
KR102595140B1 (en) Method for unifying tool and information coming from multiple information sources, and computer program product and device using same
CN116400914A (en) Method for quickly constructing web application based on data model
JP5526991B2 (en) Information processing apparatus, information processing method, program, information processing system
US20070236369A1 (en) Configurable importers and resource writers
US11663199B1 (en) Application development based on stored data
JP4329319B2 (en) File management system and file management method
JP5525740B2 (en) Virtual appliance server management method and system
JP5455321B2 (en) Document processing apparatus and document processing method
CN107491466A (en) client device, information processing system and information processing method
JP2000284990A (en) System and method for verifying existing function

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