JP7235363B1 - Access distribution method - Google Patents
Access distribution method Download PDFInfo
- Publication number
- JP7235363B1 JP7235363B1 JP2022101695A JP2022101695A JP7235363B1 JP 7235363 B1 JP7235363 B1 JP 7235363B1 JP 2022101695 A JP2022101695 A JP 2022101695A JP 2022101695 A JP2022101695 A JP 2022101695A JP 7235363 B1 JP7235363 B1 JP 7235363B1
- Authority
- JP
- Japan
- Prior art keywords
- code
- uri
- smart terminal
- management server
- token
- 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
Abstract
【課題】サーバー障害および接続障害時でも、コードIDへのURIマッピングを行い、分散型台帳ネットワークの状態にかかわらず、URIマッピングを高速に行うアクセス分散方法を提供する。【解決手段】コード画像として特定のコード画像を用いるアクセス分散方法であって、管理サーバーがコードIDを生成することと、管理サーバーが、所定の基準に合致するコードIDに特定フラグを付与することと、特定フラグの付与されたコードIDがスマート端末に登録されることと、スマート端末がコード画像から得られた対象コードIDに基づいて自身のデータベースから対象コードIDに対応するURIを取得することと、スマート端末が自身のデータベースからURIを取得できなかった場合に、非代替トークンを用いるか又は中継サーバーに接続してURIを取得することと、スマート端末が取得したURIを用いてコンテンツにアクセスすることと、を含む。【選択図】図6The present invention provides an access distribution method that performs URI mapping to code IDs even in the event of a server failure or connection failure, and performs URI mapping at high speed regardless of the state of a distributed ledger network. An access distribution method using a specific code image as a code image, wherein the management server generates a code ID, and the management server gives a specific flag to the code ID that matches a predetermined criterion. Then, the code ID with the specific flag is registered in the smart terminal, and the smart terminal acquires the URI corresponding to the target code ID from its own database based on the target code ID obtained from the code image. and, if the smart terminal cannot obtain the URI from its own database, obtain the URI by using a non-substitutable token or by connecting to the relay server, and access the content using the URI obtained by the smart terminal. including doing and [Selection drawing] Fig. 6
Description
本開示は、インターネットサーバー、分散型台帳システムにおける非代替トークン、およびスマート端末を用いた、サーバー回避可能なアクセス分散方法に関する。 The present disclosure relates to server-evadable access distribution methods using Internet servers, non-fungible tokens in distributed ledger systems, and smart terminals.
1次元バーコードの符号は数値のみから構成されるため、2次元コードのように、URI(Uniform Resource Identifier)を直接格納することができない。1次元バーコードをコードリーダーで読取り、任意のウェブサイトに転送するためには、読み取った符号に格納されたコードIDをURIにマッピングする処理が必要である。なお、本明細書でいうURIとは、主にインターネット上などでのデータやサービス、機器などの所在情報を表すために用いられる情報である。 Since the code of the one-dimensional barcode consists of only numerical values, it cannot directly store a URI (Uniform Resource Identifier) unlike the two-dimensional code. In order to read a one-dimensional barcode with a code reader and transfer it to an arbitrary website, it is necessary to map the code ID stored in the read code to a URI. Note that the URI referred to in this specification is information mainly used to represent the location information of data, services, equipment, etc. on the Internet or the like.
一般に広く用いられているのは、インターネットサーバー上にコードIDとURIとを紐づけたデータベースを用意し、読み取った符号を中継サーバーでマッピングする方法である。しかし、イベント等で中継サーバーへ瞬間的にアクセスが集中した場合や、サーバー障害が発生したような場合には、URIのマッピングができなくなることが問題である。 A widely used method is to prepare a database in which code IDs and URIs are linked on an Internet server, and to map read codes by a relay server. However, there is a problem that URI mapping cannot be performed when access to the relay server is instantaneously concentrated due to an event or the like, or when a server failure occurs.
特表2021-519488号公報(特許文献1)の段落0018の記載によると、分散型台帳トークンのうち、非代替トークン内メタデータのURIを取得することにより、中継サーバーを経由することなく、1次元バーコードからウェブサイトやアプリ等のコンテンツに転送することができる。 According to the description in paragraph 0018 of Japanese Patent Application Publication No. 2021-519488 (Patent Document 1), by obtaining the URI of the metadata in the non-alternative token among the distributed ledger tokens, 1 Dimensional barcodes can be transferred to content such as websites and apps.
しかし、コードIDから非代替トークンを特定するトークンIDへの変換、非代替トークンからのメタデータ取得処理、の2点でネットワーク接続を必要とするため、接続障害が発生した場合には、コードIDに対応するURIの取得ができない。 However, since a network connection is required for the conversion of the code ID to the token ID that identifies the non-alternative token and the metadata acquisition process from the non-alternative token, if a connection failure occurs, the code ID URI corresponding to cannot be obtained.
また、分散台帳型ネットワークが十分に高速でない場合は、コードIDへのURIマッピングに待ち時間が発生し、コード読取りからコンテンツ転送までの処理に時間を要する。 Also, if the distributed ledger network is not sufficiently fast, a waiting time occurs in URI mapping to the code ID, and processing from code reading to content transfer takes time.
本開示に係る具体的態様は、サーバー障害および接続障害時でも、コードIDへのURIマッピングを行えること、分散型台帳ネットワークの状態にかかわらず、当該処理が高速に行えること、を解決すべき課題の1つとする。 A specific aspect of the present disclosure is to be able to perform URI mapping to a code ID even in the event of a server failure or connection failure, and to perform the processing at high speed regardless of the state of the distributed ledger network. be one of
本開示に係る方法は、概略、中継サーバーの回避と、コードIDへのURIマッピング冗長化と、を特徴とする。これにより、サーバー障害時や接続障害時でも、コードIDへのURIマッピングおよびコードリーダーからコンテンツへの転送について、速度と可用性が向上する、という技術的効果を奏する。 The method according to the present disclosure is generally characterized by the avoidance of relay servers and redundant mapping of URIs to code IDs. This has the technical effect of improving the speed and availability of URI mapping to code IDs and transfer from code readers to content even in the event of a server failure or connection failure.
本開示に係る一態様のアクセス分散方法は、ネットワークを介して相互に通信可能に接続された1以上の管理サーバー、1以上のスマート端末を含んで構成されるシステムにおいて実行可能なアクセス分散方法であって、
コード発行要求に応じて、前記管理サーバーがコードIDを生成する第1ステップと、
前記管理サーバーが、所定の基準に基づいて判断される優先度あるいは重要度が高い前記コードIDに特定フラグを付与する第2ステップと、
前記管理サーバーが、前記コードIDに所定のURIを対応付けて記憶するとともに、前記ネットワークを介して相互に通信可能な中継サーバーに当該コードID及びURIを格納させる第3ステップと、
前記管理サーバーが、前記コードIDを当該コードIDと相互に変換可能なトークンIDに変換する第4ステップと、
前記管理サーバーが、前記トークンIDと前記URIとを前記ネットワークを介して相互に通信可能な分散型台帳ネットワーク上のコンピュータに格納させる第5ステップと、
前記管理サーバーと前記スマート端末が通信し、前記特定フラグの付与された前記コードIDと当該コードIDに対応する前記URIが前記スマート端末に登録される第6ステップと、
前記スマート端末が、当該スマート端末において光学的に読み取り可能なコード画像から得られた対象コードIDに基づいて、前記スマート端末に予め格納された前記コードIDと前記URIのデータベースから前記対象コードIDに対応する前記URIを取得する第7ステップと、
前記スマート端末が、前記スマート端末に予め格納された前記データベースから前記URIを取得できなかった場合に、前記対象コードIDを変換して得られる前記トークンIDに基づいて特定される非代替トークンを用いて前記分散型台帳ネットワーク上の前記コンピュータから前記URIを取得し、又は前記中継サーバーから前記対象コードIDに対応する前記URIを取得する第8ステップと、
前記スマート端末が、前記第7ステップ又は前記第8ステップにて取得した前記URIを用いてコンテンツにアクセスする第9ステップと、
を含み、
前記コード画像は、1次元バーコード部を有して構成されており、縦方向長さと横方向長さの比が1:10~50であり、横方向長さが300ミリメートル以上である、
ことを特徴とする、アクセス分散方法である。
An access distribution method according to one aspect of the present disclosure is an access distribution method executable in a system including one or more management servers and one or more smart terminals that are communicatively connected to each other via a network. There is
a first step in which the management server generates a code ID in response to a code issuance request;
a second step in which the management server assigns a specific flag to the code ID having a high priority or importance determined based on a predetermined criterion;
a third step in which the management server associates and stores a predetermined URI with the code ID, and stores the code ID and the URI in a relay server that can communicate with each other via the network;
a fourth step in which the management server converts the code ID into a token ID that is mutually convertible with the code ID;
a fifth step in which the management server stores the token ID and the URI in a computer on a distributed ledger network that can communicate with each other via the network;
a sixth step in which the management server and the smart terminal communicate with each other, and the code ID to which the specific flag is attached and the URI corresponding to the code ID are registered in the smart terminal;
The smart terminal determines the target code ID from a database of the code ID and the URI stored in advance in the smart terminal based on the target code ID obtained from the code image that can be optically read by the smart terminal. a seventh step of obtaining the corresponding URI;
When the smart terminal fails to acquire the URI from the database pre-stored in the smart terminal, the non-substitutable token specified based on the token ID obtained by converting the target code ID is used. an eighth step of obtaining the URI from the computer on the distributed ledger network or obtaining the URI corresponding to the target code ID from the relay server;
a ninth step in which the smart terminal accesses the content using the URI obtained in the seventh step or the eighth step;
including
The code image has a one-dimensional barcode portion , has a vertical length to horizontal length ratio of 1:10 to 50, and has a horizontal length of 300 mm or more.
This access distribution method is characterized by:
本開示の好ましい形態では、分散型台帳は、1以上のノードと、プルーフ・オブ・ワーク方式および/またはプルーフ・オブ・ステーク方式の合意形成アルゴリズムと、に基づくブロックチェーンであり、記憶領域を含む仮想マシン(分散型台帳仮想マシン)を有すること、を特徴とする。このような構成とすることで、本開示は、中継サーバーを回避しつつ、コードIDへURIマッピングすること、を実現できる。また、このような構成とすることで、本開示は、分散型台帳システムが有する高可用性をシステムに付与できる、という更なる技術的効果を奏する。 In a preferred form of the present disclosure, the distributed ledger is a blockchain based on one or more nodes and a proof-of-work and/or proof-of-stake consensus algorithm, and includes a storage area It is characterized by having a virtual machine (distributed ledger virtual machine). With such a configuration, the present disclosure can realize URI mapping to code ID while avoiding a relay server. In addition, with such a configuration, the present disclosure has the further technical effect of being able to provide the system with the high availability that the distributed ledger system has.
本開示の好ましい形態では、管理サーバーは、1以上のコンピュータ装置に高速大容量処理が可能なウェブサーバーおよびデータベースサーバーを搭載することと、管理サーバーと中継サーバーのデータベースがリアルタイムに同期されることと、分散型台帳ネットワークとの高速大容量接続が可能であること、を特徴とする。このような構成とすることで、本開示は、コード登録処理の負荷にかかわらず、好適なコードおよびトークン管理を、実現できる。また、このような構成とすることで、本開示は、コード登録処理の負荷にかかわらず、コードおよびトークン管理の可用性を高めることができる、という更なる技術的効果を奏する。 In a preferred form of the present disclosure, the management server is equipped with a web server and a database server capable of high-speed, large-capacity processing on one or more computer devices, and the databases of the management server and the relay server are synchronized in real time. , and high-speed, large-capacity connection with a distributed ledger network is possible. With such a configuration, the present disclosure can realize suitable code and token management regardless of the load of the code registration process. Moreover, with such a configuration, the present disclosure has the further technical effect of increasing the availability of code and token management regardless of the load of the code registration process.
本開示の好ましい形態では、スマート端末での画像読み取りに用いられるコードリーダーは、iOS、AndroID、Windowsその他スマート端末向けのアプリケーションプログラム、またはその他端末向けのアプリケーションプログラムとして構築されていることと、当該アプリケーションプログラム上において高速高精度な画像認識エンジンが稼働することと、当該端末OS上にデータベースエンジンが稼働することと、管理サーバー、中継サーバーおよび分散型台帳ネットワークと高速通信できること、を特徴とする。このような構成とすることで、本開示は、コードリーダーで読み取ったコードIDへのURIマッピングの高速化と冗長化を可能にする。また、このような構成とすることで、サーバー障害時や接続障害時でも、コードIDへのURIマッピングおよびコードリーダーからコンテンツへの転送について、速度と可用性が向上する、という技術的効果を奏する。 In a preferred embodiment of the present disclosure, the code reader used for image reading on smart terminals is built as an application program for iOS, Android, Windows and other smart terminals, or an application program for other terminals, and the application It is characterized by a high-speed and high-precision image recognition engine running on the program, a database engine running on the terminal OS, and high-speed communication with the management server, relay server, and distributed ledger network. With such a configuration, the present disclosure enables high-speed and redundant mapping of URIs to code IDs read by a code reader. Moreover, with such a configuration, there is a technical effect of improving the speed and availability of the URI mapping to the code ID and the transfer from the code reader to the content even in the event of a server failure or connection failure.
本開示の好ましい形態では、コードとしてXPANDコードを用いること、を特徴とする。このような構成とすることで、本開示は、コード設置面積の削減と、遠距離からの読取りを可能にする。また、このような構成とすることで、既存のコード画像認識アルゴリズムを利用しながら、読取り距離に対するコードの利用面積効率が向上する、という技術的効果を奏する。 A preferred form of the present disclosure is characterized by using an XPAND code as the code. With such a configuration, the present disclosure allows for a reduced code footprint and long range reading. In addition, by adopting such a configuration, it is possible to obtain a technical effect of improving the area efficiency of the code with respect to the reading distance while using the existing code image recognition algorithm.
本開示によれば、多段的で異なる経路からのURIの取得と、コードIDへのURIマッピング冗長化とに基づき、コードIDへのURIマッピングおよびスマート端末からコンテンツへのアクセスについて、高速高可用性のシステムが実現できる。 According to the present disclosure, URI mapping to code ID and access to content from smart terminals are realized at high speed and high availability based on URI acquisition from multistage and different paths and redundancy of URI mapping to code ID. system can be realized.
以下、図面を用いて、本開示に係るアクセス分散システムについて説明する。なお、以下に示す実施形態は本開示の一例であり、本開示を以下の実施形態に限定するものではなく、様々な構成を採用することができる。本実施形態では、アクセス分散システムの構成、動作、機能について説明するが、同様の構成の方法、プログラムもしくは記録媒体は、同様の作用効果を奏する。 An access distribution system according to the present disclosure will be described below with reference to the drawings. Note that the embodiments shown below are examples of the present disclosure, and the present disclosure is not limited to the following embodiments, and various configurations can be adopted. Although the configuration, operation, and functions of the access distribution system will be described in this embodiment, a method, program, or recording medium having a similar configuration will have similar effects.
図1は、本開示の実施形態に係るシステム構成図である。図1に示すアクセス分散システム100は、少なくとも1つの管理サーバー10と、少なくとも1つ中継サーバー11と、分散型台帳仮想マシン12と、少なくとも1つのスマート端末13と、を備える。アクセス分散システムに係る機能は、コンピュータ装置に格納されたアプリケーションと、当該コンピュータ装置が備えるハードウェア資源と、を用いて実現される。当該アプリケーションは、インストール型ソフトウェア、もしくは、クラウド型ソフトウェアの態様で実現される。
FIG. 1 is a system configuration diagram according to an embodiment of the present disclosure. The distributed access system 100 shown in FIG. 1 comprises at least one
管理サーバー10は、演算部101と、記憶部102と、入力部103と、出力部104と、通信部105と、を備える。
The
中継サーバー11は、演算部111と、記憶部112と、入力部113と、出力部114と、通信部115と、を備える。
The
分散型台帳仮想マシン12は、演算部121と、記憶部122と、通信部125と、を備える。なお、分散型台帳仮想マシン12は、公知の分散型台帳ネットワーク上において機能する仮想的な情報処理システムである。従って、ここで説明する演算部121、記憶部122、通信部125というのは実際には分散型台帳ネットワークを形成する複数のコンピュータによって実現される仮想的な概念であるが、本開示に係る内容を理解しやすくするために本明細書ではこのような説明としている。
The distributed ledger
なお、公知の分散型台帳ネットワークとしては、ネットワーク上に分散した多数のコンピュータにおいて同一の計算・検証を行い、同一のデータ(台帳)が保持されるものであればいかなるものでも利用することができる。本実施形態では、イーサリアム(登録商標)と称される公知の分散型台帳ネットワークを用いることを前提とする。 Any known distributed ledger network can be used as long as it performs the same calculations and verifications on a large number of computers distributed on the network and holds the same data (ledger). . This embodiment assumes the use of a well-known distributed ledger network called Ethereum (registered trademark).
スマート端末13は、演算部131と、記憶部132と、入力部133と、出力部134と、通信部135と、を備える。
The
演算部101、111、121および131は、それぞれ、命令セットを実行可能なプロセッサを備える。
記憶部102、112、122および132は、それぞれ、記録媒体を備える。記憶媒体とは、例えばハードディスクドライブ、ソリッドステイトドライブ、ランダムアクセスメモリーなどを含む。
入力部103、113および133は、それぞれ、例えば、キーボードデバイスや、ポインティングデバイスや、タッチパネルであり、その種別に制限はない。
The
出力部104、114および134は、それぞれ、例えば、描画情報を保持するためのフレームバッファと、液晶パネルを一例とするディスプレイ装置と、を備える。
Each of the
通信部105、115、125および135は、それぞれ、例えば、IP(Internet Protocol)を介した通信を行うための処理を行う。
アクセス分散システム100におけるネットワークNWには、例えば、通信プロトコルにTCP/IP(Transmission Control Protocol/Internet Protocol)を用いられる。 For the network NW in the access distributed system 100, for example, TCP/IP (Transmission Control Protocol/Internet Protocol) is used as a communication protocol.
図2は、本開示の一実施形態に係るコードの生成方法の流れを示す図である。
コード発行依頼者であるユーザーは、コンピュータ14で実行可能な任意のウェブブラウザーを通じ、管理サーバー10に対してコード発行要求を送信する。これに対して管理サーバー10は、コードIDを発行し、自己の記憶部102のデータベースに格納する。次いで、管理サーバー10は、コードIDを中継サーバー11およびスマート端末13に送信する。コードIDを受信した中継サーバー11およびスマート端末13は、それぞれの記憶部122、132のデータベースにコードIDを登録する。
FIG. 2 is a diagram illustrating the flow of a code generation method according to an embodiment of the present disclosure.
A user who is a code issuance requester transmits a code issuance request to the
管理サーバー10は、予め格納されたコードIDからトークンIDへの変換方法のプログラム20により、コードIDをトークンIDに変換する。コードIDからトークンIDへの変換方法は相互変換できるものであり、たとえばコードIDに接頭辞を付してトークンIDとする方法がある。一例としてコードIDが「12345678」である場合を考えると、このコードIDに接頭辞「XPD」をコードIDに付加することにより、「XPD12345678」というトークンIDを生成することができる。
The
管理サーバー10は変換したトークンIDを、分散型台帳仮想マシン12上で動作するコンピュータプログラムによって実現される機能であるスマートコントラクト30へ送信する。スマートコントラクト30は、当該トークンIDを有するトークンを発行し、ユーザーの用いる分散型台帳ネットワーク上でのアドレス宛にこのトークンを送信する。管理サーバー10は、コード画像データを発行し、コード生成が終了する。コード画像データに基づくコード画像は、ユーザーの用いるコンピュータ14の画面上に表示される。
The
次に、ユーザーは、スマート端末13にコード画像を読み取るためのコードリーダーのアプリケーションプログラム(以下「アプリ」と称する。)をインストールする。これにより、スマート端末13の記憶部132内にデータベースのファイルが生成される。
Next, the user installs a code reader application program (hereinafter referred to as an “application”) for reading code images in the
データベースは、たとえばスマート端末13内の記憶部132の記憶領域に生成されるデータファイルへ、データベース管理システムであるSQLiteを通じて入出力する形態で実現する。
The database is implemented, for example, by inputting/outputting data to/from a data file generated in the storage area of the
スマート端末13において、コード画像を読み取るためのアプリは、定期的に起動して管理サーバー10に接続し、管理サーバー10内に特定フラグ(詳細は後述する)の付加されたコードIDが存在するかどうかを照会する。
In the
特定フラグ付きのコードIDが存在する場合、スマート端末13のアプリは、スマート端末13の記憶部132内のデータベースにそれらのコードIDとマッピング用URIを格納する。
If there are code IDs with specific flags, the application of the
図3は、上記した図2で概略を説明したコード生成方法を実行する際の管理サーバー10の動作手順を示すフローチャートである。また、図4は、管理サーバー、中継サーバー、分散型台帳仮想マシン及びスマート端末のそれぞれに格納されるデータの構造を示す図である。
FIG. 3 is a flow chart showing the operation procedure of the
コード発行依頼者であるユーザーにより、コンピュータ14(図2参照)を用いて管理サーバー10へアクセスし、管理サーバー10によってコンピュータ14に表示されるコード発行画面のフォームに必要事項が入力され(S201)、コード発行の申込(S202)が行われると、管理サーバー10は、コードIDを生成し、これを自己の記憶部102のデータベースに格納するとともに、中継サーバー11の記憶部112データベースに格納させる(S203)。
The user who is the code issue requester accesses the
管理サーバー10の演算部101は、変換プログラム20(図2参照)によって、コードIDをトークンIDに変換する(S204)。
The
なお、アクセス分散のための特定フラグ(分散フラグ)は、発行申込(S202)時に入力されたパラメーター、および管理サーバー10の判定プログラムにより生成され、または生成されない。
Note that the specific flag (distribution flag) for access distribution is generated or not generated by the parameters input at the time of application for issuance (S202) and the determination program of the
ここでいう特定フラグとは、コードIDの優先度あるいは重要度といった所定の基準に基づく事項を示すものであり、予め任意に設定され、本実施形態では判定プログラムによって付与の可否が判断される。例えば、コードIDに対応するURIの利用が多数見込まれるような場合には特定フラグを付し、そうでない場合には特定フラグを付さないという使い方をすることができる。それにより、スマート端末13において保持(記憶)されるコードIDの量を減らし、優先度ないし重要度の高いものだけ保持されるようにして、スマート端末13での記憶容量の消費を抑えることができる。
The specific flag referred to here indicates an item based on a predetermined criterion such as the priority or importance of the code ID, and is arbitrarily set in advance. For example, when the URI corresponding to the code ID is expected to be used many times, a specific flag is attached, and in other cases, the specific flag is not attached. As a result, the amount of code IDs held (stored) in the
特定フラグが生成された場合には(S205;YES)、管理サーバー10の演算部101は、特定フラグを自己の記憶部102のデータベースに格納するとともに、中継サーバー11の記憶部112のデータベースに格納させる(S206)。
When the specific flag is generated (S205; YES), the
図4に示すように、コードIDは、管理サーバー10の記憶部102内に構築されるデータベース401のコードIDカラム402に格納されるとともに、中継サーバー11の記憶部112内に構築されるデータベース406のコードIDカラム407に格納される。また、トークンIDは、分散型台帳仮想マシン12の記憶部122内において非代替トークンNFT(Non-Fungible Token)メタデータ421のトークンID定数422に格納される。
As shown in FIG. 4, the code ID is stored in the
また、マッピング用URIは、管理サーバー10の記憶部102内のデータベース401におけるURIカラム403に格納されるとともに、中継サーバー11の記憶部112内のデータベース406におけるURIカラム408に格納される。さらに、マッピング用URIは、分散型台帳仮想マシン12の記憶部122内においてURI定数423に格納される。
The mapping URI is stored in the
また、特定フラグは、管理サーバー10の記憶部102内に構築されるデータベース401の特定フラグカラム404に格納されるとともに、中継サーバー11の記憶部112内に構築されるデータベース406の特定フラグカラム409に格納される。
Further, the specific flag is stored in the
管理サーバー10の演算部101は、コード画像データを発行し(S207)、これをユーザーのコンピュータ14へ送信する。以上でコード発行処理は終了する。
The
図5は、上記した図2で概略を説明したコード生成方法におけるスマート端末13のコードID及びマッピング用URIの同期処理の動作手順を示すフローチャートである。
FIG. 5 is a flow chart showing the operation procedure of synchronization processing of the code ID of the
スマート端末13の演算部131は、記憶部132内にインストールされたアプリを定期的に起動し(S251)、管理サーバー10にアクセスしてこの管理サーバー10の記憶部102内のデータベースに特定フラグ付きのコードIDが存在するかどうか照会する(S252)。
The
特定フラグ付きのコードIDがある場合(S253;YES)、スマート端末13の演算部131は、当該コードIDがスマート端末13の記憶部132内のデータベースに格納済みかどうかを判定する(S254)。
If there is a code ID with a specific flag (S253; YES), the
コードIDが未格納の場合には(S254;NO)、スマート端末13の演算部131は、コードIDとマッピング用URIを管理サーバー10から取得する。そして、スマート端末13の演算部131は、コードIDを図4に示した記憶部132のデータベース411のコードIDカラム412に格納するとともにマッピング用URIをURIカラム413に格納する(S255)。
If the code ID is not stored (S254; NO), the
特定フラグ付きコードIDがない場合(S253;NO)、または当該コードIDがスマート端末13に格納済みの場合(S254;YES)、またはS255で格納が完了した場合には、スマート端末13の演算部131は一連の処理を終了する。
If there is no code ID with a specific flag (S253; NO), or if the code ID has already been stored in the smart terminal 13 (S254; YES), or if the storage is completed in S255, the computing unit of the
図6は、本開示の一実施形態に係るコードの読取り方法の流れを示す図である。
ユーザーがスマート端末13に予めインストールされている上記のアプリを起動させ、スマート端末13のカメラ(図示せず)によってコードIDを撮影する。スマート端末13の演算部131は、カメラによってコードを撮影して得られたコード画像データに対して所定の画像処理を行うことによりコード画像データからコードIDを得る。
FIG. 6 is a diagram showing the flow of a code reading method according to an embodiment of the present disclosure.
The user activates the above application pre-installed in the
次に、スマート端末13の演算部131は、自身の記憶部132内のデータベースに、当該コードIDに対応するURIが存在するかどうか照会する。URIが存在しない場合は、スマート端末13の演算部131は、所定の変換プログラム20によってコードIDをトークンIDに変換する。具体的には、上記したような予め定めた接頭辞を用いることによりトークンIDへの変換が行われる。一例としてコードIDが「12345678」である場合を考えると、このコードIDに接頭辞「XPD」をコードIDに付加することにより、「XPD12345678」というトークンIDを生成することができる。
Next, the
次に、スマート端末13の演算部131は、分散型台帳仮想マシン12へアクセスし、分散型台帳仮想マシン12内のデータベースに当該トークンIDに対応するURIが存在するかどうか照会する。URIが存在しない場合は、スマート端末13の演算部131は、中継サーバー11へアクセスし、この中継サーバー11よりコードIDに対応するURIを取得する。
Next, the
何れかの方法によってURIが取得できると、スマート端末13の演算部131は、取得したURIを用いてこのURIに対応するウェブサイトへアクセスし、当該ウェブサイトから得られるコンテンツを出力部134のディスプレイ装置の画面上に表示する。以上により、コードの読取り処理は終了する。なお、URIの利用方法としては、ウェブサイトへのアクセス以外に、例えばURIを用いたハイパーリンクでスマート端末13のネイティブアプリを起動することもあり得る。
When the URI can be obtained by any method, the
ここで、図7を参照しながら、スマート端末13において撮影して読み取られるコード画像の一例としてのXPANDコードについて詳細に説明する。図7に示すXPANDコードは、コードIDを格納する符号として、1次元バーコード、光ID、赤外線反射マーカー、画像埋め込み型マーカーなど任意の方式を利用できるコードである。
Here, an XPAND code as an example of a code image photographed and read by the
実装の一形態として、符号に1次元バーコードを利用する場合の構成について図7に示している。具体的には、XPANDコードは、横長な形状を有しており、図中に太さの異なる複数の縦棒を配列して示されている1次元バーコード部と、その1次元バーコード部の上下外側に配置された読み取り補正用の補助線を有している。図示のように各補助線は、1次元バーコード部との間に余白(マージン)を設けて配置されている。 As one form of implementation, FIG. 7 shows a configuration in which a one-dimensional bar code is used as a code. Specifically, the XPAND code has a horizontally long shape, and a one-dimensional bar code part shown by arranging a plurality of vertical bars with different thicknesses in the figure, and the one-dimensional bar code part It has auxiliary lines for reading correction arranged on the upper and lower outer sides of the . As shown in the figure, each auxiliary line is arranged with a margin provided between it and the one-dimensional barcode portion.
また、1次元バーコード部の左右には、読取り補正用の拡張ガードバーを付加することができる。図示の例では1次元バーコード部の左右に、それぞれ3本の縦棒を含んだ拡張ガードバーが1次元バーコード部との間に余白を設けて配置されている。また、左端または右端には、読取り補正用のグラフィックエリアを付加することができる。図示の例では略円形状のマークが付加されている。 In addition, extended guard bars for reading correction can be added to the left and right sides of the one-dimensional bar code portion. In the illustrated example, extended guard bars each including three vertical bars are arranged on the left and right sides of the one-dimensional bar code part with a margin between them and the one-dimensional bar code part. Also, a graphic area for reading correction can be added to the left or right end. In the illustrated example, a substantially circular mark is added.
XPANDコードの縦と横のサイズの比率は、縦1に対して横24とすること、または縦1に対して横が10から50の範囲とすることが好ましい。XPANDコードの横幅は、300ミリメートル以上であることが好ましい。本実施形態のXPANDコードは、一般的なJANコード、1次元バーコード、2次元バーコードなどと同様に光学的に読み取って利用することが可能である。横長の形状であることから、様々な看板などに付加しやすいという特徴がある。また、比較的遠い位置からの読み取り性能にも優れている。本願出願人の検証によれば、10cm程度の近距離から200mという遠距離まで、一般的なスマートフォン等の端末で読み取り可能であることが確認されている。 The ratio of the height to width of the XPAND code is preferably 1 height to 24 widths, or in the range of 10 to 50 widths to 1 height. The width of the XPAND code is preferably 300 millimeters or more. The XPAND code of this embodiment can be optically read and used in the same manner as general JAN codes, one-dimensional barcodes, two-dimensional barcodes, and the like. Because of its oblong shape, it can be easily attached to various signboards. It also has excellent reading performance from a relatively distant position. According to the verification by the applicant of the present application, it has been confirmed that reading is possible with a terminal such as a general smart phone from a short distance of about 10 cm to a long distance of 200 m.
図8は、上記した図6で概略を説明したコード読み取り方法を実行する際のスマート端末13の動作手順を示すフローチャートである。まず、ユーザーによってスマート端末13のアプリが起動され(S301)、スマート端末13のカメラによりコード画像が撮影されると、スマート端末13の演算部131は、コード画像をコードID(対象コードID)に変換する(S302)。
FIG. 8 is a flow chart showing the operation procedure of the
スマート端末13の演算部131は、自身の記憶部132内のデータベースのコードIDカラム412が存在するかどうかを判定し(S303)、コードIDカラム412が存在する場合には、これに対応するURIカラム413からコードIDに対応するURIの取得を試みる(S304)。
The
URIカラム413からURIを取得できた場合には(S305;YES)、スマート端末13の演算部131は、取得したURIを用いてこれに対応するウェブサイトへアクセスする(S309)。
If the URI can be obtained from the URI column 413 (S305; YES), the
ステップS304でURIを取得できなかった場合(S305;NO)、スマート端末13の演算部131は、コードIDをトークンIDに変換し、これに基づいてトークンID定数422に有する非代替トークンNFTを特定し、分散型台帳仮想マシン12からURI変数423よりURIの取得を試みる(S306)。
If the URI could not be obtained in step S304 (S305; NO), the
URIを取得できた場合には(S307;YES)、スマート端末13の演算部131は、取得した指定URIを用いてこれに対応するウェブサイトへアクセスする(S309)。
If the URI can be acquired (S307; YES), the
ステップS306でURIを取得できなかった場合(S307;NO)、スマート端末13の演算部131は、中継サーバー11へアクセスし、中継サーバー11の記憶部122内のデータベースのコードIDカラム407からコードIDに対応するレコードを特定し、URIカラム408よりURIを取得する(S308)。
If the URI could not be acquired in step S306 (S307; NO), the
URIを取得したスマート端末13の演算部131は、この指定URIを用いてこれに対応するウェブサイトへアクセスする(S309)。
The
ユーザーは、いずれかの方法で取得されたURLに基づいてアクセスしたウェブサイトからスマート端末13にコンテンツを取得することができる。
The user can acquire content to the
なお、上記したようにS309でのURIの利用方法としては、例えばURIを用いたハイパーリンクでスマート端末13のネイティブアプリを起動することであってもよい。
As described above, the URI may be used in S309 by launching a native application of the
以上のように、本実施形態によれば、スマート端末でコードを読み取ることにより、サーバー障害および接続障害時でも、コードIDへのURIマッピングを行い、コンテンツへの転送の実行可能性を高めることができる。 As described above, according to this embodiment, by reading the code with a smart terminal, even in the event of a server failure or connection failure, URI mapping to the code ID can be performed, and the feasibility of transferring to the content can be increased. can.
また、本実施形態によれば、スマート端末でコードを読み取ることにより、分散型台帳ネットワークの状態にかかわらず、コードIDへのURIマッピングを高速に行い、コンテンツへの転送の実行可能性を高めることができる。 In addition, according to this embodiment, by reading the code with a smart terminal, regardless of the state of the distributed ledger network, URI mapping to the code ID can be performed at high speed, and the feasibility of transferring to content can be improved. can be done.
また、本実施形態によれば、比較的に遠距離からコードを読み取り、そのコードによって特定されるコンテンツへアクセスすることができる。 Also, according to this embodiment, the code can be read from a relatively long distance and the content specified by the code can be accessed.
10 管理サーバー
11 中継サーバー
12 分散型台帳仮想マシン
13 スマート端末
14 コンピュータ
20 コードIDとトークンIDを相互変換するプログラム
30 分散型台帳仮想マシン上で動作するスマートコントラクト
100 アクセス分散システム
101、111、121、131 演算部
102、112、122、132 記憶部
103、113、133 入力部
104、114、134 出力部
105、115、125、135 通信部
DB データベース
NFT 非代替トークン
401 管理サーバーのデータベース
402 管理サーバーのデータベースのコードIDカラム
403 管理サーバーのデータベースのURIカラム
404 管理サーバーのデータベースの特定フラグカラム
406 中継サーバーのデータベース
407 中継サーバーのデータベースのコードIDカラム
408 中継サーバーのデータベースのURIカラム
409 中継サーバーのデータベースの特定フラグカラム
411 スマート端末のデータベース
412 スマート端末のデータベースのコードIDカラム
413 スマート端末のデータベースのURIカラム
421 非代替トークンメタデータ
422 非代替トークンメタデータのトークンID定数
423 非代替トークンメタデータのURI変数
10
Claims (1)
コード発行要求に応じて、前記管理サーバーがコードIDを生成する第1ステップと、
前記管理サーバーが、所定の基準に基づいて判断される優先度あるいは重要度が高い前記コードIDに特定フラグを付与する第2ステップと、
前記管理サーバーが、前記コードIDに所定のURIを対応付けて記憶するとともに、前記ネットワークを介して相互に通信可能な中継サーバーに当該コードID及び前記URIを格納させる第3ステップと、
前記管理サーバーが、前記コードIDを当該コードIDと相互に変換可能なトークンIDに変換する第4ステップと、
前記管理サーバーが、前記トークンIDと前記URIとを前記ネットワークを介して相互に通信可能な分散型台帳ネットワーク上のコンピュータに格納させる第5ステップと、
前記管理サーバーと前記スマート端末が通信し、前記特定フラグの付与された前記コードIDと当該コードIDに対応する前記URIが前記スマート端末に登録される第6ステップと、
前記スマート端末が、当該スマート端末において光学的に読み取り可能なコード画像から得られた対象コードIDに基づいて、前記スマート端末に予め格納された前記コードIDと前記URIのデータベースから前記対象コードIDに対応する前記URIを取得する第7ステップと、
前記スマート端末が、前記スマート端末に予め格納された前記データベースから前記URIを取得できなかった場合に、前記対象コードIDを変換して得られる前記トークンIDに基づいて特定される非代替トークンを用いて前記分散型台帳ネットワーク上の前記コンピュータから前記URIを取得し、又は前記中継サーバーから前記対象コードIDに対応する前記URIを取得する第8ステップと、
前記スマート端末が、前記第7ステップ又は前記第8ステップにて取得した前記URIを用いてコンテンツにアクセスする第9ステップと、
を含み、
前記コード画像は、1次元バーコード部を有して構成されており、縦方向長さと横方向長さの比が1:10~50であり、横方向長さが300ミリメートル以上である、
ことを特徴とする、アクセス分散方法。
An access distribution method executable in a system comprising one or more management servers and one or more smart terminals communicably connected to each other via a network, comprising:
a first step in which the management server generates a code ID in response to a code issuance request;
a second step in which the management server assigns a specific flag to the code ID having a high priority or importance determined based on a predetermined criterion;
a third step in which the management server associates and stores a predetermined URI with the code ID, and stores the code ID and the URI in a relay server that can communicate with each other via the network;
a fourth step in which the management server converts the code ID into a token ID that is mutually convertible with the code ID;
a fifth step in which the management server stores the token ID and the URI in a computer on a distributed ledger network that can communicate with each other via the network;
a sixth step in which the management server and the smart terminal communicate with each other, and the code ID to which the specific flag is attached and the URI corresponding to the code ID are registered in the smart terminal;
The smart terminal determines the target code ID from a database of the code ID and the URI stored in advance in the smart terminal based on the target code ID obtained from the code image that can be optically read by the smart terminal. a seventh step of obtaining the corresponding URI;
When the smart terminal fails to acquire the URI from the database pre-stored in the smart terminal, the non-substitutable token specified based on the token ID obtained by converting the target code ID is used. an eighth step of obtaining the URI from the computer on the distributed ledger network or obtaining the URI corresponding to the target code ID from the relay server;
a ninth step in which the smart terminal accesses the content using the URI obtained in the seventh step or the eighth step;
including
The code image has a one-dimensional barcode portion , has a vertical length to horizontal length ratio of 1:10 to 50, and has a horizontal length of 300 mm or more.
An access distribution method characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022101695A JP7235363B1 (en) | 2021-12-03 | 2022-06-24 | Access distribution method |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021197129A JP7101427B1 (en) | 2021-12-03 | 2021-12-03 | Access distribution method |
JP2022101695A JP7235363B1 (en) | 2021-12-03 | 2022-06-24 | Access distribution method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021197129A Division JP7101427B1 (en) | 2021-12-03 | 2021-12-03 | Access distribution method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP7235363B1 true JP7235363B1 (en) | 2023-03-08 |
JP2023083204A JP2023083204A (en) | 2023-06-15 |
Family
ID=87888865
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022101695A Active JP7235363B1 (en) | 2021-12-03 | 2022-06-24 | Access distribution method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7235363B1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3207959U (en) | 2016-09-06 | 2016-12-15 | 銀座交通デザイン社合資会社 | Sheet with horizontally long barcode |
JP3210164U (en) | 2017-02-16 | 2017-04-27 | 銀座交通デザイン社合資会社 | Sheet with horizontally long barcode |
-
2022
- 2022-06-24 JP JP2022101695A patent/JP7235363B1/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3207959U (en) | 2016-09-06 | 2016-12-15 | 銀座交通デザイン社合資会社 | Sheet with horizontally long barcode |
JP3210164U (en) | 2017-02-16 | 2017-04-27 | 銀座交通デザイン社合資会社 | Sheet with horizontally long barcode |
Non-Patent Citations (1)
Title |
---|
南木 徹,Auto-ID Solution XPANDコードを用いた施設内誘導支援 XPAND/QRビーコンによる低コストな施設内誘導サービス,月刊自動認識,日本,日本工業出版株式会社,2019年08月10日,第32巻 第9号,pp.20-27 |
Also Published As
Publication number | Publication date |
---|---|
JP2023083204A (en) | 2023-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10642904B2 (en) | Infrastructure enabling intelligent execution and crawling of a web application | |
US11106759B2 (en) | Predictive resource identification and phased delivery of structured documents | |
US8230046B2 (en) | Setting cookies in conjunction with phased delivery of structured documents | |
US9880989B1 (en) | Document annotation service | |
TW201729121A (en) | Cloud service server and method for managing cloud service server | |
JP7397094B2 (en) | Resource configuration method, resource configuration device, computer equipment, and computer program | |
US20120296958A1 (en) | Information processing apparatus, information processing system, information processing method, and program | |
CN103559194B (en) | A kind of searching method, server, system | |
WO2023100524A1 (en) | Access distribution method | |
US10630805B2 (en) | Single action upload of images from a mobile device | |
CA3154763A1 (en) | Data operation method, device and system | |
US20180302462A1 (en) | Social media server for providing client with media content including tagging information and the client | |
JP7235363B1 (en) | Access distribution method | |
CN112559913A (en) | Data processing method and device, computing equipment and readable storage medium | |
CN110089076B (en) | Method and device for realizing information interaction | |
US10742639B1 (en) | System and method for improving login and registration efficiency to network-accessed data | |
CN107291628B (en) | Method and apparatus for accessing data storage device | |
CN110909081A (en) | Back-end data fusion rendering service method | |
JP7143866B2 (en) | Cache management program, server, cache management method, and information processing device | |
JP5427866B2 (en) | Multi-tenant information processing method, apparatus and program | |
KR101945737B1 (en) | Apparatus and method for managing location information | |
JP2024006370A (en) | Information processing device, information processing system, and information processing method | |
KR20230086937A (en) | Apparatus and method for providing security-based electronic documents in metaverse and VR environments | |
KR20240018794A (en) | Device and method for processing electronic document nft | |
CN114996617A (en) | H5 data uploading method, device, computer equipment and medium based on originality |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220705 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230120 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20230120 |
|
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: 20230131 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230216 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7235363 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |