JP7000709B2 - Information processing equipment and programs - Google Patents
Information processing equipment and programs Download PDFInfo
- Publication number
- JP7000709B2 JP7000709B2 JP2017114415A JP2017114415A JP7000709B2 JP 7000709 B2 JP7000709 B2 JP 7000709B2 JP 2017114415 A JP2017114415 A JP 2017114415A JP 2017114415 A JP2017114415 A JP 2017114415A JP 7000709 B2 JP7000709 B2 JP 7000709B2
- Authority
- JP
- Japan
- Prior art keywords
- document
- hash value
- conversion
- new
- xml document
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
Description
本発明は、情報処理装置及びプログラムに関する。 The present invention relates to an information processing apparatus and a program.
今日、様々な情報がウェブページの形態でネットワーク上に公開されている。ウェブページは、HTML(HyperText Markup Language)文書とも呼ばれ、データ記述言語の一例であるHTMLにより記述されている。
HTML文書を直接生成することも可能であるが、多くの場合、XML(Extensible Markup Language)文書を一旦生成し、その後、スタイルシートを用いてXML文書をHTML文書に変換する手法が用いられる。その理由は、文書とその表示の方法とを分離できるためである。
Today, various information is published on the network in the form of web pages. Web pages are also called HTML (HyperText Markup Language) documents and are described by HTML, which is an example of a data description language.
Although it is possible to directly generate an HTML document, in many cases, a method of generating an XML (Extensible Markup Language) document once and then converting the XML document into an HTML document using a style sheet is used. The reason is that the document and its display method can be separated.
ただし、XML文書からHTML文書への変換には多くのリソースを必要とする。このため、例えば特許文献1には、大容量のXML文書を複数の小容量のXML文書に機械的に分割することで、各文書の変換処理に要するリソースの軽減を図る技術が記載されている。
However, conversion from an XML document to an HTML document requires a lot of resources. Therefore, for example,
ところが、予め定めた行数単位で機械的にXML文書を小容量のXML文書に分割する手法では、変換されるデータ量自体は不変であり、結局のところ変換に要する時間の短縮にはつながらない。 However, in the method of mechanically dividing an XML document into small-capacity XML documents in units of a predetermined number of lines, the amount of data to be converted does not change, and the time required for conversion is not shortened after all.
本発明は、変換後の構造化文書に与える影響の有無とは無関係に変換元の構造化文書を変換対象とする場合に比して、変換に要する時間の短縮を目的とする。 An object of the present invention is to reduce the time required for conversion as compared with the case where the converted structured document is the conversion target regardless of whether or not the converted structured document is affected.
請求項1に記載の発明は、コンピュータに、変換元である第1の構造化文書を構成する複数の部分データであって、当該部分データの表現形式の変換に使用する規則で参照されない情報を含まない中間文書を記憶部から読み出し、当該中間文書を前記規則に基づいて、それぞれ第2の構造化文書に変換する機能と、前記第2の構造化文書への変換に先立って、当該第2の構造化文書への今回の変換が2回目以降にあたる前記中間文書について第1のハッシュ値を計算するとともに、名称が共通する中間文書についての前回の変換時に計算された第2のハッシュ値を前記記憶部から読み出し、当該第1のハッシュ値と当該第2のハッシュ値を比較する機能と、前記第1のハッシュ値が前記第2のハッシュ値と相違する場合、当該第1のハッシュ値に対応する前記中間文書を新たな第2の構造化文書に変換し、当該新たな第2の構造化文書により、前記記憶部に記憶されている対応する既存の第2の構造化文書を差し替える機能と、を実行させるためのプログラムである。
請求項2に記載の発明は、前記第1のハッシュ値を計算する度に、算出された当該第1のハッシュ値と当該第1のハッシュ値に対応する前記第2の構造化文書を特定する情報とを紐付けたリストを生成して前記記憶部に記憶する機能を更に有し、前記リストに記憶された前記第1のハッシュ値は、前記中間文書の次回の変換時に、前記第2のハッシュ値として使用される、請求項1に記載のプログラムである。
請求項3に記載の発明は、新たな中間文書に対応する名称が、既存の前記リストに存在しない場合、当該新たな中間文書を前記第2の構造化文書に変換すると共に、当該新たな中間文書について計算された前記第1のハッシュ値と当該第2の構造化文書を特定する情報を当該リストに追加する機能を更に有する、請求項2に記載のプログラムである。
請求項4に記載の発明は、既存の前記リストに存在する名称が、新たな中間文書について生成される新たなリストに存在しない場合、当該名称を削除リストに登録すると共に、当該名称に対応する前記第2の構造化文書を削除する機能を更に有する、請求項2に記載のプログラムである。
請求項5に記載の発明は、前記規則で参照される情報を、前記第1の構造化文書から抽出して前記中間文書を生成する機能を更に有する、請求項1に記載のプログラムである。
請求項6に記載の発明は、前記中間文書は、前記規則を使用して変換される前記第2の構造化文書を単位に生成される、請求項5に記載のプログラムである。
請求項7に記載の発明は、変換元である第1の構造化文書を構成する複数の部分データであって、当該部分データの表現形式の変換に使用する規則で参照されない情報を含まない中間文書を記憶部から読み出し、当該中間文書を前記規則に基づいて、それぞれ第2の構造化文書に変換する変換部と、前記第2の構造化文書への変換に先立って、当該第2の構造化文書への今回の変換が2回目以降にあたる前記中間文書について第1のハッシュ値を計算するとともに、名称が共通する中間文書についての前回の変換時に計算された第2のハッシュ値を前記記憶部から読み出し、当該第1のハッシュ値と当該第2のハッシュ値を比較する比較部と、前記第1のハッシュ値が前記第2のハッシュ値と相違する場合、当該第1のハッシュ値に対応する前記中間文書を新たな第2の構造化文書に変換し、当該新たな第2の構造化文書により、前記記憶部に記憶されている対応する既存の第2の構造化文書を差し替える差替部と、を有する情報処理装置である。
The invention according to
The invention according to
The invention according to
The invention according to claim 4 registers the name in the deletion list and corresponds to the name when the name existing in the existing list does not exist in the new list generated for the new intermediate document. The program according to
The invention according to claim 5 is the program according to
The invention according to claim 6 is the program according to claim 5, wherein the intermediate document is generated in units of the second structured document converted using the rule.
The invention according to claim 7 is an intermediate piece of data that constitutes a first structured document that is a conversion source and does not include information that is not referred to in the rules used for conversion of the representation format of the partial data. A conversion unit that reads a document from a storage unit and converts the intermediate document into a second structured document based on the above rules, and a second structure prior to conversion into the second structured document. The first hash value is calculated for the intermediate document that is converted to the converted document for the second time or later, and the second hash value calculated at the time of the previous conversion for the intermediate document having the same name is stored in the storage unit. A comparison unit that compares the first hash value with the second hash value, and when the first hash value is different from the second hash value, corresponds to the first hash value. A replacement unit that converts the intermediate document into a new second structured document and replaces the corresponding existing second structured document stored in the storage unit with the new second structured document. It is an information processing device having.
請求項1記載の発明によれば、第2の構造化文書に与える影響の有無とは無関係に第1の構造化文書を変換対象とする場合に比して、変換に要する時間を短縮できる。
請求項2記載の発明によれば、変換が必要な第1の構造化文書と変換が必要でない第1の構造化文書を区別できる。
請求項3記載の発明によれば、第2の構造化文書に変更が反映されるまでに要する時間を短縮できる。
請求項4記載の発明によれば、第2の構造化文書に変更が反映されるまでに要する時間を短縮できる。
請求項5記載の発明によれば、中間文書の生成を自動化でき、第2の構造化文書に変更が反映されるまでに要する総時間を短縮できる。
請求項6記載の発明によれば、中間文書の生成を自動化でき、第2の構造化文書に変更が反映されるまでに要する総時間を短縮できる。
請求項7記載の発明によれば、第2の構造化文書に与える影響の有無とは無関係に第1の構造化文書を変換対象とする場合に比して、変換に要する時間を短縮できる。
According to the first aspect of the invention, the time required for conversion can be shortened as compared with the case where the first structured document is the conversion target regardless of the presence or absence of the influence on the second structured document.
According to the invention of
According to the third aspect of the invention, the time required for the change to be reflected in the second structured document can be shortened.
According to the invention of claim 4, the time required for the change to be reflected in the second structured document can be shortened.
According to the invention of claim 5, the generation of the intermediate document can be automated, and the total time required for the change to be reflected in the second structured document can be shortened.
According to the invention of claim 6, the generation of the intermediate document can be automated, and the total time required for the change to be reflected in the second structured document can be shortened.
According to the invention of claim 7, the time required for conversion can be shortened as compared with the case where the first structured document is the conversion target regardless of the presence or absence of the influence on the second structured document.
以下、添付図面を参照して、実施の形態について詳細に説明する。 Hereinafter, embodiments will be described in detail with reference to the accompanying drawings.
<実施の形態1>
<システム全体の構成>
図1は、本実施の形態に係るウェブシステム1の構成例を説明する図である。
ウェブシステム1は、ネットワーク上にHTML文書を閲覧可能に公開するサーバシステム10と、ブラウザプログラム(以下「ブラウザ」という)が実行される端末装置20とで構成される。本実施の形態におけるネットワークは、ローカルエリアネットワークでもインターネットでも構わない。
端末装置20は、ユーザによって操作され、ネットワーク上に公開されている情報の閲覧に使用される。端末装置20は、ネットワーク通信機能を有するコンピュータであり、据え置き型か携帯型かは問わない。
<
<Overall system configuration>
FIG. 1 is a diagram illustrating a configuration example of the
The
The
サーバシステム10は、XML文書からHTML文書を生成する情報処理装置100と、端末装置20からアクセスがあったURL(Uniform Resource Locator)に保存されているHTML文書を端末装置20に送信するウェブサーバ200とを有し、これらはローカルネットワーク11を介して互いに接続されている。もっとも、情報処理装置100とウェブサーバ200がインターネットで接続されていてもよい。
XML文書は第1の構造化文書の一例であり、HTML文書は第2の構造化文書の一例である。
The
The XML document is an example of a first structured document, and the HTML document is an example of a second structured document.
本実施の形態に係るウェブサーバ200には、情報処理装置100で生成されたHTML文書が特定のURLに紐付けられて保存されている。HTML文書は、ウェブサーバ200に内蔵の記憶装置に記憶されていても、外部の記憶装置に記憶されていてもよい。すなわち、ウェブサーバ200と記憶装置は一体構成でも、別構成でもよい。
In the
<情報処理装置の構成>
図2は、本実施の形態に係る情報処理装置100のハードウェア構成の例を説明する図である。
情報処理装置100は、XML文書をHTML文書に変換する各種の処理動作を実行する信号処理部101と、各種のプログラムやデータが記憶される記憶装置102と、作業者による操作の受け付けに使用される操作受付装置103と、外部装置との間でデータを受け渡しする通信装置104とを有している。
<Configuration of information processing device>
FIG. 2 is a diagram illustrating an example of a hardware configuration of the
The
信号処理部101は、プログラムを実行するCPU(Central Processing Unit)101Aと、起動プログラム等が保存されるROM(Read Only Memory)101Bと、作業領域として使用されるRAM(Random Access Memory)101Cとを有している。
なお、記憶装置102は、ハードディスク装置等で構成される。記憶装置102は、情報処理装置100に内蔵の装置に限らず、通信装置104を通じて接続される外部装置でもよい。
操作受付装置103は、例えばキーボード、マウスである。
通信装置104は、例えばUSB(Universal Serial Bus)インターフェース、ネットワークインターフェースである。
The
The
The
The
図3は、実施の形態1に係る情報処理装置100のソフトウェア構成の例を説明する図である。
図3に示すソフトウェア構成は、信号処理部101によるプログラムの実行を通じて実現される。
本実施の形態における信号処理部101は、記憶装置102から中間XML文書121を読み出す文書読出し部110と、中間XML文書121毎に変更の有無を判断する変更有無判断部111と、スタイルシート123を用いて中間XML文書121をHTML文書に変換する文書変換部112と、変換後のHTML文書を既存のHTML文書にマージして新しいHTML文書を生成するデータマージ部113として機能する。
FIG. 3 is a diagram illustrating an example of a software configuration of the
The software configuration shown in FIG. 3 is realized through the execution of a program by the
The
中間XML文書121は、HTML文書の生成に必要な記述をXML文書から抽出した部分データであり、表示単位であるHTML文書別に用意される。
従って、HTML文書が複数であれば(換言すると、スタイルシート123が複数であれば)、中間XML文書121も複数である。ここでの中間XML文書121は、中間文書の一例である。
本実施の形態の場合、中間XML文書121は既に生成され、記憶装置102に記憶されている。もっとも、中間XML文書121は、情報処理装置100を用いて生成しても良いし、他の装置を用いて生成してもよい。
中間XML文書121は、XML文書に変更が加えられるたびに生成される。
The
Therefore, if there are a plurality of HTML documents (in other words, if there are a plurality of style sheets 123), there are also a plurality of intermediate XML documents 121. The
In the case of this embodiment, the
The
以下では、必要に応じ、変更が加えられる前のXML文書を「旧XML文書」とよび、変更が加えられた後のXML文書を「新XML文書」とよぶことがある。
ここで、新旧の違いは、特定の変更に対する前後関係を表しているのにすぎない。従って、ある変更との関係では新XML文書であったしても、追加の変更が加えられた場合には、追加の変更との関係では旧XML文書として扱われる。
また、旧XML文書から生成された中間XML文書121を「旧中間XML文書」とよび、新XML文書から生成された中間XML文書121を「新中間XML文書」とよぶことがある。
中間XML文書121は、作業者が手作業で生成してもよいし、後述する実施の形態2で説明するようにプログラム処理を通じて生成してもよい。
In the following, if necessary, the XML document before the change may be referred to as the "old XML document", and the XML document after the change may be referred to as the "new XML document".
Here, the difference between old and new only represents the context of a particular change. Therefore, even if it is a new XML document in relation to a certain change, when an additional change is made, it is treated as an old XML document in relation to the additional change.
Further, the
The
文書読出し部110は、変換対象として作業者から指定された新中間XML文書121Nを記憶装置102から読み出して変更有無判断部111に出力する機能を提供する。
旧中間XML文書121Oについて算出されたハッシュ値と、新中間XML文書121Nについて算出されたハッシュ値は、いずれも記憶装置102のハッシュ値リスト122に記憶されている。
以下では、旧中間XML文書121Oについて算出されたハッシュ値を「旧ハッシュ値」といい、新中間XML文書121Nについて算出されたハッシュ値を「新ハッシュ値」ということがある。
以下では、旧ハッシュ値を記憶するハッシュ値リストを「旧ハッシュ値リスト」といい、新ハッシュ値を記憶するハッシュ値リストを「新ハッシュ値リスト」ということがある。
記憶装置102に新ハッシュ値リスト122Nが存在しない場合、変更有無判断部111が新ハッシュ値を計算して記憶装置102に記憶する。
ここでの変更有無判断部111は、比較部の一例である。
The
The hash value calculated for the old intermediate XML document 121O and the hash value calculated for the new
In the following, the hash value calculated for the old intermediate XML document 121O may be referred to as an “old hash value”, and the hash value calculated for the new
In the following, the hash value list that stores the old hash value may be referred to as an "old hash value list", and the hash value list that stores the new hash value may be referred to as a "new hash value list".
If the new hash value list 122N does not exist in the
The change presence /
変更有無判断部111は、変換対象である個々の新中間XML文書121Nについて算出された新ハッシュ値と、対応関係にある旧中間XML文書121Oについて記憶されている旧ハッシュ値とを比較する機能を提供する。
ここで、対応関係があるとは個々の中間XML文書121に紐付けられたHTML文書の名称が共通することをいう。
このため、変更有無判断部111は、まず新中間XML文書121Nに対応するHTML文書の名称が旧中間XML文書121Oについて保存されている旧ハッシュ値リスト122Oに存在するか否かを判断し、存在する場合にハッシュ値の比較処理を実行する。
The change presence /
Here, having a correspondence relationship means that the names of the HTML documents associated with the individual
Therefore, the change presence /
例えば新中間XML文書121Nに対応するHTML文書の名称が旧中間XML文書121Oについて保存されている旧ハッシュ値リスト122Oに存在し、かつ、新旧のハッシュ値が一致する場合、変更有無判断部111は、新中間XML文書121Nの内容と旧中間XML文書121Oの内容とが同じであると判断する。
例えば新中間XML文書121Nに対応するHTML文書の名称が旧中間XML文書121Oについて保存されている旧ハッシュ値リスト122Oに存在しても、新旧のハッシュ値が異なる場合、変更有無判断部111は、新中間XML文書121Nには内容の変更又は修正が含まれると判断する。この場合、変更有無判断部111は、変更又は修正が検知された新中間XML文書121Nを差異リストに登録する。
For example, if the name of the HTML document corresponding to the new
For example, even if the name of the HTML document corresponding to the new
例えば新中間XML文書121Nに対応するHTML文書の名称が旧中間XML文書121Oについて保存されている旧ハッシュ値リスト122Oに存在しない場合、変更有無判断部111は、処理対象とする新中間XML文書121Nは新規に生成されたと判断する。この場合も、変更有無判断部111は、変更又は修正が検知された新中間XML文書121Nを差異リストに登録する。
例えば旧中間XML文書121Oについて保存されている旧ハッシュ値リスト122Oには存在するHTML文書の名称が、新中間XML文書121Nについて保存される新ハッシュ値リスト122N(今回の文書変換処理が完了した後は新たな文書変換処理との関係で旧ハッシュ値リスト122Oとして使用される)に存在しない場合、変更有無判断部111は、旧中間XML文書121Oが削除されたと判断する。この場合、変更有無判断部111は、削除されたと判断された旧中間XML文書121Oを削除リストに登録する。
For example, if the name of the HTML document corresponding to the new
For example, the name of the HTML document existing in the old hash value list 122O stored for the old intermediate XML document 121O is the new hash value list 122N stored for the new
図4は、変更有無判断部111による処理のイメージを説明する図である。
図4には、新XML文書から生成された複数の新中間XML文書#1、#2、#3が、いずれもHTML文書#1、#2、#3と対応関係を有することが示されている。
変更有無判断部111は、例えばHTML文書#1に対応する新中間XML文書#1について計算された新ハッシュ値#1と、対応する旧中間XML文書#1について計算された旧ハッシュ値#1とを比較する。
勿論、変更有無判断部111は、新ハッシュ値#2と旧ハッシュ値#2とを比較し、新ハッシュ値#3と旧ハッシュ値#3とを比較する。
FIG. 4 is a diagram illustrating an image of processing by the change presence /
FIG. 4 shows that a plurality of new
The change presence /
Of course, the change presence /
図3の説明に戻る。
文書変換部112は、差異リストに登録されている新中間XML文書121Nに限り(すなわち、内容の変更又は修正を含む新中間XML文書121Nと新規に生成された新中間XML文書121Nに限り)、対応するスタイルシート123を用いてHTML文書に変換する機能と、生成されたHTML文書を差分変換データ124として記憶装置102に保存する機能とを提供する。
ここで、スタイルシート123とは、XSLT(Extensible Stylesheet Language Transformations)文書のことであり、HTML文書の表示形式の制御に使用される。スタイルシート123は、表現上の規則の一例である。
Returning to the description of FIG.
The
Here, the
図5は、スタイルシート123の構成例を説明する図である。スタイルシート123は、生成対象であるHTML文書単位で用意されている。
本例の場合、スタイルシート123は、本文HTML文書に対応するスタイルシート(すなわち本文HTML文書用スタイルシート)123Aと、目次HTML文書に対応するスタイルシート(すなわち目次HTML文書用スタイルシート)123Bと、図HTML文書に対応するスタイルシート(すなわち図HTML文書用スタイルシート)123Cとを含んでいる。
FIG. 5 is a diagram illustrating a configuration example of the
In the case of this example, the
図6は、端末装置20のブラウザ画面25に表示される本文HTML文書、目次HTML文書、図HTML文書を例示する図である。
本文HTML文書の表示ウインドウはブラウザ画面25の右側に配置され、目次HTML文書はブラウザ画面25の左側に配置され、図HTML文書は本文HTML文書の表示ウインドウ内の左下隅位置に重ねて配置されている。
FIG. 6 is a diagram illustrating a text HTML document, a table of contents HTML document, and a FIG. HTML document displayed on the
The display window of the text HTML document is arranged on the right side of the
ここで、本文HTML文書の表示ウインドウには、「1.2 画像の挿入」とのタイトルが付された文書が表示されている。
また、本文HTML文書の左隣に表示される目次HTML文書のウインドウには、本文HTML文書には「ご利用上の注意」とのタイトルが付されていること、本文HTML文書は3つの章で構成されること等が表示されている。
また、本文HTML文書に重ねて表示される図HTML文書のウインドウには、本文HTML文書に埋め込まれたリンク関係を通じて読み出されたサンプル画像が表示されている。
Here, in the display window of the text HTML document, a document with the title "1.2 Inserting an image" is displayed.
In addition, in the window of the table of contents HTML document displayed on the left side of the text HTML document, the title of the text HTML document is "Precautions for use", and the text HTML document has three chapters. It is displayed that it is configured.
Further, in the window of the figure HTML document displayed overlaid on the text HTML document, a sample image read through the link relationship embedded in the text HTML document is displayed.
図3の説明に戻る。
データマージ部113は、差分変換データ124を前回の変換データ125(すなわち、旧中間XML文書121Oを用いて生成された既存のHTML文書)にマージして今回の変換データ126を生成する機能を提供する。
例えばデータマージ部113は、新たに作成されたHTML文書を既存のHTML文書に追加し、又は、差し替える。
また例えばデータマージ部113は、削除リストに基づいて既存のHTML文書から対応する文書を削除する。
ここでのデータマージ部113は差替部の一例である。
Returning to the description of FIG.
The
For example, the data merge
Further, for example, the data merge
The data merge
<処理動作>
続いて、情報処理装置100において実行される処理動作について説明する。
図7は、情報処理装置100を構成する信号処理部101が実行する処理動作の例を説明するフローチャートである。
まず、信号処理部101は、新中間XML文書121Nを受け付ける(ステップ101)。具体的には、文書読出し部110が対象とする新中間XML文書121Nを記憶装置102から読み出す。
<Processing operation>
Subsequently, the processing operation executed by the
FIG. 7 is a flowchart illustrating an example of a processing operation executed by the
First, the
次に、信号処理部101は、新中間XML文書121NのHTML文書への変換が初めてか否かを判定する(ステップ102)。この判定は、変更有無判断部111が実行する。
例えば変更有無判断部111は、受け付けた新中間XML文書121Nに対応するHTML文書の名称が旧ハッシュ値リスト122Oに含まれている否かにより初めての変換か否かを判定する。
対応するHTML文書の名称が存在する場合、変更有無判断部111は、初めての変換でないと判断する。
一方、対応するHTML文書の名称が存在しない場合、変更有無判断部111は、初めての変換であると判断する。
初めての変換であると判定された場合(ステップ102で肯定結果が得られた場合)、変更有無判断部111は、変換処理の対象になった複数の新中間XML文書121Nのそれぞれについて新ハッシュ値を計算し、記憶装置102の新ハッシュ値リスト122Nに登録する。
Next, the
For example, the change presence /
If the name of the corresponding HTML document exists, the change presence /
On the other hand, when the name of the corresponding HTML document does not exist, the change presence /
When it is determined that the conversion is the first time (when an affirmative result is obtained in step 102), the change presence /
さらに、信号処理部101は、複数の新中間XML文書121Nの全てをそれぞれ対応するスタイルシート123を用いてHTML文書に変換する(ステップ103)。この処理は、文書変換部112が実行する。
本実施の形態では、全ての新中間XML文書121NをHTML文書に変換することを、全量変換という。
図8は、全量変換の場合に実行される処理の流れを概略的に示す図である。
図8に示すように、全量変換の場合、入力された全ての新中間XML文書121Nについて新ハッシュ値が計算され、算出された新ハッシュ値が新ハッシュ値リスト122Nに保存される。その後、全ての新中間XML文書121Nに対してHTML変換が実行され、それぞれに対応するHTML文書が生成される。
Further, the
In the present embodiment, the conversion of all the new
FIG. 8 is a diagram schematically showing a flow of processing executed in the case of total amount conversion.
As shown in FIG. 8, in the case of total amount conversion, a new hash value is calculated for all the input new
初めての変換でないと判定された場合(ステップ102で否定結果が得られた場合)、変更有無判断部111は、新中間XML文書121Nのそれぞれについて新ハッシュ値を計算する(ステップ104)。
次に、変更有無判断部111は、新ハッシュ値と旧ハッシュ値を比較する(ステップ105)。
続いて、変更有無判断部111は、対応する旧ハッシュ値が無いか否かを判定する(ステップ106)。換言すると、変更有無判断部111は、新中間XML文書121Nが対応するHTML文書の名称が旧中間XML文書121Oに対応する旧ハッシュ値リスト122Oに存在するか否か判定する。
When it is determined that the conversion is not the first time (when a negative result is obtained in step 102), the change presence /
Next, the change presence /
Subsequently, the change presence /
ステップ106で肯定結果が得られた場合(対応する旧ハッシュ値が存在せず、新規生成の場合)、変更有無判断部111は、差異リストに対応するHTML文書の名称を登録し、文書変換部112は、新中間XML文書121Nを対応するスタイルシート123でHTML変換する(ステップ108)。
ステップ106で否定結果が得られた場合(対応する旧ハッシュ値が存在する場合)、変更有無判断部111は、新ハッシュ値と旧ハッシュ値が異なっているか否かを判定する(ステップ107)。
ステップ107で肯定結果が得られた場合(新中間XML文書121Nが新規生成の場合)、変更有無判断部111はステップ108に進み、HTML変換と名称の登録とを実行する。
When an affirmative result is obtained in step 106 (when the corresponding old hash value does not exist and is newly generated), the change presence /
When a negative result is obtained in step 106 (when the corresponding old hash value exists), the change presence /
When an affirmative result is obtained in step 107 (when the new
一方、ステップ107で否定結果が得られた場合(旧中間XML文書121Oが削除されている場合)、変更有無判断部111は、削除リストに旧中間XML文書121Oに対応するHTML文書の名称を登録する(ステップ109)。
ステップ108又はステップ109の実行後、データマージ部113は、差分変換データ124を前回の変換データ125にマージして今回の変換データ126を生成する(ステップ110)。
また、データマージ部113は、削除リストに登録されているHTML文書を今回の変換データ126から削除する(ステップ111)。
On the other hand, when a negative result is obtained in step 107 (when the old intermediate XML document 121O is deleted), the change presence /
After executing step 108 or step 109, the
Further, the data merge
図9は、2回目以降のHTML変換の場合に実行される処理の流れを概略的に示す図である。
図9に示すように、2回目以降のHTML変換の場合も、入力された全ての新中間XML文書121Nについて新ハッシュ値が計算され、算出された新ハッシュ値が新ハッシュ値リスト122Nに保存される。
その後は、新中間XML文書121Nについての新ハッシュ値リスト122Nと旧中間XML文書121Oについての旧ハッシュ値リスト122Oとの比較処理が実行され、差異リストや削除リストが生成される。また、生成された差異リストや削除リストに基づいて、変更部分に限ってHTML文書が生成される。
FIG. 9 is a diagram schematically showing the flow of processing executed in the case of the second and subsequent HTML conversions.
As shown in FIG. 9, in the case of the second and subsequent HTML conversions, a new hash value is calculated for all the input new
After that, the comparison process between the new hash value list 122N for the new
<実施の形態1の効果>
本実施の形態で説明した手法では、新中間XML文書121N毎に新ハッシュ値を計算し、新ハッシュ値リスト122Nと旧ハッシュ値リスト122Oとの比較により変化が検出された新中間XML文書121Nに限り、HTML変換が実行される。
このため、本実施の形態によれば、変更の有無によらず全ての新中間XML文書121NをHTML変換の処理対象とする従前の手法に比して、HTML文書が生成されるまでに要する時間を短縮することができる。
また、本実施の形態によれば、2回目以降のHTML変換には、リソースの少ない情報処理装置100を用いることが可能になる。
<Effect of
In the method described in this embodiment, a new hash value is calculated for each new
Therefore, according to the present embodiment, the time required for the HTML document to be generated is compared with the conventional method in which all the new
Further, according to the present embodiment, it is possible to use the
<実施の形態2>
前述の実施の形態1の場合には、HTML変換の処理対象となる新中間XML文書121Nが記憶装置102に記憶されている場合について説明したが、本実施の形態では、プログラム処理を通じ、XML文書から新中間XML文書121Nを生成する場合について説明する。
図10は、実施の形態2に係る情報処理装置100のソフトウェア構成の例を説明する図である。
図10には、図3との対応部分に対応する符号が付されている。なお、図10に示すソフトウェア構成は、信号処理部101によるプログラムの実行を通じて実現される。
<
In the case of the first embodiment described above, the case where the new
FIG. 10 is a diagram illustrating an example of a software configuration of the
In FIG. 10, a reference numeral corresponding to a portion corresponding to that in FIG. 3 is attached. The software configuration shown in FIG. 10 is realized through the execution of a program by the
図10と図3を比較して分かるように、本実施の形態における信号処理部101は、新中間XML文書121Nを生成するための機能を有する点で、実施の形態1における信号処理部101(図3)と異なっている。
すなわち、本実施の形態に係る信号処理部101は、スタイルシート123からパス式を抽出して変換パス表132を生成する変換データ判定部131と、XML文書130と変換パス表132から新中間XML文書121Nを生成する中間XML文書生成部133とを更に有している。
ここで、パス式とは、要素の位置を特定する情報の一例である。
As can be seen by comparing FIGS. 10 and 3, the
That is, the
Here, the path expression is an example of information for specifying the position of an element.
<処理動作>
続いて、本実施の形態に係る情報処理装置100において実行される処理動作について説明する。
図11は、情報処理装置100を構成する信号処理部101が実行する処理動作の例を説明するフローチャートである。
図11には、図7との対応部分に対応する符号を付して示している。図11に示すフローチャートと図7に示すフローチャートとの違いは、ステップ101(図7)に代えてステップ201とステップ202が実行される点である。
<Processing operation>
Subsequently, the processing operation executed by the
FIG. 11 is a flowchart illustrating an example of a processing operation executed by the
FIG. 11 is shown with reference numerals corresponding to the portions corresponding to those in FIG. 7. The difference between the flowchart shown in FIG. 11 and the flowchart shown in FIG. 7 is that steps 201 and 202 are executed instead of step 101 (FIG. 7).
以下では、相違点であるステップ201とステップ202について説明する。
ステップ201では、変換データ判定部131(図10参照)が、スタイルシート123からパス式(例えばXPath式)を抽出し、パス式に含まれる値を変換パス表132に登録する。
スタイルシート123は、HTML文書単位で用意されている。従って、変換データ判定部131は、スタイルシート123毎にパス式を抽出する。
Hereinafter, the differences between step 201 and step 202 will be described.
In step 201, the conversion data determination unit 131 (see FIG. 10) extracts a path expression (for example, an XPath expression) from the
The
図12は、変換データ判定部131によるパス式の抽出処理を説明する図である。
図12の場合、スタイルシート123は、HTML文書#1~#3に対応する3つである。図中では、スタイルシート#1~#3で示す。
図12には、スタイルシート#1の一部が示されており、パス式として「select="/INDEX/@NODETITLE"」と「match="/INDEX"」が抽出されている。
変換パス表132には、パス式に含まれる値、すなわち「/INDEX/@NODETITLE」と「/INDEX」が、対応するHTML文書に紐付けられた状態で保存される。
FIG. 12 is a diagram illustrating a pass-type extraction process by the conversion
In the case of FIG. 12, there are three
FIG. 12 shows a part of the
In the conversion path table 132, the values included in the path expression, that is, "/ INDEX / @ NODETITLE" and "/ INDEX" are stored in a state of being associated with the corresponding HTML document.
図13は、中間XML文書生成部133(図10参照)による中間XML文書121の生成処理を説明する図である。
図13は、HTML文書#1に対応する中間XML文書#1の生成する例を示している。
ここで、中間XML文書生成部133は、変換パス表132を参照し、XML文書130の中からHTML文書#1に対応する値「/INDEX/@NODETITLE」と「/INDEX」に関連する記述を抽出し、中間XML文書#1を生成する。
ここでの抽出される記述は、XML文書130のうちHTML文書#1に関連するパス情報の一例である。
HTML文書#2に対応する中間XML文書#2やHTML文書#3に対応する中間XML文書#3も同様の手順で生成される。
FIG. 13 is a diagram illustrating the generation process of the
FIG. 13 shows an example of generating an intermediate
Here, the intermediate XML
The description extracted here is an example of the path information related to
The intermediate
以下では、より具体的な文書を用いて、変換データ判定部131(図10参照)と中間XML文書生成部133(図10参照)の処理動作を説明する。
図14は、スタイルシート123の具体例と変換パス表132に保存される値との関係を説明する図である。
図14におけるスタイルシート123は、図目次HTML文書用のスタイルシート(fig_index.xsl)の例である。
図14の場合、スタイルシート123から「H3」、「TITLE」、「FIG」が抽出されている。図中、「H3」、「TITLE」、「FIG」は太文字で示している。
Hereinafter, the processing operations of the conversion data determination unit 131 (see FIG. 10) and the intermediate XML document generation unit 133 (see FIG. 10) will be described using a more specific document.
FIG. 14 is a diagram illustrating a relationship between a specific example of the
The
In the case of FIG. 14, "H3", "TITLE", and "FIG" are extracted from the
図11の説明に戻る。
ステップ202では、中間XML文書生成部133(図10参照)が、変換パス表132を参照し、変換対象として指定されたXML文書130から、HTML文書別の中間XML文書121を生成する。具体的には、中間XML文書生成部133は、XML文書130の中からパス式に合致していないデータを削除し、中間XML文書121を生成する。
Returning to the description of FIG.
In step 202, the intermediate XML document generation unit 133 (see FIG. 10) refers to the conversion path table 132 and generates the
図15は、XML文書130と生成された中間XML文書121の関係を説明する図である。
図15におけるXML文書130は、図目次HTML文書に関連する記述部分であり、XML文書130のうち「H3/TITLE」、「H3//FIG/TITLE」に関連する記述部分を抽出したものが中間XML文書121である。図15では、抽出部分を太線で囲んで示している。
FIG. 15 is a diagram illustrating the relationship between the
The
この場合において、XML文書130に変更が加えられた場合を検討する。
図16は、図15に例示したXML文書130の一部分にHTML文書では利用されない情報が追加された場合の中間XML文書121の生成例を説明する図である。
図16に示すXML文書130の例では、太線で囲んだ部分で「画像を扱う。」が「画像を挿入することができます。」と変更されている。
ただし、この「画像を挿入することができます。」との文は、スタイルシート123によって生成されるHTML文書には影響しない情報である。
このため、スタイルシート123を用いて生成された変換パス表132に基づいて生成された中間XML文書121の内容は、修正前の中間XML文書121の内容(図15)と同じになる。
In this case, consider the case where the
FIG. 16 is a diagram illustrating an example of generating an
In the example of the
However, this sentence "an image can be inserted" is information that does not affect the HTML document generated by the
Therefore, the content of the
従って、「画像を挿入することができます。」との修正が加えられた後のXML文書130について生成された新中間XML文書121Nについて計算される新ハッシュ値と、修正前のXML文書130について生成された旧中間XML文書121Oについて計算される旧ハッシュ値とは一致する。
このため、変更有無判断部111は、この新中間XML文書121Nに対応するHTML文書の名称(すなわち、図目次HTML文書)を差異リストに登録しない。結果的に、この新中間XML文書121Nについては、文書変換部112によるHTML変換の対象から除外される。
Therefore, about the new hash value calculated for the new
Therefore, the change presence /
以下では、新中間XML文書121Nに対応する新ハッシュ値と旧中間XML文書121Oに対応する旧ハッシュ値とが異なる場合の具体例を説明する。
図17は、HTML文書に新たな情報を付加するような修正がXML文書130に加えられた場合における新旧2つの中間XML文書121の具体例を示す図である。(A)は新中間XML文書121Nの具体例であり、(B)は旧中間XML文書121Oの具体例である。
新中間XML文書121Nのうち太枠で囲んだ記述が追加部分である。なお、修正は記述の追加だけでなく削除も含まれる。
いずれにしても新中間XML文書121Nは、旧中間XML文書121Oとは内容が異なるため、文書変換部112によるHTML変換の対象となる。
Hereinafter, a specific example will be described in which the new hash value corresponding to the new
FIG. 17 is a diagram showing a specific example of two
The description enclosed in a thick frame in the new
In any case, since the content of the new
図18は、新しいHTML文書のための記述がXML文書130に追加されている場合を説明する図である。(A)は新中間XML文書121Nの具体例であり、(B)は旧中間XML文書121Oの具体例である。
この場合、図18に示すように、旧中間XML文書121Oのデータは存在しない。従って、新中間XML文書121Nは、文書変換部112によるHTML変換の対象となる。
FIG. 18 is a diagram illustrating a case where a description for a new HTML document is added to the
In this case, as shown in FIG. 18, the data of the old intermediate XML document 121O does not exist. Therefore, the new
図19は、既存のHTML文書に対応する記述がXML文書130から削除された場合を説明する図である。(A)は新中間XML文書121Nの具体例であり、(B)は旧中間XML文書121Oの具体例である。
この場合、図19に示すように、旧中間XML文書121Oに対応する新中間XML文書121Nのデータは存在しない。このことは、削除リストによって確認されるので、データマージ部113は、マージ後のHTML文書の中から対応するHTML文書を削除する。
FIG. 19 is a diagram illustrating a case where the description corresponding to the existing HTML document is deleted from the
In this case, as shown in FIG. 19, there is no data of the new
<実施の形態2の効果>
本実施の形態によれば、予め中間XML文書121を手作業で準備する必要がなくなり、作業者によって編集されたXML文書130と各HTML文書に対応するスタイルシート123を情報処理装置100に与えれば、対応するHTML文書を情報処理装置100の信号処理により生成することができる。
このため、本実施の形態の場合には、HTML文書が生成されるまでに要する時間を、実施の形態1の場合よりも短縮することができる。
<Effect of
According to this embodiment, it is not necessary to manually prepare the
Therefore, in the case of the present embodiment, the time required for the HTML document to be generated can be shortened as compared with the case of the first embodiment.
<他の実施の形態>
以上、本発明の実施の形態について説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、種々の変更又は改良を加えたものも、本発明の技術的範囲に含まれることは、特許請求の範囲の記載から明らかである。
例えば前述の実施の形態では、構造化文書の一例であるXML文書をHTML文書に変換する場合について説明したが、他の構造化文書の変換処理にも用いることができる。例えばSGML(Standard Generalized Markup Language)で記述された文書、XHTML(Extensible HyperText Markup Language)で記述された文書、MathML(Mathematical Markup Language)で記述された文書等の構造変換にも使用できる。
<Other embodiments>
Although the embodiments of the present invention have been described above, the technical scope of the present invention is not limited to the scope described in the above embodiments. It is clear from the description of the claims that the above-described embodiment with various modifications or improvements is also included in the technical scope of the present invention.
For example, in the above-described embodiment, the case of converting an XML document, which is an example of a structured document, into an HTML document has been described, but it can also be used for conversion processing of other structured documents. For example, it can be used for structural conversion of a document described in SGML (Standard Generalized Markup Language), a document described in XHTML (Extensible HyperText Markup Language), a document described in MathML (Mathematical Markup Language), and the like.
1…ウェブシステム、10…サーバシステム、20…端末装置、25…ブラウザ画面、100…情報処理装置、110…文書読出し部、111…変更有無判断部、112…文書変換部、113…データマージ部、121、121N、121O…中間XML文書、122122N、122O…ハッシュ値リスト、123…スタイルシート、123A…本文HTML文書用スタイルシート、123B…目次HTML文書用スタイルシート、123C…図HTML文書用スタイルシート、124…差分変換データ、125…前回の変換データ、126…今回の変換データ、130…XML文書、131…変換データ判定部、132…変換パス表、133…中間XML文書生成部 1 ... Web system, 10 ... Server system, 20 ... Terminal device, 25 ... Browser screen, 100 ... Information processing device, 110 ... Document reading unit, 111 ... Change presence / absence determination unit, 112 ... Document conversion unit, 113 ... Data merging unit , 121, 121N, 121O ... Intermediate XML document, 122122N, 122O ... Hash value list, 123 ... Style sheet, 123A ... Text HTML document style sheet, 123B ... Table of contents HTML document style sheet, 123C ... Figure HTML document style sheet , 124 ... Difference conversion data, 125 ... Previous conversion data, 126 ... Current conversion data, 130 ... XML document, 131 ... Conversion data determination unit, 132 ... Conversion path table, 133 ... Intermediate XML document generation unit
Claims (7)
変換元である第1の構造化文書を構成する複数の部分データであって、当該部分データの表現形式の変換に使用する規則で参照されない情報を含まない中間文書を記憶部から読み出し、当該中間文書を前記規則に基づいて、それぞれ第2の構造化文書に変換する機能と、
前記第2の構造化文書への変換に先立って、当該第2の構造化文書への今回の変換が2回目以降にあたる前記中間文書について第1のハッシュ値を計算するとともに、名称が共通する中間文書についての前回の変換時に計算された第2のハッシュ値を前記記憶部から読み出し、当該第1のハッシュ値と当該第2のハッシュ値を比較する機能と、
前記第1のハッシュ値が前記第2のハッシュ値と相違する場合、当該第1のハッシュ値に対応する前記中間文書を新たな第2の構造化文書に変換し、当該新たな第2の構造化文書により、前記記憶部に記憶されている対応する既存の第2の構造化文書を差し替える機能と、
を実行させるためのプログラム。 On the computer
An intermediate document that is a plurality of partial data constituting the first structured document that is the conversion source and does not include information that is not referred to by the rules used for conversion of the representation format of the partial data is read from the storage unit, and the intermediate document is read. A function to convert a document into a second structured document based on the above rules, and
Prior to the conversion to the second structured document, the first hash value is calculated for the intermediate document for which the current conversion to the second structured document is the second and subsequent times, and the intermediate with the same name. A function of reading the second hash value calculated at the time of the previous conversion of the document from the storage unit and comparing the first hash value with the second hash value .
When the first hash value is different from the second hash value , the intermediate document corresponding to the first hash value is converted into a new second structured document, and the new second structure is obtained. A function to replace the corresponding existing second structured document stored in the storage unit by the converted document, and
A program to execute.
前記リストに記憶された前記第1のハッシュ値は、前記中間文書の次回の変換時に、前記第2のハッシュ値として使用される、請求項1に記載のプログラム。 Each time the first hash value is calculated, a list is generated in which the calculated first hash value is associated with the information that identifies the second structured document corresponding to the first hash value. Further has a function of storing in the storage unit .
The program according to claim 1 , wherein the first hash value stored in the list is used as the second hash value at the next conversion of the intermediate document .
前記第2の構造化文書への変換に先立って、当該第2の構造化文書への今回の変換が2回目以降にあたる前記中間文書について第1のハッシュ値を計算するとともに、名称が共通する中間文書についての前回の変換時に計算された第2のハッシュ値を前記記憶部から読み出し、当該第1のハッシュ値と当該第2のハッシュ値を比較する比較部と、
前記第1のハッシュ値が前記第2のハッシュ値と相違する場合、当該第1のハッシュ値に対応する前記中間文書を新たな第2の構造化文書に変換し、当該新たな第2の構造化文書により、前記記憶部に記憶されている対応する既存の第2の構造化文書を差し替える差替部と、
を有する情報処理装置。 An intermediate document that is a plurality of partial data constituting the first structured document that is the conversion source and does not include information that is not referred to by the rules used for conversion of the representation format of the partial data is read from the storage unit, and the intermediate document is read. A conversion unit that converts a document into a second structured document based on the above rules, and
Prior to the conversion to the second structured document, the first hash value is calculated for the intermediate document for which the current conversion to the second structured document is the second and subsequent times, and the intermediate with the same name. A comparison unit that reads the second hash value calculated at the time of the previous conversion of the document from the storage unit and compares the first hash value with the second hash value .
When the first hash value is different from the second hash value , the intermediate document corresponding to the first hash value is converted into a new second structured document, and the new second structure is obtained. A replacement unit that replaces the corresponding existing second structured document stored in the storage unit by the converted document.
Information processing device with.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017114415A JP7000709B2 (en) | 2017-06-09 | 2017-06-09 | Information processing equipment and programs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017114415A JP7000709B2 (en) | 2017-06-09 | 2017-06-09 | Information processing equipment and programs |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018206303A JP2018206303A (en) | 2018-12-27 |
JP7000709B2 true JP7000709B2 (en) | 2022-01-19 |
Family
ID=64957243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017114415A Active JP7000709B2 (en) | 2017-06-09 | 2017-06-09 | Information processing equipment and programs |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7000709B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102342542B1 (en) * | 2020-06-10 | 2021-12-22 | 김민규 | Apparatus and method for verifying a document by using blockchain |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001306389A (en) | 2000-04-20 | 2001-11-02 | Casio Comput Co Ltd | Data management device and storage medium |
JP2007179492A (en) | 2005-12-28 | 2007-07-12 | Fujitsu Ltd | Division program, connection program and information processing method |
JP2008134719A (en) | 2006-11-27 | 2008-06-12 | Fuji Xerox Co Ltd | Device for determining identity of structured document |
JP2015052821A (en) | 2013-09-05 | 2015-03-19 | 株式会社東芝 | Communication device and communication method |
-
2017
- 2017-06-09 JP JP2017114415A patent/JP7000709B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001306389A (en) | 2000-04-20 | 2001-11-02 | Casio Comput Co Ltd | Data management device and storage medium |
JP2007179492A (en) | 2005-12-28 | 2007-07-12 | Fujitsu Ltd | Division program, connection program and information processing method |
JP2008134719A (en) | 2006-11-27 | 2008-06-12 | Fuji Xerox Co Ltd | Device for determining identity of structured document |
JP2015052821A (en) | 2013-09-05 | 2015-03-19 | 株式会社東芝 | Communication device and communication method |
Also Published As
Publication number | Publication date |
---|---|
JP2018206303A (en) | 2018-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10067931B2 (en) | Analysis of documents using rules | |
US10140263B2 (en) | System and method for generating task-embedded documents | |
JP3879350B2 (en) | Structured document processing system and structured document processing method | |
US20040015782A1 (en) | Templating method for automated generation of print product catalogs | |
RU2579888C2 (en) | Universal presentation of text to support various formats of documents and text subsystem | |
JP2010129057A (en) | Information processor, display data translation method, and program | |
KR20120051419A (en) | Apparatus and method for extracting cascading style sheet | |
JP2016091244A (en) | Information processing device and program | |
WO2007035815A2 (en) | An electronic publishing system and method for managing publishing requirements in a neutral format | |
JP7000709B2 (en) | Information processing equipment and programs | |
JP5028022B2 (en) | Printing apparatus and document printing method | |
JP2002073598A (en) | Document processor and method of processing document | |
US9940305B2 (en) | Preparation of textual content | |
JP6045393B2 (en) | Information processing system | |
JP2001034611A (en) | Reading information output device and recording medium | |
KR20140147438A (en) | An apparatus, method and recording medium for Markup parsing | |
JP2007265429A (en) | Document conversion system, document conversion method, and computer readable storage medium storing document conversion program | |
JP5238560B2 (en) | Translation apparatus, method, and program | |
JP2007279795A (en) | System for deciding whether or not screen to be displayed by program satisfy specification | |
JP3966086B2 (en) | Document processing apparatus and method | |
US7830542B2 (en) | Printing data creation program and printing data processing apparatus | |
JP7083473B2 (en) | Input support device | |
JP2012230460A (en) | Machine translation system, method, and program | |
JP5232748B2 (en) | Workflow display support apparatus and workflow display program | |
JP4294386B2 (en) | Different notation normalization processing apparatus, different notation normalization processing program, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200521 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210415 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210420 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210602 |
|
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: 20211124 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20211207 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7000709 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |