JP5965791B2 - Information management system - Google Patents
Information management system Download PDFInfo
- Publication number
- JP5965791B2 JP5965791B2 JP2012194674A JP2012194674A JP5965791B2 JP 5965791 B2 JP5965791 B2 JP 5965791B2 JP 2012194674 A JP2012194674 A JP 2012194674A JP 2012194674 A JP2012194674 A JP 2012194674A JP 5965791 B2 JP5965791 B2 JP 5965791B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- operation information
- period
- value
- access
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S50/00—Market activities related to the operation of systems integrating technologies related to power network operation or related to communication or information technologies
- Y04S50/10—Energy trading, including energy flowing from end-user application to grid
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、電気自動車(Electric Vehicle: EV)等の機器の稼働情報を収集・管理し、それらの情報をサービス事業者に提供することで、サービス事業者が機器のユーザにサービスを提供することを可能とするシステムに関する。 The present invention collects and manages operation information of devices such as electric vehicles (EVs) and provides the information to the service provider so that the service provider provides the service to the user of the device. It is related with the system which enables.
地域のエネルギー需給を調整して再生可能エネルギーを有効活用するCEMS(Community Energy Management System)では、地域の需要家が所有する機器から収集した稼働情報を保持する。この稼働情報をエネルギー需給に活用するだけでなく、エネルギーの供給者と需要家以外の第三者のサービス事業者に提供することで、サービス事業者は稼働情報を活用したサービスを需要家に提供することも考えられている。ただし、機器の稼働情報は電源のOn/OffやEVの走行位置など、機器のユーザである需要家のプライバシーに関わる情報である。需要家が契約したサービス事業者のみがその需要家の機器の稼働情報をCEMSから参照でき、契約していないサービス事業者には参照できないようにする仕組みがCEMSには必要である。このように、保持するデータに対し他のサービスが参照する際に、あらかじめ定義されたアクセス権限にしたがって提供するデータをフィルタリングする仕組みとしてデータアクセスコントロール技術がある。例えば特許文献1に記載されている技術では、情報の作成者が誰に対してその情報を公開するかを定義することで、その定義に従ってサービス等の参照者のアクセス時に参照権限があるかどうかを、サービスに提供する公開情報ごとに判定するものである。これにより、データに対するアクセスコントロールを実現している。
The CEMS (Community Energy Management System), which effectively uses renewable energy by adjusting local energy supply and demand, holds operation information collected from equipment owned by local customers. In addition to using this operation information for energy supply and demand, by providing third-party service providers other than energy suppliers and consumers, service providers provide customers with services that use operation information. It is also considered to do. However, device operation information is information related to the privacy of consumers who are users of the device, such as power on / off and EV travel position. Only a service provider contracted by a consumer can refer to the operation information of the customer's equipment from the CEMS, and a mechanism is required for the CEMS so that the service provider who is not contracted cannot refer to it. As described above, there is a data access control technique as a mechanism for filtering data to be provided in accordance with a predetermined access authority when other services refer to the stored data. For example, in the technology described in
CEMSでは、契約したサービスに対しては所有する機器の稼働情報をすべて参照可能とするケースのほか、プライバシーの保護の観点から、稼働情報が表す機器の状況に応じ、ある状況では稼働情報の参照可とし、それ以外は参照不可とするケースが想定される。例えばEVでは、サービスとして充電ステーションへのナビゲーションサービスと契約する場合、EVのバッテリーのSOC(State of Charge)が少なくなり、充電が必要な場合の稼働情報のみを参照可能とする、というケースがある。また、サービスとして地域の店舗等の広告情報配信サービスと契約する場合、EVのユーザが見知らぬ土地や目的の観光地を走行している場合のみ、その稼働情報をサービスに提供することでユーザの走行位置に適した店舗の広告情報を配信する、というケースも考えられる。これらの場合、サービスが稼働情報を参照可能となる条件はEVのSOCの値や、走行位置の範囲によって変わる。 In CEMS, in addition to the case where all the operation information of the owned device can be referred to for the contracted service, the operation information can be referred to in certain situations depending on the status of the device represented by the operation information from the viewpoint of privacy protection. It is assumed that it is possible to refer to it otherwise. For example, in the case of EV, when contracting with a navigation service to a charging station as a service, there is a case where the SOC (State of Charge) of the EV battery is reduced and only operation information when charging is required can be referred to . In addition, when contracting with an advertisement information distribution service such as a local store as a service, only when the EV user is traveling on an unknown land or a destination tourist destination, the operation information is provided to the service by providing the service to the service. There may be a case where advertisement information of a store suitable for a location is distributed. In these cases, the conditions under which the service can refer to the operation information vary depending on the SOC value of the EV and the range of the travel position.
特許文献1に記載の技術では、サービスからのアクセス要求を受けた際に、情報作成者が定義したポリシーを参照し、サービスに提供する公開情報ごとにそのポリシーの条件に該当するかどうかを判定する。ポリシーとして設定できるのは参照サービスのIDなどの値が固定的な情報である。この技術を前記のCEMSに適用しようとした場合、SOCや走行位置など、稼働情報のデータ項目の範囲をアクセス可否の条件に定義することは想定されていないため、契約したサービスに対してすべての稼働情報の参照を許すか、一切の稼働情報の参照を許さないかのいずれかのみになり、機器の状況に応じたアクセスコントロールの実施は困難である。
In the technology described in
そこで、本発明の第一の目的は、IDなどの値が固定的なデータ項目のみでなくSOCや走行位置など、時々刻々と値が変化する時系列のデータ項目についてもアクセス制御の条件を定義することで、機器の状況に応じてサービスに対するその情報の参照可否を切り分けられる情報管理システムを提供することにある。
また、特許文献1に記載の技術で想定されている公開情報は、加入する会員の属性情報を想定しているため、公開情報の件数は加入する会員数程度でそれほど多くないと考える。ただしCEMSでは、特にEVの稼働情報を収集する場合には高速走行中など走行位置が瞬時に変わるため、少なくとも数分に1度、正確に位置を把握しようとすると数十秒に1度は稼働情報を収集する必要がある。この場合、対象とするEVの台数によりCEMSで保持する稼働情報は膨大になる可能性がある。サービスが稼働情報を参照する際には、任意の日一日分の稼働情報の参照や、指定の条件に該当する稼働情報を過去1年分から検索する、など、参照の対象となる稼働情報も大量となる。この場合でも、稼働情報1件ごとにアクセス制御の定義と比較して参照可否を判定すると、その処理時間も膨大となってしまう。
そこで、本発明の第二の目的は、サービスが参照要求した稼働情報の参照可否の判定、すなわちアクセス制御の定義の内容に該当するか否かの判定処理をできるだけ少ない処理で実現できる情報管理システムを提供することにある。
また、前記のアクセス制御の条件の定義はサービスとEVのユーザとの間の契約内容に基づいて生成され定義されるものである。サービス、EVユーザの数が多くなるとその組み合わせも膨大になるため、情報管理システム運用者の作業簡略化のために定義は契約内容を基に自動的に生成されるべきである。この定義の自動生成においては、サービスとユーザ間で契約されたサービスレベルを満たすのに必要な情報、適切な提供手段の定義を自動的に生成することが求められる。と同時に、サービスの内容は様々であるため、契約内容から定義への変換処理は固定的な処理ではなく、様々な契約内容に対応した適切な定義に変換できる汎用性が求められる。
Therefore, the first object of the present invention is to define access control conditions not only for data items whose values such as IDs are fixed, but also for time-series data items whose values change every moment, such as SOC and driving position. Thus, an object is to provide an information management system that can determine whether or not the information can be referred to the service according to the status of the device.
In addition, since the public information assumed in the technology described in
Accordingly, a second object of the present invention is to provide an information management system capable of realizing determination of whether or not the operation information requested by the service can be referred to, that is, whether or not the content corresponds to the definition of the access control, with as few processes as possible. Is to provide.
Further, the definition of the access control condition is generated and defined based on the contents of the contract between the service and the EV user. As the number of services and EV users increases, the number of combinations increases. Therefore, definitions should be automatically generated based on the contract contents in order to simplify the work of information management system operators. In the automatic generation of this definition, it is required to automatically generate the information necessary for satisfying the service level contracted between the service and the user and the definition of an appropriate providing means. At the same time, since the contents of the service are various, the conversion process from the contract contents to the definition is not a fixed process, and versatility that can be converted into an appropriate definition corresponding to various contract contents is required.
そこで、本発明の第三の目的は、サービスとユーザの契約内容を情報管理システムの定義に変換する処理において、様々なサービスの内容に対応できる汎用的な処理により定義への変換を実現できる情報管理システムを提供することにある。 上記では、発明を分かり易くするため本発明の目的を複数挙げて説明したが、これら複数の目的は、同時に達成する必要はない。いずれかの目的を達成できれば良い。 Accordingly, a third object of the present invention is to provide information that can be converted into definitions by general-purpose processing that can handle various service contents in the process of converting service and user contract contents into information management system definitions. To provide a management system. In the above description, a plurality of objects of the present invention have been described for easy understanding of the invention. However, it is not necessary to simultaneously achieve the plurality of objects. It suffices if one of the goals can be achieved.
なお、発明の更なる目的は、後述する実施形態の記載から明らかになるであろう。 Further objects of the invention will become clear from the description of embodiments described later.
本発明は、複数のインフラ需給機器を含む所定区域毎に設けられる情報管理装置と、前記情報管理装置が保持する前記インフラ需給機器の稼働情報を、前記機器の所有者もしくは使用者の許可を得たうえで参照し、前記所有者もしくは使用者に対し前記稼働情報を活用したサービスを提供する情報利用装置と、を含む情報管理システムであって、前記情報管理装置は、前記機器から送信される時系列情報を含む稼働情報を受け付け、前記稼働情報に含まれる機器の稼働開始と終了を意味する機器の稼働状態を基に、稼働開始と終了の間の同一稼働範囲内の稼働情報であるか否かを判定し、同一稼働期間内であるならば過去の同一稼働範囲内の稼働情報と、受け付けた稼働情報とで前記稼働情報に含まれる時系列情報の値を比較し、前記同一稼働期間内での時系列情報の最大値と最小値を算出して期間単位稼働情報として保持し、同一稼働範囲内でないならば新規の稼働範囲として受け付けた前記稼働情報の時系列情報から最大値と最小値を抽出して同様に期間単位稼働情報として保持し、前記情報管理装置は、前記稼働情報に含まれる時系列情報の範囲で定義される前記情報利用装置と前記機器との前記稼働情報の参照許可条件を保持し、前記情報利用装置からの前記稼働情報の参照要求を受け付け、前記期間単位稼働情報が保持する時系列情報の最大値および最小値と、前記参照許可条件で定義される時系列情報の前記範囲とを比較し、比較の結果、前記範囲内に前記最大値および最小値がいずれも含まれる場合は、前記期間に含まれる稼働情報はすべて参照可能とし、前記範囲内に前記最大値および最小値がいずれも含まれない場合は、前記期間に含まれる稼働情報はすべて参照不可とすることを特徴とする。 The present invention relates to an information management device provided for each predetermined area including a plurality of infrastructure supply and demand devices, and operation information of the infrastructure supply and demand devices held by the information management device, with permission from the owner or user of the devices. An information management system including an information utilization device that refers to the information and provides a service utilizing the operation information to the owner or the user, and the information management device is transmitted from the device Whether the operation information is within the same operation range between the start and end of the operation based on the operation status of the device, which means that the operation information including time series information is accepted and the operation start and end of the device included in the operation information is included. If it is within the same operation period, the operation information within the same operation range in the past and the received operation information are compared with the value of the time series information included in the operation information, and the same earning is performed. The maximum value and the minimum value of the time series information within the period are calculated and retained as the period unit operation information, and if not within the same operation range, the maximum value is calculated from the time series information of the operation information received as a new operation range. Similarly, the minimum value is extracted and held as period-unit operation information, and the information management apparatus is configured to store the operation information of the information utilization apparatus and the device defined in the range of time-series information included in the operation information. When the reference permission condition is held, the operation information reference request from the information utilization apparatus is received, and the maximum value and the minimum value of the time series information held by the period unit operation information and the reference permission condition are defined When the range of the series information is compared, and if both the maximum value and the minimum value are included in the range as a result of the comparison, all the operation information included in the period can be referred to, and the range Wherein when the maximum value and the minimum value does not contain any, characterized in that the all operation information is referenced not included in the period.
本発明によれば、IDなどの固定的な情報だけでなく、センサ計測値などの時系列情報でもサービスの参照可否の定義を行うことができ、機器の状況に応じて参照可/不可を切り分けることが可能になる。また、参照要求に該当する全稼働情報について参照可否を判定する方式に比べ、判定処理を削減することが可能になる。また、前記定義をサービスの内容によらない汎用的な処理により生成することが可能になる。 According to the present invention, it is possible to define whether or not a service can be referred to not only by fixed information such as an ID but also by time-series information such as a sensor measurement value. It becomes possible. In addition, the determination process can be reduced as compared with a method for determining whether or not all operation information corresponding to the reference request can be referred. In addition, the definition can be generated by general-purpose processing that does not depend on the contents of the service.
図1は、本発明の情報管理システムをスマートシティの情報管理に適用した場合のブロック図を表す。図1のサーバ1は、ある地域におけるEV2等の機器の情報管理を行うサーバである。スマートシティとはITを駆使してエネルギーや水などのインフラの需要と供給を調整するなど、資源の有効活用・地球環境の保全と市民の便利で快適な生活を両立した次世代の都市やその概念を意味する。サーバ1は、その都市内のエネルギーの需給に関する稼働情報を機器や設備から収集・保持し、エネルギーの需給調整等のインフラ向けアプリケーションに対しそれらの情報を提供するシステムである。本実施例では機器・設備としてEVを例に取り上げる。EV2とサーバ1はM2M等のキャリア網等のネットワークで直接、もしくはEVメーカ等が運営する一つ乃至複数のEV管理システム3を介して接続されている。サーバ1は一つ乃至複数のEV2から定期的に送信される稼働情報を受信し自身のデータベース(DB)に保持する。また、サーバ1はインフラ向けアプリケーション4に対し稼働情報を提供するとともに、第三者のサービス事業者のアプリケーション4にも機器や設備のユーザの許可を得た上でその稼働情報を提供する。アプリケーション4とサーバ1もネットワークを介して接続され、一つ乃至複数のアプリケーション4は定期的もしくは何らかのタイミングでサーバ1に稼働情報参照のリクエストを送信する。サーバ1はそのアプリケーション4に提供可能な稼働情報をレスポンスとして返す。もしくは、サーバ1がEV2から受信した稼働情報をそのままアプリケーション4に送信することもある。なお、サーバ1は後述するように、演算処理を行う際に用いられる記憶手段としてのメモリ11と、前記演算処理を行う演算処理装置とを少なくとも備えるコンピュータとして構成される。なお、メモリ11は、RAM(Random Access Memory)などにより構成される。演算処理は、CPU(Central Processing Unit)12によって構成される演算処理装置が、メモリ11上のプログラムを実行することで実現される。また、前記コンピュータは、通信のためのネットワークインタフェースを備える。
FIG. 1 shows a block diagram when the information management system of the present invention is applied to information management in a smart city. The
EV2にはCPU、メモリ、その他ネットワークインタフェースが車載端末21として組み込まれている。EV2の車載端末は稼働開始/終了、累積の走行距離、充電残量を表すSOC、速度、運転モード、GPSによる走行位置(緯度・経度)などをEVを構成する各種機器から稼働情報として定期的に収集する。更に、車載端末は取得した稼動情報を適宜サーバやEV管理システムに送信する。
The
なお、運転モードとはEV2の運転者が選択するもので、消費電力は少なくすむが駆動力が低い「ECOモード」や、消費電力は多いが駆動力が高い「DRIVEモード」の2モードがある。 The driving mode is selected by the EV2 driver. There are two modes: "ECO mode" that consumes less power but has low driving power, and "DRIVE mode" that consumes much power but has high driving power. .
これらの情報を定期的にサーバ1もしくはEV管理システム3に送信する。サーバ1が地域ごとに分かれて設置されている場合は、どのサーバ1に送信すべきかは車載端末21が自車の走行位置を基に判断するか、M2M通信を管理するM2Mサーバ等がEV2からの情報を受信した基地局を基に該当する送信先のサーバ1を判断する、もしくは後述するEV管理システム3が各EV2の走行位置を基に判断する、などにより適切な地域のサーバ1に送信する。送信間隔はネットワークの帯域にもよるが、少なくとも数分に1回、帯域に余裕があれば数十秒に1回程度を想定する。これはEV2が移動体であるため、間隔が開くとサーバ1が把握するEV2の位置と実際にEV2が走行する位置の誤差が大きくなり、アプリケーション4がEVユーザに提供するサービスの精度に影響するためであり、送信間隔は狭いほうが望ましい。また、サーバ1もしくはEV管理システム3からEV2に配信される情報を受信し、車載端末の画面等に表示して運転者にその内容を通知することが可能である。配信される情報はサーバ1に接続するアプリケーション4がそのサービスの内容に応じて各EV2向けに作成するものである。EV2は直接サーバ1に接続されるものと、EV管理システム3を介して接続されるものを想定する。
These pieces of information are periodically transmitted to the
EV管理システム3はEVメーカなどが自社のEV2のユーザ向けに対し、情報提供などのサービスを行うために運用するものである。自社の一つ乃至複数のEV2から稼働情報を収集し、その内容をサーバ1に送信する。本実施例ではEV管理システム3を介してサーバ1とEV2が接続する場合もサーバ1とEV2とが直接接続する場合も有意な差はないものとし、以降の記載ではEV管理システム3が介在する場合もEV2とサーバ1が直接接続するものとして説明する。
The
アプリケーション4はサーバ1とネットワーク等を介して接続され、サーバ1からEV2の稼働情報の取得と、サーバ1を介したEV2への情報の配信を行う。アプリケーション4には大別して二つのアプリケーションがある。一つ目のアプリケーションは電力事業者などのインフラ供給者のアプリケーション(基幹アプリケーション)で、デマンドレスポンス等により地域の電力の需要と供給のバランスを調整するなど、スマートシティのインフラとして稼働するもので、エネルギー需要の把握のためにサーバ1に蓄積されているEV2の稼働情報を参照し、地域のエネルギー需給予測や充電ステーションの予約状況などと合わせてEV2の充電スケジューリングなどを行ってEV2にその結果をサーバ1を介して配信するなどの処理を行う。このアプリケーションは、サーバ1に蓄積されている稼働情報を無条件で参照可能である。二つ目のアプリケーションはインフラの需給に直接は関与しない第三者のサービス事業者が運用するアプリケーション(商用アプリケーション)である。
The application 4 is connected to the
サービス事業者はEV2のユーザと個々にサービス提供の契約を結んだ上で、契約の内容に基づいてサーバ1に登録されているそのユーザのEV2の稼働情報の参照、およびサーバ1を介したEV2への情報の配信を行う。このアプリケーションは、サーバ1に蓄積されている稼働情報のうち、契約を結んだユーザのEV2の情報のみ、さらに個々の契約の内容に基づいて許可された範囲に該当する稼働情報のみ参照可能である。本実施例では以降、これら二つのアプリケーションのうち後者のアプリケーション(商用アプリケーション)に対象を絞って記載する。
The service provider concludes an individual service provision contract with the EV2 user, references the operation information of the user's EV2 registered in the
本実施例で想定する具体的なアプリケーション4として、充電ステーションナビと地域広告配信の二つを想定する。充電ステーションナビは充電量が少ないEV2に対し、走行位置の付近に存在する即時充電可能な充電ステーションへのナビゲーション情報を配信するアプリケーションである。ただし、充電ステーションの運営チェーン会社に対するEVユーザの好み等を考慮してナビゲートする充電ステーションを選択するために、そのEV2が過去同様の充電量となった際の走行履歴(=稼働情報)をサーバ1から取得し、その情報を参考にしてナビゲートする充電ステーションを選択する。このアプリケーション4を運営するサービスとEVユーザとの間には、EV2のSOCが何%以下になった場合に稼働情報の参照、ナビ情報の配信を許可するかの契約を事前に結び、アプリケーション4はその契約のSOCの値以下の稼働情報のみをサーバ1から参照することができる。
As specific applications 4 assumed in the present embodiment, charging station navigation and regional advertisement distribution are assumed. The charging station navigation is an application that distributes navigation information to a charging station that can be immediately charged and that exists in the vicinity of the traveling position for the
もう一つのアプリケーション4である地域広告配信は、EV2の走行位置付近にある店舗の広告情報をEV2に対し配信するアプリケーションである。このアプリケーションもEVユーザの好み等を考慮して配信する店舗の広告を選択するために、そのEV2が同じ地域を過去走行した際の走行履歴をサーバ1から取得し、その情報を参考にして配信する広告を選択する。このアプリケーション4を運営するサービスとEVユーザとの間にて、ユーザ指定の地域以外を走行中、もしくは指定の地域を走行中だったら稼働情報の参照、広告の配信を許可するかの契約を事前に結ぶ。これは、例えばユーザの自宅付近などの店舗はユーザが既知のため広告配信は不要、もしくは指定の観光地をドライブした際のみ配信を受けたい等の要望に応えるためである。この契約に基づき、アプリケーション4はその契約の地域(4点の緯度・経度により表される四方のエリアにて指定)以外もしくは以内を走行位置とする稼働情報のみをサーバ1から参照することができる。
Another application 4, regional advertisement distribution, is an application that distributes advertisement information of stores near the EV2 travel position to EV2. This application also obtains a travel history when the
次にサーバ1の詳細について図1を用いて説明する。サーバ1の通信部13はEV2がサーバ1へ送信した稼働情報の受信、およびEV2に対する情報の配信を行う。また、アプリケーション4からの稼働情報の参照要求の受付と該当する稼働情報の返信、およびアプリケーション4からのEV2への配信情報要求の受付、アプリケーション4への稼働情報の送信を行う。通信部13が送信する情報はCPU12から渡され、通信部13が受信した情報はCPU12に送信する。なお、以降の記載ではEV2からの稼働情報の収集とアプリケーション4への提供に関する内容のみとし、アプリケーション4からEV2に対する情報の配信に関しては割愛する。
Next, details of the
CPU12は通信部13から受信した情報をメモリ11に展開し、メモリ11上の各種プログラムを実行して情報の加工やメモリ11内のキャッシュ、DB、ファイルへの登録・更新を行う。また、同様にメモリ11上の各種プログラムを実行してメモリ11内のキャッシュ、DB、ファイルから情報を検索・取得し、メモリ11に展開して必要に応じて加工し、通信部13への送信等を行う。CPU12が実行するプログラムとしては、EV2から受信した稼働情報をDBに登録する稼働情報登録プログラム11a、稼働情報登録プログラム11aから呼び出され、稼働情報の後述する「期間」を判定する期間判定プログラム11b、アプリケーション4からの稼働情報参照要求に対し該当する稼働情報を検索し返信メッセージを作成する稼働情報参照プログラム11c、稼働情報参照プログラム11cから呼び出され、アプリケーション4の稼働情報に対するアクセス可否の判定を行うアクセス権限判定プログラム11d、EV2のユーザやアプリケーション4を運営するサービス事業者から入力されたユーザとサービス事業者の間の契約情報から後述のアクセス制御定義を生成する定義変換プログラム11f、稼働情報登録プログラム11aから呼び出され、必要に応じてアプリケーション4への稼働情報の送信を行うプッシュ送信判定プログラム11g、などがある。これらのプログラムは通常ファイルとしてハードディスク等のストレージに格納されており、必要に応じてメモリ11上に展開される。各プログラムの動作の詳細については後述する。また、メモリ11上にはキャッシュ情報として後述する稼働情報キャッシュ11eを保持する。
The
サーバ1がDBとして保持する情報は主に以下である。稼働情報DB14はEV2の稼働情報を保持するDBである。稼働情報DB14はEV2から送信された稼働情報を保持する稼働情報テーブル14aと、ある期間内に含まれる稼働情報の集合について、期間内の稼働情報の一部項目の最大値と最小値を保持する期間単位稼働情報テーブル14bとを保持する。
The information that the
図2(a)に稼働情報テーブル14aの例を記す。このテーブルは一つのレコードが一つの稼働情報を表し、稼働情報を送信したEV2を一意に特定するEV_ID14a0、稼働情報を計測した日時を表すTIMESTAMP14a1、累積の走行距離を表すTOTAL_DIST14a2、バッテリーの充電残量を表すSOC14a3、走行位置の緯度を表すPOS_X14a4、走行位置の経度を表すPOS_Y14a5、稼働開始/終了を表すSTATUS14a6、速度を表すVEL14a7、運転モードを表すMODE14a8、その稼働情報が属する期間のIDを表すPERIOD14a9、などを保持する。
An example of the operation information table 14a is shown in FIG. In this table, one record represents one piece of operation information, EV_ID 14a0 that uniquely identifies the
図2(b)に期間単位稼働情報テーブル14bの例を記す。このテーブルは一つのレコードが1つの期間を表し、期間を一意に特定するIDであるPERIOD14b0、期間内の全実績情報のTOTAL_DISTの最大値/最小値を表すTOTAL_DIST_MAX14b1/TOTAL_DIST_MIN14b2、SOCの最大値/最小値を表すSOC_MAX14b3/SOC_MIN14b4、POS_Xの最大値/最小値を表すPOS_X_MAX14b5/POS_X_MIN14b6、POS_Yの最大値/最小値を表すPOS_Y_MAX14b7/POX_Y_MIN14b8、などを保持する。稼働情報が保持する項目のうち、期間単位稼働情報テーブル14bにて最大値/最小値を保持する項目は後述するアクセス制御定義DB15のプル用アクセス条件テーブル15bにてCOLUMN15b2に指定される項目と一致する。
アクセス制御定義DB15はアプリケーション4を提供するサービス事業者とEVユーザとの間の契約内容に基づいて、稼働情報の参照可能な範囲を定義した情報を保持するDBである。
An example of the period unit operation information table 14b is shown in FIG. In this table, one record represents one period, PERIOD14b0 which is an ID for uniquely identifying the period, TOTAL_DIST_MAX14b1 / TOTAL_DIST_MIN14b2, which represents the maximum / minimum value of TOTAL_DIST of all the actual information in the period, and the maximum / minimum value of SOC SOC_MAX14b3 / SOC_MIN14b4 representing the value, POS_X_MAX14b5 / POS_X_MIN14b6 representing the maximum / minimum value of POS_X, POS_Y_MAX14b7 / POX_Y_MIN14b8 representing the maximum / minimum value of POS_Y, and the like are held. Of the items held in the operation information, the items holding the maximum value / minimum value in the period unit operation information table 14b match the items specified in the COLUMN 15b2 in the pull access condition table 15b of the access
The access
アクセス制御定義DB15はプル用アクセス権限テーブル15a、プル用アクセス条件テーブル15b、プッシュ用アクセス権限テーブル15c、プッシュ用アクセス条件テーブル15d、を保持する。なお、ここでいうプル、プッシュとは稼働情報のサーバ1からアプリケーション4への提供形態の種別を表し、プルとはアプリケーション4のトリガーで、アプリケーション4からサーバ1に取得したい情報の検索条件等を含むリクエストが送信され、そのレスポンスという形態でサーバ1が保持する稼働情報をアプリケーション4に送信することを意味する。プッシュとはサーバ1のトリガーで、サーバ1からアプリケーション4へのリクエストという形態で、サーバ1が提供したい稼働情報をアプリケーション4に送信することを意味する。
The access
図3(a)にプル用アクセス権限テーブル15aの例を記す。このテーブルは一つのレコードが1つのアプリケーション4と、そのアプリケーション4が稼働情報の参照を許可されたEV2との組を表し、アクセス権限を一意に特定するAC_PV_ID15a0、アプリケーション4を一意に特定するApp_ID15a1、EV_ID15a2などを保持する。例えばAC_PV_ID15a0が「p000002」のアクセス権限では、App_ID15a1が「App002」のアプリケーションはEV_ID15a2が「EV001」の稼働情報について参照権限があること(ただし後述するアクセス条件で指定の条件を満たす稼働情報のみ)を表す。
FIG. 3A shows an example of the pull access authority table 15a. In this table, one record represents a set of one application 4 and
図3(b)にプル用アクセス条件テーブル15bの例を記す。このテーブルは一つのレコードが1つのアクセス可の場合の条件を表し、アクセス条件を一意に特定するAC_CD_ID15b0、アクセス条件が紐づくアクセス権限を表すAC_PV_ID15b1、アクセス可否判定の対象とする稼働情報のカラム名を表すCOLUMN15b2、アクセス可否判定の境界値となるCOLUMN15b2の値を表すVALUE15b3、アクセス可の場合のCOLUMN15b2のVALUE15b3の条件を表すCONDITION15b4などを保持する。なお、本実施例では、「紐付く」という文言は、「関連する」という文言と同義で使用する。CONDITION15b4は不等号もしくは等号と不等号の組み合わせで表し、例えばAC_PV_ID15a0(15b1)がp000002に紐づくアクセス条件は次のようになる。AC_CD_ID15b0は「c000001」であり、このアクセス条件はCOLUMN15b2は「SOC」、VALUE15b3は「50」、CONDITION15b4は「<=」である。この場合はSOCの値が50%以下の稼働情報は参照可能であることを表す。一つ乃至複数のアクセス条件がアクセス権限と紐づけられており、同じアクセス権限に紐づくアクセス条件間はAND条件となる。また、アクセス権限は同じApp_ID15a1とEV_ID15a2の組でも複数のレコードを登録することも可能で、この場合アクセス権限間はOR条件となる。 FIG. 3B shows an example of the pull access condition table 15b. This table shows the conditions when one record can be accessed, AC_CD_ID15b0 that uniquely identifies the access condition, AC_PV_ID15b1 that represents the access authority associated with the access condition, and the column name of the operation information that is subject to access permission determination , COLUMN 15b2 that represents the value of COLUMN 15b2 that is a boundary value for determining whether access is possible, CONDITION 15b4 that represents the condition of VALUE 15b3 of COLUMN 15b2 when access is possible, and the like. In this embodiment, the term “link” is used synonymously with the term “related”. CONDITION 15b4 is represented by an inequality sign or a combination of an equal sign and an inequality sign. For example, an access condition in which AC_PV_ID 15a0 (15b1) is associated with p000002 is as follows. AC_CD_ID 15b0 is “c000001”, and this access condition is “SOC” for COLUMN 15b2, “50” for VALUE 15b3, and “<=” for CONDITION 15b4. In this case, it means that the operation information whose SOC value is 50% or less can be referred. One or a plurality of access conditions are associated with the access authority, and the access conditions associated with the same access authority are AND conditions. Also, it is possible to register a plurality of records with the same App_ID 15a1 and EV_ID 15a2 pair, and in this case, the access authority is an OR condition.
図3(c)にプッシュ用アクセス権限テーブル15cが保持するデータ項目を示す。ここに記載のようにプル用アクセス権限テーブル15aのデータ項目と同一である。プッシュ用アクセス権限テーブル15dのデータ項目AC_PV_ID15c0、App_ID15c1、EV_ID15c2がそれぞれ15a0、15a1、15a2に一致する。 FIG. 3C shows data items held in the push access authority table 15c. As described here, it is the same as the data item in the pull access authority table 15a. The data items AC_PV_ID 15c0, App_ID 15c1, and EV_ID 15c2 of the push access authority table 15d match 15a0, 15a1, and 15a2, respectively.
図3(d)にプッシュ用アクセス条件テーブル15dが保持するデータ項目を示す。ここに記載のようにプル用アクセス条件テーブル15bのデータ項目と同一である。プッシュ用アクセス条件テーブル15dのデータ項目AC_CD_ID15d0、AC_PV_ID15c1、COLUMN15c2、VALUE15d3、CONDITION15d4がそれぞれ15b0、15b1、15b2、15b3、15b4に一致する。 FIG. 3D shows data items held in the push access condition table 15d. As described here, it is the same as the data item of the pull access condition table 15b. The data items AC_CD_ID15d0, AC_PV_ID15c1, COLUMN15c2, VALUE15d3, and CONDITION15d4 in the push access condition table 15d match 15b0, 15b1, 15b2, 15b3, and 15b4, respectively.
上記のDBのほか、サーバの定義情報として後述する期間定義ファイル16、定義変換辞書ファイル17を保持する。このファイルの内容はサーバ1起動時にメモリ11にロードされる。期間定義ファイル16については内容の更新が発生した場合にはその更新内容が都度メモリ11にロードされる。
上記のほか、図示しないがサーバ1は各EV2やアプリケーション4の属性情報を保持するDBなどを保持する。
In addition to the above DB, a
In addition to the above, although not shown, the
次に、サーバ1の各プログラムの動作について説明する。
Next, the operation of each program of the
図4を用いて、定義変換プログラム11fの動作について説明する。このプログラムは、アプリケーション4を運営するサービス事業者とEV2のユーザとのサービス提供に関わる契約情報の入力をサーバ1が受信した際に動作する。
The operation of the definition conversion program 11f will be described with reference to FIG. This program operates when the
まず、アプリケーション4のサービス事業者もしくはEV2のユーザはサーバ1が提供する契約内容登録画面を通じて契約情報をサーバ1に入力する。
First, the service provider of the application 4 or the user of the
図5にサービス内容がEV充電量監視の場合の契約内容登録画面1000の例を示す。本画面はブラウザ等によりネットワーク経由で参照および情報の入力が可能であり、入力者(サービス事業者もしくはEV2のユーザ)が各入力欄に対して契約内容に基づき該当する値を入力する。図5の例では、まず契約のカテゴリ(ここでは「EV充電量監視」)を契約選択欄1001の候補値から選択する。契約選択欄1001の値を選択すると、画面内の他の入力欄は契約選択欄1001にて選択された値に沿った入力欄の構成に更新される。EV充電量監視の場合、入力欄はアプリケーションID入力欄1002と対象機器ID入力欄1003の二つのみである。前者はサーバ1が保持する稼働情報を取得できるアプリケーション4のアプリケーションID(App_ID)を入力する。後者はアプリケーションID入力欄1002に入力したアプリケーション4に対し提供する情報の対象となるEVのID(EV_ID)を入力する。入力者はすべての入力欄に値を入力したら登録ボタン1004を押下する。このボタンが押下されると、入力内容が引数として定義変換プログラム11fに送信され、定義変換プログラム11fはその内容を受信する(S301)。
FIG. 5 shows an example of a contract
定義変換プログラム11fはS301で受信した契約選択欄1001のカテゴリに該当する定義変換辞書ファイル17の内容を検索する(S302)。
The definition conversion program 11f searches the contents of the definition
図6に定義変換辞書ファイル17の例を示す。このファイルは、サービス事業者とサーバ1の運用者との間で契約されたサービス事業者のサービス内容(=前記カテゴリ)ごとに生成され、サービス事業者またはサーバ1の運用者によって生成・登録される。従って、同一のサービス事業者が別のサービスを追加で提供する際には、別途このファイルが生成される。このファイルが保持する内容については順次説明するが、S302ではサービスのカテゴリを表す「CATEGORY」の値が選択された値(EV充電量監視)と同一の定義変換辞書ファイル17を検索し、そのファイルが保持する内容を取得する。 取得した定義変換辞書ファイル17の内容から、「PRIORITY」の値を確認する(S303)。本実施例の例ではその値はNORMALかHIGHのいずれかである。NORMALの場合はS305の処理へ、HIGHの場合はS304の処理へ移る。PRIORITYの値がHIGHの場合は緊急度や重要度が高いサービスとし、EV2から稼働情報がサーバ1に送信された際に、定義内容に該当する稼働情報であればサーバ1から指定のアプリケーション4にプッシュ送信する。ただしプルによる情報送信も可能とする。NORMALの場合は緊急度や重要度がそれほど高くないサービスとし、アプリケーション4へはプルによる情報送信のみとする。
FIG. 6 shows an example of the definition
PRIORITYの値がHIGHの場合、まずプッシュ用アクセス権限テーブル15cおよびプッシュ用アクセス条件テーブル15dに定義を追加する(S304)。新規に採番したAC_PV_ID、S301で入力されたアプリケーションID入力欄1002と対象機器ID入力欄1003の値をそれぞれAC_PV_ID15c0、App_ID15c1、EV_ID15c2に登録する。また、アクセス定義変換辞書ファイル17の「CHECK_COLUMN」部分を参照する。この部分には、アプリケーションに提供すべき情報の判定条件が記載されており、条件の対象項目名である監視対象項目COLUMN_NAMEとその条件内容のBORDERで構成される。BORDERはさらにCOLUMN_NAMEの値の境界値を意味するBORDER_VALUEと、その条件(一致、以上、より小さい、等)を意味するBORDER_VALUE_CONDITIONで構成される。新規に採番したAC_CD_ID、プッシュ用アクセス権限テーブルへの登録時に採番したAC_PV_IDとともに、COLUMN_NAMEの値、および「BORDER」部分のBORDER_VALUEの値、BORDER_VALUE_CONDITIONの値、をそれぞれプッシュ用アクセス条件テーブル15dのAC_CD_ID15d0、AC_PV_ID15d1、COLUMN15d2、VALUE15d3、CONDITION15d4に登録する。図6の例では、項目名SOC14a3の値が40以下の場合はその情報をアプリケーション4に通知することを意味する。
If the value of PRIORITY is HIGH, definitions are first added to the push access authority table 15c and the push access condition table 15d (S304). The newly assigned AC_PV_ID and the values in the application
PRIORITYがHIGHおよびNORMALのいずれの場合も、プル用アクセス権限テーブル15a、プル用アクセス条件テーブル15bに定義を追加する(S305)。追加する内容はS304で説明した内容と同一である。従って、PRIORITYがHIGHの場合はプッシュ用とプル用の両方に定義を追加することになる。 Whether PRIORITY is HIGH or NORMAL, definitions are added to the pull access authority table 15a and the pull access condition table 15b (S305). The content to be added is the same as that described in S304. Therefore, if PRIORITY is HIGH, definitions are added for both push and pull.
次に定義変換辞書ファイル17の内容に「PERIOD_COLUMN」の部分に記載があるかどうかを確認する。これは、後述する期間定義ファイル16に追加すべき情報がある場合に記載されているものであり、追加する情報がない場合は省略可能である。ある場合はS307の処理へ移り、ない場合はこのまま定義変換プログラム11fの処理を終了する(S306)。
「PERIOD_COLUMN」部分に記載がある場合、必要に応じて期間定義ファイル16への定義追加を行う(S307)。期間定義ファイル16はEV2から収集する稼働情報を期間ごとに保持するために必要な、期間の定義を保持するファイルである。このファイルは期間判定プログラム11bによって参照され(参照時の説明は後述)、ここでは定義の追加登録のみ行う。
Next, it is confirmed whether or not the contents of the definition
If there is a description in the “PERIOD_COLUMN” part, a definition is added to the
図7に期間定義ファイル16の内容例を記す。このファイルの内容は、稼働情報が保持する項目の中で期間を定義する項目とその項目名と、期間を分割すべき値・条件が「=」で結ばれており、その組が1つ乃至複数定義されている。図7の例では、項目名「STATUS」は、値「START」と「STOP」を別の期間とすることを意味し、期間判定プログラム11bにおいて、前のTIMESTAMP14a1の稼働情報のSTATUS14a6と受信した稼働情報のSTATUS14a6の値を比較し、STARTからSTOP、もしくはその逆になった場合には前と受信した稼働情報を別の期間とすることを意味する。同様に、項目名「TIMESTAMP」では、受信した稼働情報のTIMESTAMP14a1の値が前の稼働情報のTIMESTAMP14a1の値より10分以上経過した場合は別の期間とすることを意味する。複数行指定されている場合はいずれかの条件に該当した場合に別の期間とする。
また、定義変換辞書ファイル17のPERIOD_COLUMN部分について説明する。PREIOD_COLUMNは上記の期間定義ファイル16へ追加する定義内容を保持し、期間定義ファイル16の内容の項目名(「=」の前)を意味するCOLUMN_NAME、および期間を分割すべき値・条件(期間定義ファイル16の内容の「=」の後)を表す複数のPERIOD_COLUMN_BORDERにて構成される。図5の例ではPERIOD_COLUMN_BORDERが二つ定義されており、項目名MODEの値が前のTIMESTAMP14a1の稼働情報と受信した稼働情報とを比較し、ECOからDRIVE、もしくはその逆になった場合にはそれらを別の期間とすることを意味する。三つ以上定義されている場合も同様である。PERIOD_COLUMNの項目は期間定義ファイル16の参照時の説明にて後述するように、その値によっては監視対象項目の値の変化に大きな影響を与える項目を選定する。
FIG. 7 shows an example of the contents of the
The PERIOD_COLUMN portion of the definition
S307の処理では、PERIOD_COLUMNの内容を取得し、その値と期間定義ファイル16の内容を比較し、項目名(「=」の前)および値・条件(「=」の後)いずれも同一のものがなければ新規行の追加登録を行い、ある場合は追加登録を行わない。図7の例では、3行目の「MODE=”ECO”/”DRIVE”;」がこの処理によって追加される。
In the processing of S307, the content of PERIOD_COLUMN is acquired, the value is compared with the content of the
次に、PERIOD_COLUMN内に「EFFECT=HIGH」の記載があるPERIOD_COLUMN_BORDERの有無を確認する(S308)。ある場合はS309の処理へ、ない場合は定義変換プログラム11fの処理を終了する。EFFECT=HIGHの記載がある場合は、その項目名および条件をプルもしくはプッシュ用アクセス権限テーブル、アクセス条件テーブルに追加登録する(S309)。COLUMN_NAMEで指定の項目は、その値によっては監視対象項目の変化に影響を与えるものであるが、監視対象項目の値の変位量が大きくなる値については定義変換辞書ファイル17のPERIOD_COLUMN_BORDER部分に「EFFECT=HIGH」を記載する。
この記載をすることで、監視対象項目ではない項目であるがその値の変化に対して大きな影響のある項目および値を保持する稼働情報については、アプリケーションへの情報提供の対象とすることを意味する。例えば図6の例では、項目名MODE14a8の値がDRIVEの場合、SOC14a3の値の低下量が大きくなることから、たとえSOC14a3の値が40より大きな値であってもアプリケーション4に提供すべき稼働情報であることを意味する。従って、プル/プッシュ用のアクセス権限テーブル15a/15cおよびアクセス条件テーブル15b/15dへの追加登録が必要である。S303の処理にてPRIORITYがHIGHの場合はプッシュ用とプル用の両方のテーブルに、NORMALの場合はプル用のテーブルにのみ登録を行う。AC_PV_IDを再度採番しアクセス権限テーブル15a/15cにレコードを追加登録し、EFFECT=HIGHの記載のあるPERIOD_COLUMN_BORDERの内容をアクセス条件テーブル15b/15dに追加登録する。以上の処理が終わったら、処理を終了する。
以上が、定義変換プログラム11fの処理の流れである。
Next, the presence / absence of PERIOD_COLUMN_BORDER with “EFFECT = HIGH” in PERIOD_COLUMN is confirmed (S308). If there is, the process proceeds to S309, and if not, the process of the definition conversion program 11f ends. If EFFECT = HIGH is described, the item name and condition are additionally registered in the pull or push access authority table and access condition table (S309). The item specified by COLUMN_NAME affects the change of the monitoring target item depending on the value, but the value that increases the displacement amount of the monitoring target item is set to “EFFECT” in the PERIOD_COLUMN_BORDER part of the definition
This description means that items that are not monitored items but have a large effect on changes in their values and operation information that holds values are subject to information provision to the application. To do. For example, in the example of FIG. 6, when the value of the item name MODE14a8 is DRIVE, the amount of decrease in the value of SOC14a3 increases, so even if the value of SOC14a3 is larger than 40, the operation information to be provided to the application 4 It means that. Therefore, additional registration to the access authority table 15a / 15c for pull / push and the access condition table 15b / 15d is necessary. When PRIORITY is HIGH in the processing of S303, registration is performed only in both the push and pull tables, and in the case of NORMAL, registration is performed only in the pull table. Number the AC_PV_ID again, register additional records in the access authority table 15a / 15c, and additionally register the contents of PERIOD_COLUMN_BORDER with EFFECT = HIGH in the access condition table 15b / 15d. When the above processing ends, the processing ends.
The above is the flow of processing of the definition conversion program 11f.
以上の説明ではサービスのカテゴリとしてEV充電量監視を例にしたが、次に「EV地域広告配信」を例にした場合について説明する。なお、EV充電量監視の処理と重複する部分については説明を割愛し、差分のある部分のみ説明する。 In the above description, EV charge amount monitoring is taken as an example of the service category. Next, a case where “EV regional advertisement distribution” is taken as an example will be described. It should be noted that the description overlapping with the EV charge amount monitoring process is omitted, and only the difference is described.
図8にS301の契約情報登録画面1000にて、契約選択欄1001に「EV地域広告配信(自宅付近以外)」を選択した場合の契約情報登録画面1000の例を記す。この図が示すように、「EV地域広告配信(自宅付近以外)」を選択すると1002、1003のほか自宅緯度入力欄1005と自宅経度入力欄1006が表示される。入力者はEV2のユーザの自宅の緯度経度を入力する。緯度経度が不明な場合は、ユーザの住所などから緯度経度を算出して入力する。
FIG. 8 shows an example of the contract
図9にEV地域広告配信(自宅付近以外)に該当する定義変換辞書ファイル17の例を示す。このサービスではPRIORITYがNORMALであるため(広告の配信は緊急度・重要度ともに高くないため)、S304の処理は行われず、S305にてプル用アクセス権限テーブル15a、プル用アクセス条件テーブル15bへの追加登録のみ行われる。
FIG. 9 shows an example of the definition
ここで、図9に示すように、このファイル例ではCEHCK_COLUMNが二つ存在している。複数CHECK_COLUMNを定義する場合は、それらがOR条件なのかAND条件なのかを表すCHECK_COLUMN_CONDITIONを定義する。また、CHECK_COLUMN内のBORDERも複数定義されている。BORDERが複数定義されている場合も同様、BORDER_CONDITIONによりそれらがOR条件なのかAND条件なのかを定義する。図9に示すようにCHECK_COLUMN_CONDITIONがORでBORDER_CONDITIONがORの場合は、各BORDERをそれぞれ別のアクセス権限として定義する。従って、プル用アクセス権限テーブル15aにはこの場合4つのレコードが追加登録され、それぞれに紐づくプル用アクセス条件テーブル15bのレコードは一つずつ登録される。CHECK_COLUMN_CONDITIONがORでBORDER_CONDITIONがANDの場合にはプル用アクセス権限テーブル15aには2つのレコードが追加登録され、それぞれに紐づくプル用アクセス条件テーブル15bのレコードは二つずつ登録される。 Here, as shown in FIG. 9, two CEHCK_COLUMN exist in this file example. When defining multiple CHECK_COLUMNs, define CHECK_COLUMN_CONDITION to indicate whether they are OR conditions or AND conditions. A plurality of BORDERs in CHECK_COLUMN are also defined. Similarly, when multiple BORDERs are defined, BORDER_CONDITION defines whether they are OR conditions or AND conditions. As shown in FIG. 9, when CHECK_COLUMN_CONDITION is OR and BORDER_CONDITION is OR, each BORDER is defined as a separate access authority. Accordingly, in this case, four records are additionally registered in the pull access authority table 15a, and one record of the pull access condition table 15b associated with each record is registered. When CHECK_COLUMN_CONDITION is OR and BORDER_CONDITION is AND, two records are additionally registered in the pull access authority table 15a, and two records in the pull access condition table 15b associated with each are registered.
CHECK_COLUMN_CONDITIONがANDでBORDER_CONDITIONがANDの場合にはプル用アクセス権限テーブル15aには1つのレコードが追加登録され、紐づくプル用アクセス条件テーブル15bのレコードとして四つのレコードが登録される。
また、図9に示すように、BORDER_VALUEの値として「PARAM_1+0.1」など、PARAM_1やPARAM_2の記載がある。PARAM_1およびPARAM_2はそれぞれ図8に示す契約内容登録画面の自宅緯度入力欄1005と自宅経度入力欄1006に対応づいており、自宅緯度入力欄1005で入力された値に1分足した値もしくは1分引いた値を算出し、算出結果をプル用アクセス条件テーブル15bに登録する。図9に示す例では、自宅の緯度経度から±1分以内の範囲でない場所(±1分より外)にEV2が位置する場合に、その稼働情報をアプリケーション4が参照可能であることを意味する。
When CHECK_COLUMN_CONDITION is AND and BORDER_CONDITION is AND, one record is additionally registered in the pull access authority table 15a, and four records are registered as the records in the pull access condition table 15b to be linked.
Also, as shown in FIG. 9, there is a description of PARAM_1 or PARAM_2 such as “PARAM_1 + 0.1” as the value of BORDER_VALUE. PARAM_1 and PARAM_2 correspond to the home
S307の処理においては、図9の場合では稼働情報の項目VEL14a7の値が連続値であるため、その範囲によって期間を別とすべきか同じとすべきかの定義を期間定義ファイル16に登録する。図9の例では30以下の場合、30より大きく80以下の場合、80より大きい場合の三つを定義し、それらを跨る遷移が検出されたら期間を別とすることとしている。これは、EV2の速度が大きくなると移動距離も大きくなり、それだけEV2の位置も大きく変わる可能性が高いためであることを意味する。この記載により期間定義ファイル16に追加される定義は図7の4行目のようになる。また、図9の例ではEFFECT=HIGHの記載があるBORDERがないため、S309の処理は行われない。
In the processing of S307, since the value of the operation information item VEL14a7 is a continuous value in the case of FIG. 9, the definition of whether the period should be separated or the same should be registered in the
なお、以上の処理では契約情報登録画面1000をカテゴリごとに用意する必要があるが、カテゴリ間の差分は図9の例でいうPARAM_1やPARAM_2などの入力パラメータのみであるため、S301にて契約選択欄1001の値が選択された際に、該当する変換定義辞書ファイル17の内容からPARAM_1やPARAM_2の存在を検出し、契約情報登録画面1000に表示する文言と入力パラメータとの対応を別途設定ファイルで保持しそれを参照することにより、変換定義辞書ファイル17から自動的に契約情報登録画面1000あの生成が可能になる。
In the above processing, the contract
以上の処理により、サーバ1と接続するアプリケーション4のサービスのカテゴリが様々である場合においても、その数だけ定義変換辞書ファイル17を用意するのみで契約内容から稼働情報へのアクセス条件等への定義への変換およびそれらの登録を自動で行うことが可能になる。これにより、接続するアプリケーションが追加・拡張される際においても、サーバ1の運用者の手を煩わせることなく稼働情報のアプリケーション4への提供に関する定義の作成・登録が可能になる。
With the above processing, even when the service category of the application 4 connected to the
次に、稼働情報登録プログラム11aおよび期間判定プログラム11b、プッシュ送信判定プログラム11gの動作について説明する。稼働情報登録プログラム11aは、前記のようにEV2からの稼働情報(この稼働情報にはPERIOD14a9は含まれていない。)を受信し、稼働情報DB14に登録する際に動作する。
Next, operations of the operation
図10はそのときの処理シーケンスを示したものである。以下、この図に沿って説明する。まずEV2より、登録対象の一つ乃至複数の稼働情報を含む稼働情報登録要求のメッセージがネットワークを介してサーバ1に送信される。複数の稼働情報が含まれる場合は、EV2の通信状態が悪くサーバ1に稼働情報が送信できなかった場合に、次の周期の際に纏めてサーバ1に送信する場合などで発生する。通信部13を介して稼働情報登録プログラム11aがそのメッセージを受け取ると、二つのスレッドを起こす。一つは受信した稼働情報をアプリケーション4にプッシュ送信すべきかどうか、を判定する処理を行うスレッドで、プッシュ判定プログラム11gを呼び出す。もう一つのスレッドは受け取った稼働情報の期間を判定するために期間判定プログラム11bにその稼働情報を送信して呼び出す。これらのスレッドは並行して実行される。 図11に、プッシュ送信判定プログラム11gが、受信した稼働情報についてのプッシュ送信判定処理、および必要に応じてアプリケーション4へのプッシュ送信処理を行うときのフローチャートを示す。
FIG. 10 shows the processing sequence at that time. Hereinafter, it demonstrates along this figure. First, an operation information registration request message including one or more pieces of operation information to be registered is transmitted from the
受信した稼働情報のEV_ID14a0を基に、そのEV_IDがEV_ID15a2と一致するプッシュ用アクセス権限テーブル15cのレコード(アクセス権限レコード)を検索する(S401)。S401にて該当するレコードが1つでもある場合にはS403の処理へ移る。一つもない場合は、プッシュ送信の必要がないとして処理を終了する(S402)。 Based on the EV_ID 14a0 of the received operation information, a record (access authority record) in the push access authority table 15c whose EV_ID matches the EV_ID 15a2 is searched (S401). If there is even one corresponding record in S401, the process proceeds to S403. If there is none, the process is terminated because there is no need for push transmission (S402).
S401にて該当するレコードがある場合、以下のS404からS407までの処理を取得したアクセス権限レコードの数だけ繰り返す(S403)。
AC_PV_IDをキーに、処理対象のアクセス権限レコードに紐づくプッシュ用アクセス条件テーブル15dのレコードを取得する(S404)。受信した稼働情報とS404で取得したアクセス条件の内容とを比較し、条件に該当するかどうかを判定する(S405)。複数の稼働情報が含まれている場合には、すべてについて判定処理を行う。アクセス条件に該当する場合はS407の処理へ、該当しない場合はS408の処理へ移り次のアクセス権限レコードに対するS404以降の処理を行う(S406)。該当する場合はアプリケーション4に対するサーバ1からのプッシュ送信が必要な稼働情報であるため、送信宛先となるアプリケーション4のApp_IDごとにメモリ11に用意したプッシュ送信リストに該当する稼働情報を追加する(S407)。該当するApp_IDのプッシュ送信リストがない場合は新規に用意して稼働情報を追加する。S407までの処理を終えたら、次のアクセス権限レコードに対するS404以降の処理を行う。すべてのアクセス権限レコードに対する処理を終えたら、S409に移る(S408)。S407にて生成したプッシュ送信リストの送信宛先の数だけ、S410の処理を行う(S409)。プッシュ送信リストのApp_IDを基に、アプリケーション4の属性情報として保持されている送信先のURLを取得する。プッシュ送信リストの内容を基に送信メッセージを生成し、取得したURLに対してメッセージを送信する(S410)。S410の処理を終えたら、次の送信宛先に対するS410の処理を行う。すべての送信宛先に対する処理を終えたら、処理を終了する(S411)。以上がプッシュ送信判定プログラム11gの処理の流れである。
If there is a corresponding record in S401, the following processes from S404 to S407 are repeated for the number of access authority records acquired (S403).
Using the AC_PV_ID as a key, a record of the push access condition table 15d associated with the access authority record to be processed is acquired (S404). The received operation information is compared with the contents of the access condition acquired in S404, and it is determined whether the condition is met (S405). When a plurality of pieces of operation information are included, determination processing is performed for all of them. If the access condition is satisfied, the process proceeds to S407. If not, the process proceeds to S408, and the process after S404 is performed on the next access authority record (S406). In this case, since the operation information requires push transmission from the
図10の処理シーケンスに戻る。期間判定プログラム11bは、受信した稼働情報について期間判定処理を行う。
Returning to the processing sequence of FIG. The
図12はこのときの処理のフローチャートを示したものである。以下、この図に沿って説明する。 FIG. 12 shows a flowchart of the processing at this time. Hereinafter, it demonstrates along this figure.
受信した稼働情報が複数ある場合には、稼働情報のTIMESTAMP14a1の昇順で稼働情報をソートする(S101)。
次に、メモリ11にロードされている期間定義ファイル16の内容を取得する(S102)。この期間定義ファイル16の内容例を前記の通り図7に記す。この定義ファイルは、EV2の稼働情報を期間で区切る際の区切り条件を表すものである。繰り返しになるが、図7の例では、1行目は稼働情報のSTATUS14a6の格納値が、前回受信した稼働情報(複数の稼働情報の場合は前に処理した稼働情報。以下同じ)と比較してSTARTからSTOPもしくはその逆に遷移した場合に、期間を区切ることを意味する。2行目では、受信した稼働情報のTIMESTAMP14a1が前回受信した稼働情報から10分以上経過した値であれば、期間を区切ることを意味する。3行目では、稼働情報のMODE14a8の格納値が前回受信した稼働情報と比較して「ECO」から「DRIVE」もしくはその逆に遷移した場合に、期間を区切ることを意味する。4行目では、稼働情報の速度を表すVEL14a7を30km/h未満、30km/h以上80km/h未満、80km/h以上の三つの区分に分け、前回受信した稼働情報と比較して区分が遷移した値であれば期間を区切ることを意味する。この例のように複数行指定されている場合は、どれか一つでも該当したら期間を区切ることを意味する。この定義は稼働情報として保持する項目についてであればサーバ1構築時に自由に定義することが可能であり、図7の例のいずれかでもよいし、これら以外の稼働情報の項目についてでもよい。区切りの境界値や文字列も稼働情報で収集できる値であれば自由に設定できる。図7の例の1行目の例は頻繁に稼働/停止する個人ユースのEV2が多い場合を想定、2行目の例はトラックやバスなど長時間稼働し続けるEV2が多い場合を想定している。3行目、4行目の例については前記のとおりである。
If there is a plurality of received operation information, the operation information is sorted in ascending order of the TIMESTAMP 14a1 of the operation information (S101).
Next, the contents of the
次に、受信した稼働情報に含まれるEV_ID14a0を基にメモリ11の稼働情報キャッシュ11eの内容を取得する(S103)。
Next, the contents of the operation information cache 11e of the
図13に、この稼働情報キャッシュ11eの内容例を記す。このキャッシュには大別して二つの情報が含まれ、一つは期間単位キャッシュ11e0、もう一つは期間判定用キャッシュ11e1である。前者は前回処理した期間の期間単位稼働情報を保持する。後者は上記の期間定義ファイル16にて定義されている稼働情報の項目ごとに、前回処理した稼働情報の各項目の該当値を保持している。これらのキャッシュはEV_ID14a0ごとに保持する。送信元のEV2のEV_ID14a0が「EV001」の場合は、図13に記載の内容を取得する。
以下、期間判定プログラム11bが受信した稼働情報ごとにS115までの処理を繰り返す(S104)。
FIG. 13 shows an example of the contents of this operation information cache 11e. This cache includes two types of information. One is a period unit cache 11e0 and the other is a period determination cache 11e1. The former holds period unit operation information of the period processed last time. The latter holds the corresponding value of each item of operation information processed last time for each item of operation information defined in the
Thereafter, the processing up to S115 is repeated for each operation information received by the
さらに以下、期間定義ファイル16で定義されている稼働情報の項目ごとにS113までの処理を繰り返す。図7の例だと「STATUS」、「TIMESTAMP」、「MODE」、「VEL」の4つの項目である(S105)。
Thereafter, the processing up to S113 is repeated for each item of operation information defined in the
処理対象となっている期間定義ファイル16の項目について、期間判定用キャッシュ11e1の値と処理対象の稼働情報の該当する項目の値とを比較する(S106)。比較の結果、期間定義ファイル16に定義の期間の区切りに該当する場合はS108の処理へ、該当しない場合はS111の処理へ移る(S107)。例えばSTATUSのキャッシュ値がSTARTで、稼働情報のSTATUS14a6がSTARTもしくは値なしの場合は期間の区切りに該当しない。VELのキャッシュ値が30-80で稼働情報のVEL14a7の値が16km/hであれば、期間の区切りに該当する。
For the items in the
期間の区切りに該当した場合、S105〜S113のループ処理を抜ける。期間を新規登録するため、新規登録する期間のIDであるPERIOD14b0(14a9)を採番する(S108)。さらに、稼働情報キャッシュ11eの期間単位キャッシュ11e0、期間判定用キャッシュ11e1の両方を稼働情報の内容で書き換える(S109)。期間単位キャッシュ11e0には稼働情報の内容で(最大値と最小値は同一の値となる)、期間判定用キャッシュ11e1には稼働情報の各項目について該当する値もしくは期間定義の値で更新する。そして、稼働情報DB14の期間単位稼働情報テーブル14bに期間単位キャッシュ11e0を更新した内容と同一の内容でレコードを新規登録する(S110)。例えば期間単位キャッシュ11e0のPERIODの値が「E001P010」の場合、新規のPERIODとして「E001P011」を採番し、このPERIODに該当する期間単位稼働情報として処理対象の稼働情報の内容で期間単位キャッシュ11e0の更新、および期間単位稼働情報テーブル14bの新規レコード登録を行う。
If the period falls, the loop processing of S105 to S113 is exited. In order to register a new period, the period ID 14b0 (14a9), which is the ID of the new registration period, is assigned (S108). Further, both the period unit cache 11e0 and the period determination cache 11e1 of the operation information cache 11e are rewritten with the contents of the operation information (S109). The period unit cache 11e0 is updated with the contents of the operation information (the maximum value and the minimum value are the same value), and the period determination cache 11e1 is updated with the corresponding value or the value of the period definition for each item of the operation information. Then, a record is newly registered in the period unit operation information table 14b of the
期間の区切りに該当しない場合、稼働情報キャッシュ11eの各項目で更新が必要な項目を更新する(S111)。図13の例では、期間単位キャッシュ11e0については稼働情報の各項目がキャッシュの最大値/最小値より大きい/小さい場合に該当する項目の最大値/最小値を更新する。期間判定用キャッシュ11e1の場合については、TIMESTAMPの値のみを更新する。さらに、期間単位キャッシュ11e0を更新した場合には、稼働情報DB14の期間単位稼働情報テーブル14bの値も更新する(S112)。以上の処理を行ったら、期間定義ファイル16で定義されている次の項目を処理対象として再度S106の処理を行う。例えば、期間単位キャッシュ11e0のSOC_MINの値が「45」で、処理対象の稼働情報のSOC14a3の値が「43」の場合は、期間単位キャッシュ11e0の「SOC_MIN」の値を43に更新する。
If it does not fall within the period separator, the item that needs to be updated is updated in each item of the operation information cache 11e (S111). In the example of FIG. 13, for the period unit cache 11e0, the maximum value / minimum value of the corresponding item is updated when each item of the operation information is larger / smaller than the maximum / minimum value of the cache. In the case of the period determination cache 11e1, only the value of TIMESTAMP is updated. Further, when the period unit cache 11e0 is updated, the value of the period unit operation information table 14b of the
S108〜S110の処理、もしくは期間定義ファイル16で定義されているすべての項目について期間区切りに該当せずS113までの処理を行ったら、処理対象の稼働情報にPERIOD14a9の値をセットする(S114)。期間区切りに該当した場合はS108で採番したPERIOD(例:EV001P011)を、該当しなかった場合は期間単位キャッシュ11e0のPERIOD(例:EV001P010)をセットする。
受信したすべての稼働情報に対しS115までの処理を行ったら、PERIODをセット済みの稼働情報を戻り値で稼働情報登録プログラム11aに返し(S116)、処理を終了する。
When the processing from S108 to S110 or the processing up to S113 is performed for all items defined in the
When the processing up to S115 has been performed for all the received operation information, the operation information for which PERIOD has been set is returned to the operation
以上が期間判定プログラム11bの期間判定処理の流れである。
稼働情報登録プログラム11aは戻り値で受信した稼働情報を、稼働情報DB14の稼働情報テーブル14aに登録する。すべての稼働情報を登録したら、EV2に対し登録完了の戻り値を返し、処理を終了する。EV2は登録完了の戻り値を受信したら、サーバ1に送信した稼働情報を破棄する。登録完了の戻り値を受信できなかった場合は次回の稼働情報送信のタイミングで合わせて再度送信する。
The above is the flow of the period determination process of the
The operation
以上が稼働情報登録プログラム11aの処理の流れである。なお、上記の例では期間定義ファイル16の内容はすべてのEV2で共通の定義としたが、EV2の車種ごとに選択できる運転モードが異なる場合などはEV_ID14a0ごとの定義としてもよい。
The above is the process flow of the operation
次に、稼働情報参照プログラム11cおよびアクセス権限判定プログラム11dの動作について説明する。これらのプログラムは前記のようにアプリケーション4から稼働情報の参照要求を受信した際に動作する。
Next, operations of the operation
図14に稼動情報参照処理とアクセス権限判定処理の処理シーケンスを示したものである。以下、この図に沿って説明する。
まずアプリケーション4より、稼働情報の参照要求メッセージがネットワークを介してサーバ1に送信される。このメッセージには送信元アプリケーション4のApp_ID、参照対象とするEV_IDと検索条件(ここでは稼働情報のTIMESTAMPの日時範囲とする)が含まれる。通信部13を介して稼働情報参照プログラム11cがそのメッセージを受け取ると、EV_IDと検索条件を基に稼働情報DB14の稼働情報テーブル14aを検索し、これらに該当する稼働情報のリストを取得する。
FIG. 14 shows a processing sequence of the operation information reference process and the access authority determination process. Hereinafter, it demonstrates along this figure.
First, an operation 4 reference request message is transmitted from the application 4 to the
次に、取得した稼働情報に対し参照要求元(メッセージ送信元)アプリケーション4が参照可能かどうかの判定処理を行うため、アクセス権限判定プログラム11dを呼び出す。呼び出しの際にはApp_ID、EV_ID、検索結果の稼働情報リストがアクセス権限判定処理に渡される。 Next, the access authority determination program 11d is called in order to determine whether the reference request source (message transmission source) application 4 can refer to the obtained operation information. At the time of calling, App_ID, EV_ID, and the operation information list of search results are passed to the access authority determination process.
図15はアクセス権限判定処理の詳細なフローチャートを記したものである。以下、この図に沿って説明する。
アクセス権限判定プログラム11dは受信したApp_ID15a1、EV_ID15a2を基にアクセス制御定義DB15のプル用アクセス権限テーブル15aを検索する(S201)。該当するアクセス権限がある場合は、そのアクセス権限のAC_PV_ID15a0を基にさらにプル用アクセス条件テーブル15bを検索し、該当するアクセス条件を取得する。例えばApp_ID15a1が「App002」、EV_ID15a2が「EV001」の場合はAC_PV_ID15a0が「p000002」のアクセス権限が該当する。さらにプル用アクセス条件テーブル15bではAC_CD_ID15b0が「c000001」のアクセス条件が該当する。
FIG. 15 is a detailed flowchart of the access authority determination process. Hereinafter, it demonstrates along this figure.
The access authority determination program 11d searches the pull access authority table 15a of the access
該当するアクセス権限のレコードが存在する場合はS204の処理へ、ない場合はS203の処理へ進む(S202)。該当するアクセス権限のレコードがない場合は、参照要求元アプリケーション4は指定のEV_IDの稼働情報に対する参照権限がないとし、空の戻り値をセットする(S203)。 該当するアクセス権限のレコードが存在する場合、アクセス権限判定プログラム11dが呼び出された際に受信した検索条件に該当した稼働情報のリストを戻り値にセットする(S204)。 If there is a record with the corresponding access authority, the process proceeds to S204, and if not, the process proceeds to S203 (S202). If there is no corresponding access authority record, the reference request source application 4 assumes that there is no reference authority for the operation information of the specified EV_ID, and sets an empty return value (S203). If there is a record of the corresponding access authority, a list of operation information corresponding to the search condition received when the access authority determination program 11d is called is set as a return value (S204).
以下、S201で取得したアクセス条件ごとにS215までの処理を繰り返す(S205)。
戻り値に設定した稼働情報リストから、それらのPERIOD14a9を取得する(S206)。例えば、「EV001P009」、「EV001P010」、「EV001P011」のPERIODを取得したとする。
Thereafter, the processing up to S215 is repeated for each access condition acquired in S201 (S205).
Those PERIODs 14a9 are acquired from the operation information list set as the return value (S206). For example, assume that PERIODs of “EV001P009”, “EV001P010”, and “EV001P011” are acquired.
以下、S206で取得したPERIODごとにS214までの処理を繰り返す(S207)。
処理対象のアクセス条件のCOLUMN15b2に指定されている稼働情報のカラム名に該当する、稼働情報DB14の期間単位稼働情報テーブル14bの処理対象のPERIOD14b0に該当するレコードの最大値と最小値を取得する。取得した最大値と最小値とアクセス条件のVALUE15b3およびCONDITION15b4に指定されている値とを比較し、最大値と最小値がいずれも条件に該当するか、いずれも条件に該当しないか、一方は該当しないがもう一方は該当するか、で分類する(S208)。例えば、AC_CD_ID15b0がc000001の場合はCOLUMN15b2が「SOC」なので期間単位稼働情報のSOC_MAX14b3とSOC_MIN14b4を取得する。アクセス条件のVALUE15b3およびCONDITION15b4は<=50であるので、PERIOD:EV001P009の場合はいずれも条件に該当せず、PERIOD:EV001P010の場合は一方のみ該当、PERIOD:EV001P011の場合はいずれも該当することになる。
Thereafter, the processing up to S214 is repeated for each PERIOD acquired in S206 (S207).
The maximum value and the minimum value of the record corresponding to the processing target PERIOD 14b0 in the period unit operation information table 14b of the
S208の比較の結果、いずれも該当する場合はS210の処理へ、いずれも該当しない場合はS211の処理へ、一方のみ該当する場合はS212の処理へ移る(S209)。最大値・最小値がいずれも該当する場合は、そのPERIODに該当する稼働情報はすべてアクセス条件に該当する参照可能な稼働情報とし、戻り値に残したままとする(S210)。上記の例ではPERIOD14a9がEV001P011の稼働情報はすべて参照可能である。最大値・最小値がいずれも該当しない場合は、そのPERIODに該当する稼働情報はすべてアクセス条件に該当しない参照不可な稼働情報とし、戻り値から削除する(S211)。上記の例ではPERIOD14a9がEV001P009の稼働情報はすべて参照不可である。最大値・最小値の一方のみが該当する場合は、その期間の稼働情報は参照可能なものと参照不可なものとが混在していることを意味する。この場合は稼働情報一件ごとにアクセス条件を満たすかどうかの判定を行う必要がある。上記の例では、PERIOD14a9がEV001P010に該当する稼働情報が対象となる。判定処理を早く終わらせるため、アクセス条件のCOLUMN15b2に該当する稼働情報の項目でPERIOD14a9に該当する稼働情報をソートし(S212)、順にアクセス条件のVALUE15b3およびCONDITION15b4と稼働情報の値とを比較してアクセス可否判定を行う。該当する稼働情報から該当しない稼働情報に変わった時点、もしくは該当しない稼働情報から該当する稼働情報に変わった時点で処理を終え、該当しない稼働情報を戻り値から削除する(S213)。 As a result of the comparison in S208, the process proceeds to S210 if both are applicable, to S211 if none is applicable, and to S212 if only one is applicable (S209). When both the maximum value and the minimum value are applicable, all the operation information corresponding to the PERIOD is set as referenceable operation information corresponding to the access condition, and is left in the return value (S210). In the above example, PERIOD 14a9 can refer to all the operation information of EV001P011. If neither the maximum value nor the minimum value is applicable, all the operation information corresponding to the PERIOD is regarded as operation information that does not correspond to the access condition and cannot be referred to, and is deleted from the return value (S211). In the above example, PERIOD 14a9 cannot refer to all the operation information of EV001P009. When only one of the maximum value and the minimum value is applicable, it means that operation information for the period includes a mixture of information that can be referred to and information that cannot be referred to. In this case, it is necessary to determine whether or not the access condition is satisfied for each piece of operation information. In the above example, PERIOD 14a9 is the operation information corresponding to EV001P010. In order to finish the determination process early, the operation information corresponding to PERIOD 14a9 is sorted by the operation information item corresponding to COLUMN 15b2 of the access condition (S212), and the values of the operation information are sequentially compared with the values of the operation information VALUE 15b3 and CONDITION 15b4. Access accessibility determination is performed. The processing is terminated when the corresponding operation information is changed to the non-applicable operation information, or when the operation information is not changed to the corresponding operation information, and the non-applicable operation information is deleted from the return value (S213).
S207からS214までの処理を、S206で取得したPERIODの数だけ行う。すべてのPERIODに対し行い、アクセス条件が複数存在する場合は次のアクセス条件で再度S205からS215までの処理を行う。すべてのアクセス条件について処理を行ったら、最終的に残った戻り値を参照可能稼働情報リストとして稼働情報参照プログラム11cに返し(S216)、処理を終了する。
The processing from S207 to S214 is performed for the number of PERIODs acquired in S206. If there are a plurality of access conditions, the process from S205 to S215 is performed again under the next access condition. When all access conditions have been processed, the finally remaining return values are returned to the operation
以上がアクセス権限判定プログラム11dのアクセス権限判定処理の流れである。稼働情報参照プログラム11cは戻り値で受信した稼働情報を検索結果としてアプリケーション4に返信し、処理を終了する。以上が稼働情報参照プログラム11cの処理の流れである。なお、上記の例ではS201の処理でプル用アクセス権限テーブル15aのレコードが1件のみ該当した例を記載したが、複数のレコードが該当した場合はOR条件となるため、S204からS215までの処理を各アクセス権限ごとに並行して行い、残った戻り値の稼働情報リストをOR条件で纏めて最終的なアクセス判定処理の戻り値とする。
The above is the flow of the access authority determination process of the access authority determination program 11d. The operation
また、上記の例ではアプリケーション4が指定のEV_IDと検索条件で稼働情報の検索を行ってからアクセス権限判定処理を行ったが、プル用アクセス権限テーブル15aに該当するApp_ID15a1とEV_ID15a2の有無判定だけ検索より先に行うとしてもよい。この場合、プル用アクセス権限テーブル15aに指定のApp_ID15a1とEV_ID15a2がない場合は稼働情報の検索処理を行わずに該当する稼働情報なしと判定することができる。 In the above example, the access authority determination process is performed after the application 4 searches the operation information using the specified EV_ID and search conditions. However, only the presence / absence determination of App_ID 15a1 and EV_ID 15a2 corresponding to the pull access authority table 15a is searched. It may be performed earlier. In this case, if there is no specified App_ID 15a1 and EV_ID 15a2 in the pull access authority table 15a, it can be determined that there is no corresponding operation information without performing the operation information search process.
また、上記の例ではアプリケーション4は検索条件とともにEV_IDを指定して参照要求を行うとしたが、EV_IDの指定はなしとしてもよい。この場合、図14の処理で稼働情報DB14の検索を検索条件のみで実行した後、該当した稼働情報からEV_ID14a0を取得し、その一つ乃至複数のEV_IDを持って図15に記載のS201以降の処理を行うことになる。
In the above example, the application 4 designates EV_ID together with the search condition and makes a reference request. However, EV_ID may not be designated. In this case, after the search of the
また、上記の例ではアクセス権限に紐づくアクセス条件が存在する例を説明したが、アクセス権限のレコードのみでそれに紐づくアクセス条件がない場合は、アクセス権限にて指定のApp_ID15a1は指定のEV_ID15a2の全稼働情報が参照可能であることを意味する。したがって、EV_ID15a2(14a0)に該当する稼働情報であれば図15に記載の処理を行うまでもなく参照可能である。
なお、EV2からの登録要求とアプリケーション4からの参照要求は並行して行われるため、稼働情報登録プログラム11aの処理中に稼働情報参照プログラム11cの処理が開始される、または逆に稼働情報参照プログラム11cの処理中に稼働情報登録プログラム11aの処理が開始される可能性がある。これらの場合は、稼働情報登録プログラム11aの処理が完了して初めてその処理で登録された稼働情報および期間単位稼働情報がコミットされるため、処理中の稼働情報と期間単位稼働情報のレコードは稼働情報参照プログラム11cの参照対象とはならず、すでにコミット済みの稼働情報および期間単位稼働情報のレコードを対象に参照処理が行われる。
In the above example, an example in which there is an access condition associated with the access authority has been described. However, if there is only an access authority record and there is no access condition associated with it, the App_ID 15a1 specified by the access authority is the specified EV_ID 15a2. It means that all operation information can be referred. Therefore, it is possible to refer to operation information corresponding to EV_ID 15a2 (14a0) without performing the processing shown in FIG.
Since the registration request from the
以上の処理により、サーバ1はApp_IDとEV_IDの組み合わせの定義による該EV_IDの全稼働情報が参照可か、全稼働情報が参照不可かといった固定的な情報によるアクセス制御の方式のみならず、バッテリーのSOCや走行位置など時々刻々と値が変化する時系列情報の値に応じて、例えばSOCが低い場合に限り稼働情報の参照を許可する、特定のエリアを走行した際の稼働情報のみ参照を許可する、などの稼働情報の参照可/不可の切り分けが可能になる。また、SOCや走行位置による稼働情報の参照可否判定を行う場合、稼働情報の集合である「期間」によって稼働情報を纏め、その期間単位でアクセス条件の内容を満たしているか否かを期間の最大値・最小値を用いて判定することで、稼働情報1件ごとに判定する場合に比べ判定対象とする稼働情報の数を削減することができ、その結果判定処理時間を削減し大量の稼働情報を参照する場合にも現実的な処理時間でアプリケーションの参照要求に対応することが可能となる。
Through the above processing, the
また、期間の区切り方として上記の例に挙げたように運転モード「MODE」の値やEVの速度「VEL」の範囲が変わったら期間を区切る、とすることで、例えばMODEの場合だとSOCの変動幅が小さいECOモードとSOCの変動幅が大きいDRIVEモードとで期間を分けることができる。この結果、変動幅が小さい期間ではアクセス条件の境界値を期間内で跨ぐ可能性が少なくなり、変動幅が小さい期間は図15のS208の比較処理でS210かS211の処理に振り分けられる可能性が高くなる。これにより、稼働情報の1件ごとの判定が必要なS212以降の処理に振り分けられる稼働情報の数を減らすことができる。「VEL」の場合も同様、走行位置の変動幅が小さい低速度の範囲と、走行位置の変動幅が大きい高速度の範囲とで期間を分けることができる。これらは結果的にアクセス可否の判定処理時間のさらなる削減に寄与する。 Also, as described in the above example as a way of dividing the period, the period is divided when the value of the operation mode “MODE” or the range of the EV speed “VEL” changes. For example, in the case of MODE, SOC The period can be divided into the ECO mode with a small fluctuation range and the DRIVE mode with a large fluctuation range of SOC. As a result, there is less possibility of straddling the boundary value of the access condition within the period when the fluctuation range is small, and there is a possibility that the period when the fluctuation range is small is distributed to the processing of S210 or S211 in the comparison processing of S208 of FIG. Get higher. As a result, the number of pieces of operation information that can be distributed to the processes after S212 that require determination of each piece of operation information can be reduced. Similarly, in the case of “VEL”, the period can be divided into a low speed range where the travel position fluctuation range is small and a high speed range where the travel position fluctuation range is large. As a result, this contributes to further reduction in the access processing time.
以上、本発明を実施するための最良の形態などについて具体的に説明したが、本発明はこれに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能である。例えば、前記のように本実施例ではEVを対象とし、そのSOCと走行位置をアクセス条件の項目としたが、他の機器を対象とし、その機器から収集できる時系列情報をアクセス条件の項目とする場合においても対応が可能である。
また、以上の実施形態では、サーバ1が稼働情報やアクセス権限情報などを一元管理するとして説明したが、情報や機能を分散して保持するなどの場合でも、サーバ1が仮想的に一元管理するなど自由に利用・参照可能であれば、実際の情報・機能の所在場所はどこでも構わない。
Although the best mode for carrying out the present invention has been specifically described above, the present invention is not limited to this, and various modifications can be made without departing from the scope of the invention. For example, as described above, in this embodiment, EV is the target, and the SOC and the traveling position are the access condition items. However, the time series information that can be collected from other devices is the access condition item. It is possible to cope with this situation.
In the above embodiment, the
1 サーバ
2 EV
3 EV管理システム
4 アプリケーション
11 メモリ
11a 稼働情報登録プログラム
11b 期間判定プログラム
11c 稼働情報参照プログラム
11d アクセス権限判定プログラム
11e 稼働情報キャッシュ
11f 定義変換プログラム
11g プッシュ送信判定プログラム
12 CPU
13 通信部
14 稼働情報DB
15 アクセス制御定義DB
16 期間定義ファイル
17 定義変換辞書ファイル
21 車載端末
1
3 EV management system 4
13
15 Access control definition DB
16
Claims (7)
蓄積部により、前記対象機器に関する状態情報をデータベースに蓄積する蓄積ステップと、
受信部により、前記対象機器に関する情報取得要求を受信する要求ステップと、
状態情報取得部により、前記対象機器の状態情報を前記データベースから取得する状態情報取得ステップと、
判定部により、前記対象機器に関連するアクセス条件を取得するアクセス条件取得ステップと、
前記判定部により、前記取得した状態情報及びアクセス条件とから前記情報取得要求への応答が可能であるかを判定する判定ステップと、
送信部により、前記判定の結果に基いて前記情報取得要求の送信元に前記対象機器に関する情報送信する情報送信ステップと、を備え、
前記蓄積ステップは、所定の時間毎に、複数の時点の前記状態情報を蓄積し、
前記判定ステップは、前記複数の時点での前記状態情報のいずれかが前記アクセス条件に該当するかで前記情報取得要求への応答が可能であるかを判定し、
前記複数の時点の前記状態情報とは、前記所定の時間における前記状態情報の最大値と最小値とである
ことを特徴とする情報管理方法。 An information management method for setting access rights to information related to the target device according to the current status of the target device,
An accumulation step of accumulating state information about the target device in a database by an accumulation unit ;
A requesting step of receiving an information acquisition request regarding the target device by the receiving unit ;
A status information acquisition step of acquiring status information of the target device from the database by a status information acquisition unit ;
An access condition acquisition step of acquiring an access condition related to the target device by the determination unit ;
A determination step of determining whether or not a response to the information acquisition request is possible from the acquired state information and access conditions by the determination unit ;
An information transmission step of transmitting information about the target device to a transmission source of the information acquisition request based on a result of the determination by a transmission unit ;
The accumulation step accumulates the state information at a plurality of time points at predetermined time intervals,
The determination step determines whether a response to the information acquisition request is possible depending on whether any of the state information at the plurality of time points satisfies the access condition,
The information management method according to claim 1, wherein the state information at the plurality of time points is a maximum value and a minimum value of the state information at the predetermined time .
前記所定の時間は、前記状態情報の変化に応じて変更されることを特徴とする情報管理方法。 The information management method according to claim 1 ,
The information management method, wherein the predetermined time is changed according to a change in the state information.
前記対象機器に関する状態情報をデータベースに蓄積する蓄積部と、
前記対象機器に関する情報取得要求を受信する受信部と、
前記対象機器の状態情報を前記データベースから取得する状態情報取得部と、
前記対象機器に関連するアクセス条件を取得し、前記取得した状態情報及びアクセス条件とから前記情報取得要求への応答が可能であるかを判定する判定部と、
前記判定の結果に基いて前記情報取得要求の送信元に前記対象機器に関する情報送信する送信部と、を備え、
前記蓄積部は、所定の時間毎に、複数の時点の前記状態情報が蓄積されており、
前記判定部は、前記複数の時点での前記状態情報のいずれかが前記アクセス条件に該当するかで前記情報取得要求への応答が可能であるかを判定し、
前記複数の時点の前記状態情報とは、前記所定の時間における前記状態情報の最大値と最小値とである
ことを特徴とする情報管理装置。 An information management device that sets access rights to information related to the target device according to the current status of the target device,
An accumulator that accumulates status information about the target device in a database;
A receiving unit for receiving an information acquisition request regarding the target device;
A status information acquisition unit that acquires status information of the target device from the database;
A determination unit that acquires an access condition related to the target device and determines whether a response to the information acquisition request is possible from the acquired state information and access condition;
A transmission unit that transmits information on the target device to a transmission source of the information acquisition request based on the result of the determination ,
The storage unit stores the state information at a plurality of points in time for each predetermined time,
The determination unit determines whether a response to the information acquisition request is possible based on whether any of the state information at the plurality of times corresponds to the access condition,
The state information at the plurality of points in time is a maximum value and a minimum value of the state information at the predetermined time .
前記所定の時間は、前記状態情報の変化に応じて変更されることを特徴とする情報管理装置。 In the information management device according to claim 3 ,
The information management apparatus according to claim 1, wherein the predetermined time is changed according to a change in the state information.
前記情報管理装置は、前記機器から送信される時系列情報を含む稼働情報を受け付け、前記稼働情報に含まれる機器の稼働開始と終了を意味する機器の稼働状態を基に、稼働開始と終了の間の同一稼働範囲内の稼働情報であるか否かを判定し、同一稼働期間内であるならば過去の同一稼働範囲内の稼働情報と、受け付けた稼働情報とで前記稼働情報に含まれる時系列情報の値を比較し、前記同一稼働期間内での時系列情報の最大値と最小値を算出して期間単位稼働情報として保持し、同一稼働範囲内でないならば新規の稼働範囲として受け付けた前記稼働情報の時系列情報から最大値と最小値を抽出して同様に期間単位稼働情報として保持し、
前記情報管理装置は、前記稼働情報に含まれる時系列情報の範囲で定義される前記情報利用装置と前記機器との前記稼働情報の参照許可条件を保持し、
前記情報利用装置からの前記稼働情報の参照要求を受け付け、前記期間単位稼働情報が保持する時系列情報の最大値および最小値と、前記参照許可条件で定義される時系列情報の前記範囲とを比較し、比較の結果、前記範囲内に前記最大値および最小値がいずれも含まれる場合は、前記期間に含まれる稼働情報はすべて参照可能とし、前記範囲内に前記最大値および最小値がいずれも含まれない場合は、前記期間に含まれる稼働情報はすべて参照不可とする、
ことを特徴とする情報管理システム。 Refer to the information management device provided for each predetermined area including a plurality of infrastructure supply and demand devices and the operation information of the infrastructure supply and demand devices held by the information management device after obtaining permission from the owner or user of the device And an information utilization system that provides a service utilizing the operation information to the owner or user, and an information management system comprising:
The information management device receives operation information including time-series information transmitted from the device, and based on the operation state of the device, which means operation start and end of the device included in the operation information, When the operation information is within the same operation range, and if it is within the same operation period, the operation information within the same operation range in the past and the received operation information are included in the operation information Compares the values of the series information, calculates the maximum and minimum values of the time series information within the same operating period and holds them as period unit operating information, and if not within the same operating range, accepts it as a new operating range Extract the maximum value and the minimum value from the time series information of the operation information and similarly hold as period unit operation information,
The information management device holds a reference permission condition of the operation information between the information utilization device and the device defined in a range of time series information included in the operation information,
The operation information reference request from the information utilization apparatus is received, the maximum value and the minimum value of the time series information held by the period unit operation information, and the range of the time series information defined by the reference permission condition If both the maximum value and the minimum value are included in the range as a result of the comparison, all the operation information included in the period can be referred to, and the maximum value and the minimum value are in the range. Is not included, all the operation information included in the period is not referable.
An information management system characterized by that.
前記情報管理装置は、機器の稼働開始と終了を意味する機器の稼働状態の代わりに、前記機器が稼働情報を計測した日時から、前のタイミングで受け付けた稼働情報から任意の予め指定した時間範囲経過しているか否かで、前記同一稼働期間内に含まれるか否かを判定する、ことを特徴とする情報管理システム。 In the information management system according to claim 5 ,
The information management device is an arbitrary pre-designated time range from the operation information received at the previous timing from the date and time when the device measured the operation information, instead of the operation state of the device meaning the operation start and end of the device An information management system for determining whether or not the period is included in the same operation period based on whether or not the period has elapsed.
前記情報管理装置は、機器の稼働開始と終了を意味する機器の稼働状態の代わりに、前記稼働情報に含まれる他の時系列情報の値が、予め指定した値と一致するもしくは指定した範囲内に含まれるか否かを判定し、その値および範囲が変化したか否かで、前記同一稼働期間内に含まれるか否かを判定する、ことを特徴とする情報管理システム。 In the information management system according to claim 5 ,
The information management device, in place of the operation status of the device that means the start and end of the operation of the device, the value of the other time series information included in the operation information matches or falls within the specified range The information management system is characterized in that it is determined whether or not it is included in the same operation period based on whether or not its value and range have changed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012194674A JP5965791B2 (en) | 2012-09-05 | 2012-09-05 | Information management system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012194674A JP5965791B2 (en) | 2012-09-05 | 2012-09-05 | Information management system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2014052679A JP2014052679A (en) | 2014-03-20 |
| JP5965791B2 true JP5965791B2 (en) | 2016-08-10 |
Family
ID=50611152
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2012194674A Expired - Fee Related JP5965791B2 (en) | 2012-09-05 | 2012-09-05 | Information management system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5965791B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6889389B2 (en) * | 2016-09-15 | 2021-06-18 | コベルコ建機株式会社 | Operation management system and operation information disclosure method |
| JP6579247B1 (en) * | 2018-09-25 | 2019-09-25 | 富士ゼロックス株式会社 | Information processing apparatus and information processing program |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006079600A (en) * | 2001-02-15 | 2006-03-23 | Hitachi Ltd | Vehicle management method |
| JPWO2003009146A1 (en) * | 2001-07-10 | 2004-11-11 | 富士通株式会社 | Information terminal user position information acquisition apparatus and acquisition method |
| JP4727268B2 (en) * | 2005-03-25 | 2011-07-20 | 株式会社リコー | Information management apparatus, position information management apparatus, information management method, information management program, computer-readable recording medium, and position information management system |
-
2012
- 2012-09-05 JP JP2012194674A patent/JP5965791B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2014052679A (en) | 2014-03-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2741052B1 (en) | Navigation system for electric vehicle | |
| EP2645062B1 (en) | Route search system and method for electric automobile | |
| KR101675958B1 (en) | Push method, system and server based on location information | |
| JP6890069B2 (en) | Information processing equipment, information processing methods and computer programs | |
| Wu et al. | Agile urban parking recommendation service for intelligent vehicular guiding system | |
| JP6293458B2 (en) | Probe information management apparatus, probe information management system, and probe information management method | |
| GB2548670A (en) | System and method for recommending charging station for electric vehicle | |
| US20240144398A1 (en) | Charging service providing server, and method for vehicle charging | |
| CN115122977A (en) | Detection, Characterization and Presentation of Electric Vehicle Charging Stations | |
| US20250003763A1 (en) | Charging station information providing server and method, and charging station information providing application | |
| EP4628346A1 (en) | Method, apparatus, and computer program product for facilitating selection of electric vehicle charge points | |
| JP2024097986A (en) | Information processing device and information processing method | |
| WO2013137190A1 (en) | Charging management system, charging management method, and vehicle-mounted device | |
| JP5965791B2 (en) | Information management system | |
| JP2016181109A (en) | Charge amount calculation device | |
| JPWO2009060538A1 (en) | Stop location information providing device, stop location information providing method, stop location information providing program, and storage medium | |
| JP2011163788A (en) | Navigation system, method and program | |
| Putri et al. | A distributed system for finding high profit areas over big taxi trip data with MognoDB and spark | |
| CN113566838A (en) | Navigation method, system and mobile terminal based on route complexity | |
| KR20220123906A (en) | Server and method for providing charging station information, and application for providing charging station information | |
| JP4187395B2 (en) | Delivery planning system | |
| JP2020038707A (en) | Charge amount calculation device | |
| JP2020035161A (en) | Information processor and information processing system | |
| KR101937242B1 (en) | System and method for sharing context | |
| Vitale et al. | A smartphone based DSS platform for assessing transit service attributes |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150209 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150930 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20151104 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160104 |
|
| 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: 20160607 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160704 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 5965791 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| LAPS | Cancellation because of no payment of annual fees |