JP7270876B2 - program - Google Patents
program Download PDFInfo
- Publication number
- JP7270876B2 JP7270876B2 JP2018216910A JP2018216910A JP7270876B2 JP 7270876 B2 JP7270876 B2 JP 7270876B2 JP 2018216910 A JP2018216910 A JP 2018216910A JP 2018216910 A JP2018216910 A JP 2018216910A JP 7270876 B2 JP7270876 B2 JP 7270876B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- web browser
- unit
- character recognition
- pen
- 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
Description
本発明はウェブブラウザと、ウェブブラウザと同じ端末上で実行されるプログラムが通信し、ウェブブラウザに任意の情報を送信し、またウェブブラウザ上で入力された手書き情報を文字認識するシステムに関するものである。 The present invention relates to a system for communicating between a web browser and a program executed on the same terminal as the web browser, sending arbitrary information to the web browser, and recognizing characters of handwritten information input on the web browser. be.
タブレット型端末およびスマートフォンが普及する中で、ウェブブラウザ上で入力された手書き情報を高度に処理する方法が求められている。 With the spread of tablet terminals and smart phones, there is a demand for advanced processing methods for handwritten information input on web browsers.
ウェブブラウザ上で、スタイラスペンを用いた手書き情報を取得する方法として、ウェブブラウザが備えるJavaScript(登録商標)のAPIを用いて、ウェブブラウザにペン入力を行った際のイベントから、スタイラスペンの入力情報を取得する方法が知られている。
しかし、従来のJavaScriptのAPIを用いた取得方法は、取得できる情報がウェブブラウザの種類によってばらつきがあり、一貫性のある手書き情報が取得できない。
また非特許文献1によれば、手書き情報を処理する一例として、手書き情報を、ウェブブラウザから、JAVA(登録商標)アプレットなどウェブブラウザ上にホストされたプログラムに送信し、ウェブブラウザ上のプログラムで文字認識を行い、ウェブブラウザに返却することで、文字列を取得する方法が提案されている。
しかし、従来のウェブブラウザ上のプログラムで文字認識を行う方法は、JAVAアプレットやActiveX(登録商標)やAdobeFlash(登録商標)などで作成されたプログラムをウェブブラウザごとにインストールする必要があり、またプログラムをウェブブラウザ上でホストするためのプラグイン技術自体が、ウェブブラウザの種類によって対応していない、または開発が終了しているか、終了予定であるといった問題があり、ユーザーが容易に利用できない状態である。
本発明の目的は、ウェブブラウザから手書き情報または任意の情報を取得し、また手書き情報を文字認識するための、ウェブブラウザの種類に依存しない高機能な方法を提供することである。
As a method of acquiring handwritten information using a stylus pen on a web browser, the JavaScript (registered trademark) API provided by the web browser is used to detect stylus pen input from events when pen input is performed on the web browser. Methods of obtaining information are known.
However, with conventional acquisition methods using JavaScript APIs, the information that can be acquired varies depending on the type of web browser, and consistent handwritten information cannot be acquired.
According to Non-Patent Document 1, as an example of processing handwritten information, handwritten information is sent from a web browser to a program hosted on the web browser, such as a JAVA (registered trademark) applet, and the program on the web browser A method of acquiring a character string by performing character recognition and returning it to a web browser has been proposed.
However, conventional methods of character recognition using programs on web browsers require programs created with JAVA applets, ActiveX (registered trademark), Adobe Flash (registered trademark), etc. to be installed in each web browser. The plug-in technology itself for hosting on web browsers does not support depending on the type of web browser, or development has been completed or is scheduled to be completed, making it difficult for users to use. be.
SUMMARY OF THE INVENTION It is an object of the present invention to provide a highly functional method for obtaining handwritten information or arbitrary information from a web browser and performing character recognition on the handwritten information, independent of the type of web browser.
ウェブブラウザ部と、ウェブブラウザ部と同じ端末上で実行されるプログラム部がローカルループバック接続によって通信を確立する。
プログラム部が、ウェブブラウザ部に対してメッセージフックを行い、ウェブブラウザ部上で入力された入力手段の情報、またはウェブブラウザ部の任意の情報、またはその他の任意の情報を取得し、取得した情報を、プログラム部がウェブブラウザ部に送信することで、ウェブブラウザの種類によらず、一貫性のある手書き情報、またはウェブブラウザ部の任意の情報、またはその他の任意の情報を、ウェブブラウザ部に提供できる。
また、得られた手書き情報を、ウェブブラウザ部がプログラム部に送信し、プログラム部が備える文字認識部が、手書き情報を元に文字認識を行い、文字認識結果をウェブブラウザ部に送信することによって、ウェブブラウザの種類によらず、文字認識を行い、文字認識結果をウェブブラウザ部に提供できる。
A web browser unit and a program unit running on the same terminal as the web browser unit establish communication through a local loopback connection.
Information obtained by the program part performing a message hook to the web browser part and obtaining information of input means input on the web browser part, arbitrary information of the web browser part, or other arbitrary information is sent by the program unit to the web browser unit, regardless of the type of web browser, consistent handwritten information, arbitrary information in the web browser unit, or other arbitrary information is sent to the web browser unit. can provide.
In addition, the web browser unit transmits the obtained handwritten information to the program unit, the character recognition unit provided in the program unit performs character recognition based on the handwritten information, and transmits the character recognition result to the web browser unit. , character recognition can be performed regardless of the type of web browser, and the character recognition result can be provided to the web browser unit.
図1は、手書き情報、またはウェブブラウザ部の任意の情報、またはその他の任意の情報を取得し、また手書き情報を文字認識してウェブブラウザ部に送信するためのシステムの実施形態を例示する機能ブロック図である。 FIG. 1 is a function illustrating an embodiment of a system for acquiring handwritten information, or any information in a web browser unit, or any other information, and for character recognition of the handwritten information and transmission to the web browser unit. It is a block diagram.
端末101は、タブレット型端末、またはスマートフォン、またはその他の任意のコンピューターデバイスでありうる。
また、端末101は、CPU102とメモリ103と画面104と記憶装置105を備え、さらに必要であればネットワークインターフェース106を備える。
また、端末101は、メモリ103上にループバックインターフェース107を配置する。
また、端末101が備える画面104はタッチパネルであり、スタイラスペン、またはタッチ操作、またはその他の任意の手書き入力手段を受け付ける。
また、端末101は、メモリ103上にウェブブラウザ部113とプログラム部119を配置する。
Terminal 101 may be a tablet terminal, or a smart phone, or any other computing device.
The terminal 101 also includes a
Also, the terminal 101 arranges a
The
The terminal 101 also has a
ループバックインターフェース107は、端末101によってメモリ103上に配置され、ローカルループバックアドレスを設定した仮想ネットワークインターフェースである。
ループバックインターフェース107に設定されるローカルループバックアドレスは、端末自身を表す、127.0.0.0から127.255.255.255の範囲の任意のIPv4のIPアドレス、または0:0:0:0:0:0:0:1のIPv6のIPアドレスでありうる。
The
The local loopback address set in the
入力手段111は、指か、またはマウスか、またはスタイラスペンか、または手書き情報の入力が可能な任意の入力手段でありうる。
また、入力手段111がスタイラスペンの場合、入力手段111および画面104はデジタイザーの機能を備えうる。
入力手段111および画面104が備えるデジタイザーの機能は、画面104が、画面104と入力手段111の入力部位が接触している状態を入力として検知し、さらに画面104が、画面104と入力手段111の入力部位が接触せず、少し離れた状態(以降、この状態を「ホバー」と呼称する)を入力として検知することが出来る。
The input means 111 can be a finger, a mouse, a stylus pen, or any input means capable of inputting handwritten information.
Also, if the input means 111 is a stylus pen, the input means 111 and the
The input means 111 and the
ウェブブラウザ部113は、HTML5準拠の任意のウェブブラウザでありうる。
また、ウェブブラウザ部113は、記憶装置105またはネットワークインターフェース106を使用して、任意のファイルシステムまたはウェブサーバーから、HTMLコンテンツを取得し、ウェブブラウザ部113上にHTMLコンテンツ部114として構築する。
The
Also, the
HTMLコンテンツ部114はHTMLコンテンツを含む様々なウェブベースのコンテンツを含むことが出来る。
また、HTMLコンテンツ部114はページ要素115と組込ウェブサーバー通信部117を備える。
The HTML content portion 114 can contain various web-based content, including HTML content.
HTML content portion 114 also includes
ページ要素115はHTMLタグ、またはその他の任意のウェブベースのコンテンツでありうる。
また、ページ要素115は手書き入力112を受信して、手書き情報116を生成し、手書き情報116を組込ウェブサーバー通信部117に送信することが出来る。
また、ページ要素115は、要素内に任意の画像情報を描画可能である場合、手書き情報116が保持する一連の入力情報を筆跡として描画しても良い。
Also, if the
手書き情報116は、手書き入力112の一連の入力情報の配列、または手書き入力112の筆跡を記録した画像情報でありうる。
また、手書き情報116は、手書き入力112の位置情報、または手書き入力112のその他の任意の情報を含みうる。
組込ウェブサーバー通信部117は、JavaScript、またはその他の任意のウェブベースの実行可能コードでありうる。
また、組込ウェブサーバー通信部117は、ページ要素115から取得した手書き情報116、または手書き情報116を文字認識する命令、またはその他の任意の情報を、ローカルループバック接続118を介して、組込ウェブサーバー部121に送信することができる。
また、組込ウェブサーバー通信部117は、組込ウェブサーバー部121から、文字認識結果の文字列を受信し、ページ要素115に文字認識結果124として設定することができる。
The embedded
Embedded web
The embedded web
ローカルループバック接続118は、組込ウェブサーバー通信部117をクライアント、組込ウェブサーバー部121をサーバーとした、HTTP、またはHTTPS、またはWebSocket、またはWebSockets over SSL/TLS、またはその他の任意のRFC準拠のプロトコルの通信チャンネルでありうる。
また、ローカルループバック接続118は、組込ウェブサーバー通信部117から、組込ウェブサーバー部121によって待ち受けしているループバックインターフェース107上の所定のポートに接続し、通信を確立する。
また、ローカルループバック接続118の行う通信は、組込ウェブサーバー通信部117がリクエストを組込ウェブサーバー部121に送信し、組込ウェブサーバー部121がレスポンスを組込ウェブサーバー通信部117に返信する、いわゆるプル型通信か、または確立された通信によって組込ウェブサーバー通信部117から組込ウェブサーバー部121に送信するのみでなく、組込ウェブサーバー部121から組込ウェブサーバー通信部117に送信する、いわゆるプッシュ型通信でありうる。
ローカルループバック接続118のプロトコルがHTTP、またはHTTPSなどプッシュ型通信をサポートしない場合、Cometなど疑似的にプッシュ型通信を行う実装をしてもよい。
また、ローカルループバック接続118がSSL/TLSを使用して暗号化通信を行う場合、暗号化通信に使用される公開鍵証明書は、自己署名証明書、または第三者が署名した証明書でありうる。
公開鍵証明書が第三者が署名した証明書の場合、証明書はSNIまたはSANsのワイルドカードの機能を備える証明書でありうる。
当業者は組込ウェブサーバー部121にワイルドカードの機能を備える証明書を設置し、ドメインまたはサブドメインのAレコードにローカルループバックアドレスを設定し、組込ウェブサーバー通信部117がローカルループバック接続118を行う際に、ローカルループバックアドレスを設定したドメインまたはサブドメインを通して接続するよう構成することで、ウェブブラウザに信頼される証明書を、ウェブブラウザ部113に提示できる。
Also, the
In the communication performed by the
If the protocol of the
Also, when the
If the public key certificate is a third-party signed certificate, the certificate can be a certificate with wildcard capabilities for SNI or SANs.
A person skilled in the art installs a certificate with a wildcard function in the embedded
プログラム部119は、ウェブブラウザ部113と別のプロセスで実行されるアプリケーションである。
また、プログラム部119は、ウェブブラウザ部113と同じ端末上で実行される。
また、プログラム部119は、OSが備えるネイティブAPIを呼び出す機能を備えうる。
プログラム部119が呼び出すネイティブAPIは、ウェブブラウザが備えるJavaScriptからアクセスできないOSの任意の機能にアクセスする機能や、端末に接続された任意の機器にアクセスする機能を備える。
また、プログラム部119は、ひとつまたは複数の任意のモジュールまたはアプリケーションでありうる。
また、プログラム部119は、記憶装置105に保存され、端末101によって、メモリ103に配置される。
また、プログラム部119は、インタープリタ型言語、またはコンパイラ型言語、またはその他の任意のプログラミング言語により作成される。
また、プログラム部119は、任意のプログラムにホストされる、または任意のランタイムによって解釈される、またはプログラム部119自体が含む命令による実行、またはその他の任意の実行方法によって実行される。
また、プログラム部119は、OS起動時のスタートアップによる起動、またはユーザーの操作を要因とする起動、またはその他のプログラムの処理を要因とする起動、またはその他の任意の要因によって、起動される。
また、プログラム部119は、文字認識部120と、組込ウェブサーバー部121を備え、さらに入力手段111がスタイラスペンである場合はペン認識部122を備える。
Program unit 119 is an application that is executed in a process separate from
Also, the program unit 119 is executed on the same terminal as the
Also, the program unit 119 can have a function of calling a native API provided by the OS.
The native API called by the program unit 119 has a function of accessing arbitrary functions of the OS that cannot be accessed from JavaScript provided in the web browser, and a function of accessing arbitrary devices connected to the terminal.
Also, the program portion 119 can be one or more arbitrary modules or applications.
Also, the program portion 119 is stored in the
Also, the program portion 119 is written in an interpreter language, a compiler language, or any other programming language.
Also, program portion 119 may be hosted in any program, interpreted by any runtime, or executed by instructions contained in program portion 119 itself, or by any other method of execution.
Also, the program unit 119 is started by startup when the OS is started, by a user's operation, by other program processing, or by any other factor.
The program unit 119 also includes a
組込ウェブサーバー部121は、ループバックインターフェース107上の所定のポートで組込ウェブサーバー通信部117のローカルループバック接続118を待ち受けすることができる。
また、組込ウェブサーバー部121は、ローカルループバック接続118がHTTPまたはHTTPSである場合、Cross-Origin Resource Sharingを実装して他ドメインとの通信を許可する。
また、組込ウェブサーバー部121は、任意の制御フローに基づき、組込ウェブサーバー通信部117、または文字認識部120、またはペン認識部122のいずれかと通信し、任意の情報を送受信することができる。
また、組込ウェブサーバー部121は、組込ウェブサーバー通信部117から受信した手書き情報116を、蓄積することができる。
Embedded
Also, when the
In addition, the embedded
Embedded
文字認識部120は、組込ウェブサーバー通信部117から組込ウェブサーバー部121に送信され、組込ウェブサーバー部121から文字認識部120に受信した手書き情報116について、文字認識を実行し、任意の長さの文字列に変換することができる。
また、手書き情報116が手書き入力112の一連の入力情報の配列の場合、文字認識部120の認識機能はオンライン手書き文字認識でありうる。
また、手書き情報116が手書き入力112の筆跡を記録した画像情報の場合、文字認識部120の認識機能はオフライン手書き文字認識でありうる。
また、文字認識部120の認識機能は、文字認識部120に備えられた認識機能、またはサードパーティ製のアプリケーションから提供される認識機能、またはOSが備えるAPIから提供される認識機能、またはその他の任意の認識機能でありうる。
また、文字認識部120は、文字認識結果を組込ウェブサーバー部121に送信し、組込ウェブサーバー部121は受信した文字認識結果を、ローカルループバック接続118を介して組込ウェブサーバー通信部117に送信することができる。
Alternatively, if
Also, if the
Further, the recognition function of the
Further, the
組込ウェブサーバー通信部117は、受信した文字認識結果をページ要素115に文字認識結果124として設定する。
Embedded web
入力手段111がスタイラスペンである場合、プログラム部119は、さらにペン認識部122を備えることができる。
If the input means 111 is a stylus pen, the program section 119 can further include a
ペン認識部122は、ウェブブラウザ部113に対してメッセージフック123を設定して処理を挿入し、メッセージフック123によって挿入された処理によって、手書き入力112の情報を、ウェブブラウザ部113から取得することができる。取得する情報は、手書き入力112の位置情報、または筆圧、または傾き、または手書き入力112を行っている入力部位、または入力手段111が備えるスイッチの状態、またはその他の任意の手書き入力112の情報、またはその他の任意の情報でありうる。
さらに必要な場合、ペン認識部122は、メッセージフック123によって挿入された処理によって、ウェブブラウザ部113が備えるJavaScriptのAPIから取得出来ない任意の情報を、ウェブブラウザ部113から取得してもよい。
また、ペン認識部122は、入力手段111のホバー状態を検知できる。
また、ペン認識部122は、取得した情報を組込ウェブサーバー部121に送信し、組込ウェブサーバー部121は受信した情報を、ローカルループバック接続118を介して組込ウェブサーバー通信部117に送信することができる。
The
Furthermore, if necessary, the
Also, the
Further, the
メッセージフック123は、OSからウェブブラウザ部113に送信されるメッセージの受信や、システムコールに対して割込みを行うことによって、本来ウェブブラウザ部113が受け持つ処理に対して、任意の処理を挿入する機能である。
メッセージフック123の機能を備えるOSは、Windows(登録商標)、MacOS(登録商標)、Linux(登録商標)、iOS(登録商標)、Android(登録商標)、その他、グローバルフック、システムフック、動的バインド、イベントのディスパッチなど、メッセージフックと呼べるような機能をサポートしているOSでありうる。
The
OSs that have the function of the
組込ウェブサーバー通信部117は組込ウェブサーバー部121から受信した入力手段111の情報と、さらに必要であれば組込ウェブブラウザ部113が備えるJavaScriptのAPIから得られるタッチ情報とを統合し、手書き情報に変換する。
The embedded web
当業者は以上の通り構成することによって、ウェブブラウザの種類によらず、手書き情報を文字認識して取得することができ、さらに入力手段111がスタイラスペンである場合は、ウェブブラウザの実装に依存せず一貫したスタイラスペンの情報を取得でき、かつスタイラスペンと、その他のタッチ入力を判別するパームリジェクション機能、またはスタイラスペンの入力部位を判定し、消しゴムの動作を実現する機能、またはスタイラスペンの入力部位が画面に接触している、または入力部位がホバー状態の場合に、文字認識処理の実行を保留し、スタイラスペンの入力部位が画面に接触していない、かつホバー状態でない場合に文字認識処理を実行することで、ユーザーの所望するタイミングで文字認識を実行する機能、またはその他の任意の機能を実装することができる。 A person skilled in the art can obtain handwritten information by recognizing characters regardless of the type of web browser by configuring as described above. A palm rejection function that can acquire consistent stylus pen information regardless of whether the stylus pen or other touch inputs are detected, or a function that detects the input area of the stylus pen and implements eraser operation, or a stylus pen is in contact with the screen or is in a hover state, the character By executing the recognition process, it is possible to implement a function of executing character recognition at a timing desired by the user or any other function.
図2は、プログラム部119が文字認識処理を実行するためのフローチャートである。 FIG. 2 is a flow chart for program section 119 to execute character recognition processing.
工程201で、プログラム部119が、ループバックインターフェース107の所定のポートを開き、ローカルループバック接続118を待ち受ける。
At
工程202で、ウェブブラウザ部113が、プログラム部119が待ち受けているポートに接続し、通信を確立する。
In
工程203で、プログラム部119が、ウェブブラウザ部113がローカルループバック接続118を介してプログラム部119に送信した手書き情報116を、受信する。
At
工程204で、プログラム部119が、受信した手書き情報116について、文字認識を実行し、文字認識結果を作成する。
At
工程205で、プログラム部119が、作成した文字認識結果を、ローカルループバック接続118を介して、ウェブブラウザ部113に送信する。
At
図3は、プログラム部119がメッセージフック123を行い、メッセージフック123によってウェブブラウザ部113に挿入された処理によって、ウェブブラウザ部113の任意の情報を取得するためのフローチャートである。
FIG. 3 is a flow chart for program section 119 executing
工程301で、プログラム部119が、ループバックインターフェース107の所定のポートを開き、ローカルループバック接続118を待ち受ける。
At
工程302で、ウェブブラウザ部113が、プログラム部119が待ち受けているポートに接続し、通信を確立する。
In
工程303で、プログラム部119が、メッセージフック123を行い、ウェブブラウザ部113に処理を挿入する。
At
工程304で、プログラム部119が、メッセージフック123によってウェブブラウザ部113に挿入された処理によって、ウェブブラウザ部113から任意の情報を取得する。
At
工程305で、プログラム部119が、ウェブブラウザ部113から取得した情報を、ローカルループバック接続118を介して、ウェブブラウザ部113に送信する。
At
図4は、入力手段111がスタイラスペンの場合に、詳細なペン情報を取得するためのフローチャートである。 FIG. 4 is a flowchart for acquiring detailed pen information when the input means 111 is a stylus pen.
ペン情報取得400は、ペン情報を取得する処理を表す。 Pen information acquisition 400 represents processing for acquiring pen information.
組込ウェブサーバー部121はペン認識部122にメッセージフック指示401を送信する。
Embedded
ペン認識部122はウェブブラウザ部113にメッセージフック123を行う。
The
ウェブブラウザ部113は入力手段111から手書き入力112を受信する。
ウェブブラウザ部113は、メッセージフック123によって挿入された処理によって、ペン認識部122にペン詳細情報402を送信する。
ペン詳細情報402は、入力手段111が画面104に接触している、または入力手段111がホバー状態の場合に取得される。
また、ペン詳細情報402が含む情報は、手書き入力112の位置情報、または入力手段111の種類、または入力手段111の画面接触部位、または入力手段111が備えるスイッチの状態、または入力手段111の任意の情報、または手書き入力112の任意の情報を含む。
また、ペン詳細情報402の送信方法は、ソケット、または名前付きパイプ、またはメモリ共有、またはウィンドウメッセージ送信、または任意のプロセス間通信でありうる。
The pen detailed information 402 is acquired when the input means 111 is in contact with the
Further, the information included in the pen detailed information 402 is the position information of the
Also, the method of sending pen details 402 can be sockets, or named pipes, or memory sharing, or window messaging, or any inter-process communication.
ペン認識部122は組込ウェブサーバー部121にペン詳細情報403を送信する。
The
組込ウェブサーバー部121は組込ウェブサーバー通信部117にペン詳細情報404を送信する。
Embedded
さらに必要であれば、ウェブブラウザ部113が、JavaScriptペン情報405を、組込ウェブサーバー通信部117に送信してもよい。
Furthermore, if necessary, the
JavaScriptペン情報405は、ウェブブラウザ部113が備えるJavaScriptのAPIから取得される、タッチ情報である。
また、JavaScriptペン情報405に含まれるタッチ情報は、手書き入力112の位置情報、または入力手段111の種類、または入力手段111の画面接触部位、または入力手段111が備えるスイッチの状態、または入力手段111の任意の情報、または手書き入力112の任意の情報を含むことができる。
The
Further, the touch information included in the
組込ウェブサーバー通信部117は、ウェブブラウザ部102からJavaScriptペン情報405を直接受信することで、処理を挟まず情報を取得することができ、遅延が少なく精度の高い位置情報を取得する事ができる。そのため、ペン詳細情報404のみで処理を行うよりも、遅延が少なく精度の高い処理を行うことができる。
By directly receiving the
組込ウェブサーバー通信部117は、ペン詳細情報404および、必要であればJavaScriptペン情報405を元に、任意の処理を実行する。
The embedded web
当業者は以上の通り構成することによって、ウェブブラウザの種類によらず、スタイラスペンの詳細で精度の高い情報を、遅延が少なく取得することができ、任意の処理を実装することができる。 By configuring as described above, those skilled in the art can acquire detailed and highly accurate information about the stylus pen with little delay and implement arbitrary processing regardless of the type of web browser.
図5は、入力手段111がスタイラスペンの場合に、ペン情報取得400によって取得したペン情報を元に、パームリジェクション機能を実行するためのフローチャートである。 FIG. 5 is a flowchart for executing the palm rejection function based on the pen information acquired by pen information acquisition 400 when the input means 111 is a stylus pen.
ウェブブラウザ部113および組込ウェブサーバー通信部117および組込ウェブサーバー部121はペン情報取得400を実行する。
組込ウェブサーバー部121は、ペン位置情報501を、組込ウェブサーバー通信部117に送信する。
Embedded
ウェブブラウザ部113は、タッチ位置情報502を、組込ウェブサーバー通信部117に送信する。
判定条件タッチがペン範囲内の場合503は、ホバー状態の時点から先行して取得されているペン位置情報501を基準とした任意の範囲内に、タッチ位置情報502の位置が重なるかを判定する。
判定条件タッチがペン範囲内の場合503が成立する場合、手書き情報作成504を行い、タッチ位置情報502を元に、手書き情報116を作成する。
If the touch is within the pen range determination condition 503, it is determined whether the position of the
If the determination condition 503 when the touch is within the pen range is established,
当業者は以上の通り構成することによって、タッチ位置情報502の中からスタイラスペンの情報のみを取得し、その他のタッチ位置情報を除外することができ、パームリジェクションの機能を実装することができる。
By configuring as described above, a person skilled in the art can acquire only the information of the stylus pen from the
図6は、入力手段111がスタイラスペンの場合に、ペン情報取得400によって取得したペン情報を元に、消しゴム機能を実行するためのフローチャートである。 FIG. 6 is a flowchart for executing the eraser function based on the pen information acquired by pen information acquisition 400 when the input means 111 is a stylus pen.
ウェブブラウザ部113および組込ウェブサーバー通信部117および組込ウェブサーバー部121はペン情報取得400を実行する。
組込ウェブサーバー部121は、ペン部位情報601を、組込ウェブサーバー通信部117に送信する。
Embedded
ウェブブラウザ部113は、タッチ位置情報502を、組込ウェブサーバー通信部117に送信する。
判定条件ペン部位が消しゴムを表す場合603は、ペン部位情報601が消しゴムである場合に、タッチ位置情報502が与えられたかを判定する。
判定条件ペン部位が消しゴムを表す場合603が成立する場合、削除処理604を行い、タッチ位置情報502の直下に存在する手書き情報116を削除する。
A determination condition 603 when the pen part represents an eraser determines whether the
If the determination condition that the pen part represents an eraser 603 is satisfied,
さらに削除処理604は、タッチ位置情報502の直下に存在する文字認識結果124を削除してもよい。
Furthermore, the
当業者は以上の通り構成することによって、タッチ位置情報502がスタイラスペンの消しゴムを表す部位によって与えられているかを判定することができ、消しゴムの機能を実装することができる。
By configuring as described above, those skilled in the art can determine whether the
図7は、ペン情報取得400によって取得したペン情報を元に、手書き情報を文字認識する処理を実行するタイミングを制御するためのフローチャートである。 FIG. 7 is a flowchart for controlling the timing of performing character recognition processing for handwritten information based on the pen information acquired by pen information acquisition 400 .
ウェブブラウザ部113および組込ウェブサーバー通信部117および組込ウェブサーバー部121はペン情報取得400を実行する。
組込ウェブサーバー部121は、ペンホバー情報701を組込ウェブサーバー通信部117に送信する。
Embedded
判定条件ペンが認識範囲外の場合702は、ペンが画面104に接触しておらず、かつペンがホバー状態でないかを判定する。
判定条件ペンが認識範囲外の場合702が成立する場合、組込ウェブサーバー通信部117は、文字認識指示703を組込ウェブサーバー部121に送信する。
If the determination condition pen is outside the recognition range 702, it is determined whether the pen is not in contact with the
If the determination condition Pen is out of recognition range 702 is satisfied, the embedded web
組込ウェブサーバー部121は、文字認識トリガー発動704を行い、文字認識の実行トリガーを発動させる。
The embedded
当業者は以上の通り構成することによって、ユーザーが任意のタイミングで手書き情報の文字認識を実行する機能を実装することができる。 By configuring as described above, a person skilled in the art can implement a function that allows the user to perform character recognition of handwritten information at any timing.
図8は、手書き情報を文字認識するためのフローチャートである。 FIG. 8 is a flow chart for character recognition of handwritten information.
組込ウェブサーバー通信部117は、手書き情報取得801を実行し、ページ要素115から手書き情報116を取得する。
Embedded web
組込ウェブサーバー通信部117は、手書き情報送信802を実行し、受信した手書き情報を組込ウェブサーバー部121に送信する。
Embedded web
組込ウェブサーバー部121は、手書き情報送信803を実行し、受信した手書き情報を文字認識部120に送信する。
また、組込ウェブサーバー部121は、受信した手書き情報を一時的に蓄積してもよい。
Embedded
Embedded
判定条件文字認識トリガーが発動した場合804は、任意の条件が満たされることによって、文字認識の実行トリガーが発動したかどうかを判定する。
判定条件文字認識トリガーが発動した場合804が成立する場合、組込ウェブサーバー通信部117は、文字認識指示805を組込ウェブサーバー部121に送信する。
A determination condition if a character recognition trigger has been activated 804 determines whether or not a character recognition execution trigger has been activated by satisfying an arbitrary condition.
If the determination condition “when the character recognition trigger is activated” 804 is established, the embedded web
組込ウェブサーバー部121は、文字認識指示806を文字認識部120に送信する。
Embedded
文字認識部120は、文字認識処理807を実行し、手書き情報送信803によって受信した手書き情報を、任意の長さの文字列に変換する。
また、文字認識部120が文字認識を実行する際の認識機能は、文字認識部120に備えられた認識機能、またはサードパーティ製のアプリケーションから提供される認識機能、またはOSが備えるAPIから提供される認識機能、またはその他の任意の認識機能でありうる。
また、文字認識部120は、文字認識結果送信808を実行し、変換した文字列を文字認識結果として、組込ウェブサーバー部121に送信する。
The
Further, the recognition function when the
組込ウェブサーバー部121は、文字認識結果送信809を実行し、受信した文字認識結果を組込ウェブサーバー通信部117に送信する。
Embedded
組込ウェブサーバー通信部117は、文字認識結果設定810を実行し、受信した文字認識結果を、ページ要素115に文字認識結果124として設定する。
Embedded web
さらに文字認識結果設定810は、ページ要素115に文字認識結果124を設定すると共に、ページ要素115から文字認識結果124と対応する手書き情報116を削除し、手書き情報を文字認識結果によって得られた文字列に置き換えても良い。
Further, the character recognition result setting 810 sets the
当業者は以上の通り構成することによって、ウェブブラウザの種類によらず、手書き情報を文字認識する機能を実装することができる。 By configuring as described above, a person skilled in the art can implement a function of character recognition of handwritten information regardless of the type of web browser.
101 端末
102 CPU
103 メモリ
104 画面
105 記憶装置
106 ネットワークインターフェース
107 ループバックインターフェース
111 入力手段
112 手書き入力
113 ウェブブラウザ部
114 HTMLコンテンツ部
115 ページ要素
116 手書き情報
117 組込ウェブサーバー通信部
118 ローカルループバック接続
119 プログラム部
120 文字認識部
121 組込ウェブサーバー部
122 ペン認識部
123 メッセージフック
124 文字認識結果
201 工程ローカルループバック接続を待ち受け
202 工程ウェブブラウザ部と通信を確立
203 工程手書き情報を受信
204 工程文字認識
205 工程ウェブブラウザ部に文字認識結果を送信
301 工程ローカルループバック接続を待ち受け
302 工程ウェブブラウザ部と通信を確立
303 工程メッセージフックによりウェブブラウザ部に処理挿入
304 工程挿入した処理により情報受信
305 工程ウェブブラウザ部に情報送信
400 ペン情報取得
401 メッセージフック指示
402 ペン詳細情報
403 ペン詳細情報
404 ペン詳細情報
405 JavaScriptペン情報
501 ペン位置情報
502 タッチ位置情報
503 判定条件タッチがペン範囲内の場合
504 手書き情報作成
601 ペン部位情報
603 判定条件ペン部位が消しゴムを表す場合
604 削除処理
701 ペンホバー情報
702 判定条件ペンが認識範囲外の場合
703 文字認識指示
704 文字認識トリガー発動
801 手書き情報取得
802 手書き情報送信
803 手書き情報送信
804 判定条件文字認識トリガーが発動した場合
805 文字認識指示
806 文字認識指示
807 文字認識処理
808 文字認識結果送信
809 文字認識結果送信
810 文字認識結果設定
101 terminal 102 CPU
103 Memory 104 Screen 105 Storage Device 106 Network Interface 107 Loopback Interface 111 Input Means 112 Handwritten Input 113 Web Browser Part 114 HTML Content Part 115 Page Elements 116 Handwritten Information 117 Embedded Web Server Communication Part 118 Local Loopback Connection 119 Program Part 120 Character Recognition Part 121 Embedded Web Server Part 122 Pen Recognition Part 123 Message Hook 124 Character Recognition Result 201 Wait for Process Local Loopback Connection 202 Establish Communication with Process Web Browser Part 203 Receive Process Handwritten Information 204 Process Character Recognition 205 Process Web Transmit character recognition result to browser 301 Wait for process local loopback connection 302 Establish communication with process web browser 303 Insert process into web browser by process message hook 304 Receive information by inserted process 305 Process web browser Information transmission 400 Pen information acquisition 401 Message hook instruction 402 Pen detailed information 403 Pen detailed information 404 Pen detailed information 405 JavaScript pen information 501 Pen position information 502 Touch position information 503 Judgment condition When touch is within pen range 504 Handwritten information creation 601 Pen Part information 603 Judgment condition When the pen part represents an eraser 604 Deletion processing 701 Pen hover information 702 Judgment condition When the pen is outside the recognition range 703 Character recognition instruction 704 Character recognition trigger activation 801 Handwritten information acquisition 802 Handwritten information transmission 803 Handwritten information transmission 804 Judgment condition Character recognition trigger activated 805 Character recognition instruction 806 Character recognition instruction 807 Character recognition processing 808 Character recognition result transmission 809 Character recognition result transmission 810 Character recognition result setting
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018216910A JP7270876B2 (en) | 2018-11-19 | 2018-11-19 | program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018216910A JP7270876B2 (en) | 2018-11-19 | 2018-11-19 | program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020086679A JP2020086679A (en) | 2020-06-04 |
JP7270876B2 true JP7270876B2 (en) | 2023-05-11 |
Family
ID=70908089
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018216910A Active JP7270876B2 (en) | 2018-11-19 | 2018-11-19 | program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7270876B2 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008186160A (en) | 2007-01-29 | 2008-08-14 | Fuji Xerox Co Ltd | Document display apparatus and program |
JP2011209858A (en) | 2010-03-29 | 2011-10-20 | Sharp Corp | Multifunction apparatus, system for controlling the same, program and recording medium |
JP2014110061A (en) | 2014-01-09 | 2014-06-12 | Toshiba Corp | System and data providing method and electronic equipment |
JP2014535110A (en) | 2011-10-25 | 2014-12-25 | グーグル・インコーポレーテッド | Gesture-based search |
JP2015518607A (en) | 2012-04-10 | 2015-07-02 | スポティファイ アーベー | System and method for controlling local applications through web pages |
US20170142111A1 (en) | 2015-11-17 | 2017-05-18 | Avaya Inc. | Accessing local information based on a browser session |
-
2018
- 2018-11-19 JP JP2018216910A patent/JP7270876B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008186160A (en) | 2007-01-29 | 2008-08-14 | Fuji Xerox Co Ltd | Document display apparatus and program |
JP2011209858A (en) | 2010-03-29 | 2011-10-20 | Sharp Corp | Multifunction apparatus, system for controlling the same, program and recording medium |
JP2014535110A (en) | 2011-10-25 | 2014-12-25 | グーグル・インコーポレーテッド | Gesture-based search |
JP2015518607A (en) | 2012-04-10 | 2015-07-02 | スポティファイ アーベー | System and method for controlling local applications through web pages |
JP2014110061A (en) | 2014-01-09 | 2014-06-12 | Toshiba Corp | System and data providing method and electronic equipment |
US20170142111A1 (en) | 2015-11-17 | 2017-05-18 | Avaya Inc. | Accessing local information based on a browser session |
Also Published As
Publication number | Publication date |
---|---|
JP2020086679A (en) | 2020-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5982586B2 (en) | Resource calls for hybrid applications | |
KR102220127B1 (en) | Method and apparatus for customized software development kit (sdk) generation | |
US9961129B2 (en) | Business transaction correlation with client request monitoring data | |
KR102218995B1 (en) | Method and apparatus for code virtualization and remote process call generation | |
US20240037208A1 (en) | Determining authentication sub-flow and client authentication based on tests transmitted to server-side software | |
JP6324388B2 (en) | Secure identification and secure identification method for computing devices | |
WO2018019241A1 (en) | Update processing method and device for terminal application, and computer storage medium | |
US20220060558A1 (en) | Systems and Methods for Platform-Independent Application Publishing to a Front-End Interface | |
JP5870471B2 (en) | Method, apparatus, and system for sharing software between terminals | |
WO2018108041A1 (en) | Remote debugging method and device, and computer storage medium | |
JP2020532784A (en) | Information transmission method and device | |
CN103365840A (en) | Web-based screenshot taking method and device | |
EP2928143A1 (en) | Page operation processing method, device and terminal | |
US10506400B2 (en) | Data download method and apparatus | |
CN108600377B (en) | Method, device, terminal and storage medium for suspending file downloading | |
US10574773B2 (en) | Method, device, terminal, server and storage medium of processing network request and response | |
CN110740118B (en) | Protocol for initiating sessions with partner sites | |
US9571557B2 (en) | Script caching method and information processing device utilizing the same | |
CN112154417A (en) | Sharing a code base between a stand-alone version and a Web-based version of an application via an emulated network communication channel | |
JP7270876B2 (en) | program | |
CN113709243A (en) | Equipment remote control method and device, electronic equipment and storage medium | |
WO2017167234A1 (en) | Method and apparatus for sharing mobile terminal content | |
CN106686037B (en) | Page detection method, device, equipment and system | |
CN113779122B (en) | Method and device for exporting data | |
WO2018113751A1 (en) | Method for setting communication shortcut and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20211102 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220825 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220928 |
|
A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20221111 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230118 |
|
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: 20230307 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230312 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7270876 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |