Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7687598B2 - Section extraction device, section extraction method, and program - Google Patents
[go: Go Back, main page]

JP7687598B2 - Section extraction device, section extraction method, and program - Google Patents

Section extraction device, section extraction method, and program Download PDF

Info

Publication number
JP7687598B2
JP7687598B2 JP2022153959A JP2022153959A JP7687598B2 JP 7687598 B2 JP7687598 B2 JP 7687598B2 JP 2022153959 A JP2022153959 A JP 2022153959A JP 2022153959 A JP2022153959 A JP 2022153959A JP 7687598 B2 JP7687598 B2 JP 7687598B2
Authority
JP
Japan
Prior art keywords
segment
time
transfer
occupant
date
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
Application number
JP2022153959A
Other languages
Japanese (ja)
Other versions
JP2024048095A (en
Inventor
絵未 小森
泰彦 宮崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT TechnoCross Corp
Original Assignee
NTT TechnoCross Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT TechnoCross Corp filed Critical NTT TechnoCross Corp
Priority to JP2022153959A priority Critical patent/JP7687598B2/en
Publication of JP2024048095A publication Critical patent/JP2024048095A/en
Priority to JP2025080802A priority patent/JP2025107446A/en
Application granted granted Critical
Publication of JP7687598B2 publication Critical patent/JP7687598B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本開示は、区間抽出装置、区間抽出方法、及びプログラムに関する。
The present disclosure relates to a segment extraction device, a segment extraction method, and a program.

近年、サプライチェーン分野では、商品や製品等といった何等かの物品(以下、これらを総称して「商品」という。)の不具合時のトレーサビリティ確保を目的として、占有者移転履歴をステークホルダ間で共有することの重要性が認識されている。占有者移転履歴とは、例えば、何が、いつ、どこからどこへ移動したのかを1商品単位で記録したもの(つまり、1商品単位で各商品がいつどの占有者からどの占有者に移転したのかを記録したもの)のことである。 In recent years, in the supply chain field, the importance of sharing ownership transfer history among stakeholders has been recognized in order to ensure traceability in the event of a defect in any item such as a product or merchandise (hereinafter collectively referred to as "product"). Ownership transfer history is, for example, a record of what moved, when, and from where to where on a product-by-product basis (in other words, a record of when each product moved from which owner to which owner).

例えば、従来技術の1つとして、特許文献1には、複数のノードで構成されるブロックチェーンにより資源物のトレーサビリティシステムを実現することが記載されている。 For example, as one example of conventional technology, Patent Document 1 describes the realization of a resource traceability system using a blockchain consisting of multiple nodes.

また、不具合発生時の解析・分析やコスト削減・業務効率化等といった目的のために、IoT(Internet of Things)センサを輸送車や倉庫等に設置して、それらのIoTセンサによって計測される情報(以下、環境情報ともいう。)をモニタリングする取り組みも普及しつつある。例えば、近年、国際的に脱炭素化の機運が高まる中で、IoTセンサで計測されたCO2排出量等といった環境情報を可視化する取り組みに関心が高まりつつある。 In addition, efforts to install Internet of Things (IoT) sensors in transport vehicles, warehouses, etc. and monitor information measured by these IoT sensors (hereinafter referred to as environmental information) for purposes such as analyzing malfunctions, reducing costs, and improving operational efficiency are becoming more widespread. For example, with momentum for decarbonization growing internationally in recent years, there has been growing interest in efforts to visualize environmental information such as CO2 emissions measured by IoT sensors.

このため、今後、1商品単位の占有者移転履歴とIoTセンサによって計測された環境情報とを対応付けることにより、商品のサプライチェーンにおいて、1商品単位の詳細な環境情報の可視化が可能になっていくことが期待されている。 For this reason, it is expected that in the future, by linking the occupant transfer history of each product with environmental information measured by IoT sensors, it will be possible to visualize detailed environmental information for each product in the product supply chain.

特開2021-131620号公報JP 2021-131620 A

しかしながら、占有者移転履歴は1商品単位に大量に存在するため、それらの占有者移転履歴に対して環境情報を単純に対応付けた場合、データ量が膨大となってしまう。このため、1商品単位の詳細な環境情報を可視化した際にその可視化結果が煩雑となり、その結果、例えば、不具合発生時の解析・分析等に多くの時間を要する可能性がある。 However, because there is a large amount of occupant transfer history for each product, if environmental information were simply associated with that occupant transfer history, the amount of data would become enormous. For this reason, when detailed environmental information for each product is visualized, the visualization results can be complicated, and as a result, for example, it may take a long time to analyze when a defect occurs.

本開示は、上記の点に鑑みてなされたもので、占有者移転履歴と環境情報とを効率的に対応付けることが可能な技術を提供することを目的とする。 This disclosure has been made in consideration of the above points, and aims to provide technology that can efficiently match occupant transfer history with environmental information.

本開示の一態様による区間抽出装置は、サプライチェーンにおける物の占有者の移転履歴を表す占有移転履歴データに基づいて、前記物の環境情報を対応付ける区間として、前記占有者が同時に占有する物の総量の変化によって区切られる区間を表すセグメントを抽出するように構成されているセグメント抽出部、を有する。 The section extraction device according to one aspect of the present disclosure has a segment extraction unit configured to extract a segment representing a section delimited by a change in the total amount of items simultaneously occupied by an occupant, as a section to which environmental information of the item is associated, based on occupancy transfer history data representing the transfer history of the occupant of the item in the supply chain.

占有者移転履歴と環境情報とを効率的に対応付けることが可能な技術が提供される。 A technology is provided that can efficiently match occupant transfer history with environmental information.

占有者移転履歴の一例を説明するための図である。FIG. 13 is a diagram for explaining an example of an occupant transfer history. 量情報タイプの環境情報に関する処理の流れの一例を説明するための図(その1)である。FIG. 11 is a diagram (part 1) for explaining an example of a processing flow relating to environmental information of a quantity information type. 量情報タイプの環境情報に関する処理の流れの一例を説明するための図(その2)である。FIG. 2 is a diagram (part 2) for explaining an example of the flow of processing related to environmental information of a quantity information type. 量情報タイプの環境情報の可視化結果の一例を示す図である。FIG. 13 is a diagram showing an example of a visualization result of quantity information type environmental information. セグメント化判定閾値の一例を説明するための図である。FIG. 13 is a diagram illustrating an example of a segmentation determination threshold. 点情報タイプの環境情報に関する処理の流れの一例を説明するための図である。11 is a diagram for explaining an example of a processing flow relating to environmental information of a point information type. FIG. 実施例1における環境情報管理装置のハードウェア構成の一例を示す図である。FIG. 2 illustrates an example of a hardware configuration of an environmental information management device according to a first embodiment. 実施例1における環境情報管理装置の機能構成の一例を示す図である。1 is a diagram illustrating an example of a functional configuration of an environmental information management device according to a first embodiment. 実施例1における環境情報管理装置の処理フローの一例を示す図である。FIG. 4 is a diagram illustrating an example of a processing flow of the environmental information management device in the first embodiment. 実施例1におけるセグメント抽出処理の一例を示す図である。FIG. 11 is a diagram illustrating an example of a segment extraction process in the first embodiment. 実施例1における占有区間抽出処理の一例を示す図である。FIG. 11 is a diagram illustrating an example of an occupied section extraction process in the first embodiment. 実施例2における環境情報管理装置の機能構成の一例を示す図である。FIG. 11 is a diagram illustrating an example of a functional configuration of an environmental information management device according to a second embodiment. 実施例2における環境情報管理装置の処理フローの一例を示す図である。FIG. 11 is a diagram illustrating an example of a processing flow of an environmental information management device in a second embodiment.

以下、本発明の一実施形態について説明する。 One embodiment of the present invention is described below.

<占有者移転履歴>
占有者移転履歴とは、1商品単位で各商品がいつどの占有者からどの占有者に移転したのかを記録したもののことである。占有者移転履歴が記録されることで、商品の物流に関するトレーサビリティ(以下、単に物流トレーサビリティともいう。)が確保される。
<Occupant transfer history>
The occupant transfer history is a record of when each product was transferred from one occupant to another for each product. By recording the occupant transfer history, traceability regarding the logistics of products (hereinafter simply referred to as logistics traceability) is ensured.

また、占有者とは、商品(モノ)やサービス(無形)を一時的又は非一時的に支配・管理している自然人や法人、又はその支配・管理下にある空間等の支配・管理対象のことである。以下では、一例として、占有者は商品を一時的又は非一時的に支配・管理している空間であるものとして説明する。 An occupant is a natural person or legal entity that temporarily or non-temporarily controls or manages goods (objects) or services (intangibles), or the space or other object under their control or management. In the following explanation, as an example, an occupant is the space that temporarily or non-temporarily controls or manages goods.

占有者の具体例としては、例えば、荷台等により商品を運搬可能なトラック等といった輸送車、商品を運搬可能な列車、商品を保管可能な倉庫や工場、商品を販売等する店舗等が挙げられる。なお、1台のトラックや1台の列車、1つの倉庫、1つの店舗等に複数の占有者が含まれていてもよい。例えば、倉庫内に複数の部屋が存在する場合、各部屋のそれぞれを1つの占有者としてもよいし、所定の2つ以上の部屋を1つの占有者としてもよい。同様に、倉庫内に複数のフロアが存在する場合、各フロアのそれぞれを1つの占有者としてもよいし、所定の2つ以上のフロアを1つの占有者としてもよい。輸送車が複数の荷台を備えている場合や列車が複数の車両で構成されている場合等についても同様である。 Specific examples of occupants include transport vehicles such as trucks that can transport goods using loading platforms, trains that can transport goods, warehouses and factories that can store goods, and stores that sell goods. Note that one truck, one train, one warehouse, one store, etc. may include multiple occupants. For example, if there are multiple rooms in a warehouse, each of the rooms may be one occupant, or two or more specified rooms may be one occupant. Similarly, if there are multiple floors in a warehouse, each of the floors may be one occupant, or two or more specified floors may be one occupant. The same applies to cases where a transport vehicle has multiple loading platforms or a train is made up of multiple cars.

以下、占有者移転履歴を表すデータのことを「占有者移転履歴レコード」といい、占有者移転履歴レコードで構成されるテーブル形式のデータを「占有者移転履歴テーブル」というものとする。占有者移転履歴レコードは、或る1つの商品がいつどの占有者からどの占有者に移転したかを表している。占有者移転履歴レコードは、例えば、以下のようなデータ形式で表される。 Hereinafter, data showing occupant transfer history will be referred to as "occupant transfer history record", and data in table format consisting of occupant transfer history records will be referred to as "occupant transfer history table". An occupant transfer history record indicates when a certain product was transferred from which occupant to which occupant. An occupant transfer history record is expressed in the following data format, for example.

(商品個別ID,移転日時,移転元ID,移転先ID,商品量)
ここで、商品個別IDは、商品のサプライチェーンの中で商品を一意に識別する識別子(例えば、製造固有番号等)である。移転日時は、商品の移転(ただし、生産・製造等により商品を原始取得した場合、販売や処分、消尽等により商品を譲渡した場合等も含む。)が発生した日時のことである。移転元IDは、移転元の占有者を一意に識別する識別子である。移転先IDは、移転先の占有者を一意に識別する識別子である。商品量は、商品の大きさや量、重量、体積、個数等を表す情報である。なお、生産・製造等により商品が原始取得された場合は、移転元IDには、商品が原始取得されたことを表す或る所定の識別子が設定される。一方で、販売等により商品を譲渡した場合等は、移転先IDには、商品が譲渡されたこと等を表す或る所定の識別子が設定される。以下、占有者移転履歴テーブルにおけるプライマリキー(主キー)は(商品個別ID,移転日時)であるものとする。
(Product individual ID, relocation date and time, relocation source ID, relocation destination ID, product quantity)
Here, the individual product ID is an identifier (e.g., a manufacturing unique number, etc.) that uniquely identifies a product in the product supply chain. The transfer date and time is the date and time when the transfer of the product (however, this also includes cases where the product is originally acquired through production/manufacturing, etc., and cases where the product is transferred through sale, disposal, exhaustion, etc.) occurs. The transfer source ID is an identifier that uniquely identifies the occupant of the transfer source. The transfer destination ID is an identifier that uniquely identifies the occupant of the transfer destination. The product quantity is information that indicates the size, amount, weight, volume, number, etc. of the product. In addition, when the product is originally acquired through production/manufacturing, etc., a certain predetermined identifier that indicates that the product has been originally acquired is set in the transfer source ID. On the other hand, when the product is transferred through sale, etc., a certain predetermined identifier that indicates that the product has been transferred is set in the transfer destination ID. Hereinafter, the primary key (principal key) in the occupant transfer history table is (individual product ID, transfer date and time).

一例として、占有者移転履歴レコードをブロックチェーン(Ethereum(登録商標))の代替不可能トークン(例えば、ERC721トークン等)により実現した場合を図1に示す。図1に示す例では、工場(占有者ID:0x111)で或る商品(商品個別ID:item1)が製造され、占有者移転履歴レコード(商品個別ID,移転日時,移転元ID,移転先ID,商品量)=(item1,2022/1/1 12:00,0x0,0x111,1)が生成されてブロックチェーンの分散台帳(以下、BCとも略記する。)に記録される。なお、図1に示す例では、商品が原始取得されたことを表す識別子(アドレス)を0x0(無効なアドレス)としている。 As an example, FIG. 1 shows an occupant transfer history record realized by a non-fungible token (e.g., ERC721 token, etc.) of blockchain (Ethereum (registered trademark)). In the example shown in FIG. 1, a certain product (individual product ID: item1) is manufactured in a factory (occupant ID: 0x111), and an occupant transfer history record (individual product ID, transfer date and time, transfer source ID, transfer destination ID, product quantity) = (item1, 2022/1/1 12:00, 0x0, 0x111, 1) is generated and recorded in the blockchain distributed ledger (hereinafter also abbreviated as BC). Note that in the example shown in FIG. 1, the identifier (address) indicating that the product was originally acquired is set to 0x0 (an invalid address).

その後、図1に示す例では、トラック1(占有者ID:0x222)に占有者移転が発生し、占有者移転履歴レコード(商品個別ID,移転日時,移転元ID,移転先ID,商品量)=(item1,2022/1/2 15:30,0x111,0x222,1)がBCに記録される。以降も同様に、その後、倉庫(占有者ID:0x333)に占有者移転が発生し、占有者移転履歴レコード(商品個別ID,移転日時,移転元ID,移転先ID,商品量)=(item1,2022/1/2 18:00,0x222,0x333,1)がBCに記録される。同様に、その後、トラック2(占有者ID:0x444)に占有者移転が発生し、占有者移転履歴レコード(商品個別ID,移転日時,移転元ID,移転先ID,商品量)=(item1,2022/1/3 13:00,0x333,0x444,1)がBCに記録される。同様に、その後、店舗(占有者ID:0x555)に占有者移転が発生し、占有者移転履歴レコード(商品個別ID,移転日時,移転元ID,移転先ID,商品量)=(item1,2022/1/4 9:00,0x444,0x555,1)がBCに記録される。最後に、店舗(占有者ID:0x555)で商品(商品個別ID:item1)が販売され、占有者移転履歴レコード(商品個別ID,移転日時,移転元ID,移転先ID,商品量)=(item1,2022/1/4 16:00,0x555,0x0,1)がBCに記録される。なお、図1に示す例では、商品が販売されたことを表す識別子(アドレス)を0x0(無効なアドレス)としている。 In the example shown in Figure 1, an occupant transfer then occurs in track 1 (occupant ID: 0x222), and an occupant transfer history record (individual product ID, transfer date and time, source ID, destination ID, product quantity) = (item1, 2022/1/2 15:30, 0x111, 0x222, 1) is recorded in the BC. Similarly, an occupant transfer then occurs in the warehouse (occupant ID: 0x333), and an occupant transfer history record (individual product ID, transfer date and time, source ID, destination ID, product quantity) = (item1, 2022/1/2 18:00, 0x222, 0x333, 1) is recorded in the BC. Similarly, an occupant transfer occurs in track 2 (occupant ID: 0x444), and an occupant transfer history record (individual product ID, transfer date and time, transfer source ID, transfer destination ID, product quantity) = (item1, 2022/1/3 13:00, 0x333, 0x444, 1) is recorded in the BC. Similarly, an occupant transfer occurs in store (occupant ID: 0x555), and an occupant transfer history record (individual product ID, transfer date and time, transfer source ID, transfer destination ID, product quantity) = (item1, 2022/1/4 9:00, 0x444, 0x555, 1) is recorded in the BC. Finally, the product (individual product ID: item1) is sold at the store (occupant ID: 0x555), and the occupant transfer history record (individual product ID, transfer date and time, transfer source ID, transfer destination ID, product quantity) = (item1, 2022/1/4 16:00, 0x555, 0x0, 1) is recorded in the BC. Note that in the example shown in Figure 1, the identifier (address) indicating that the product has been sold is set to 0x0 (invalid address).

このように、占有者移転履歴レコードにより、商品の生産・製造から流通、販売までの一連の物流サプライチェーンにおけるトレーサビリティ(物流トレーサビリティ)が確保される。なお、図1に示す例では物流トレーサビリティを確保するためのシステム(物流トレーサビリティシステム)をブロックチェーンにより実現したが、これは一例である。ブロックチェーン以外にも、例えば、商品単位で占有者移転履歴を保管できれば、センタ管理型のデータベースシステムによって物流トレーサビリティが確保されてもよい。本実施形態が適用可能な物流トレーサビリティシステムは特定の物流トレーサビリティシステムに限定されるものではなく、IDやバーコード、RFID(Radio Frequency Identification)タグ等によって管理対象を特定した上で占有者移転履歴レコードを管理可能な仕組みであれば任意の物流トレーサビリティシステムに対して適用可能である。 In this way, the occupant transfer history record ensures traceability (logistics traceability) in a series of logistics supply chains from production/manufacturing to distribution and sales of goods. In the example shown in FIG. 1, a system for ensuring logistics traceability (logistics traceability system) is realized by blockchain, but this is just one example. In addition to blockchain, for example, if occupant transfer history can be stored on a product-by-product basis, logistics traceability may be ensured by a central management type database system. The logistics traceability system to which this embodiment can be applied is not limited to a specific logistics traceability system, and can be applied to any logistics traceability system as long as it has a mechanism for managing occupant transfer history records after identifying the managed object by ID, barcode, RFID (Radio Frequency Identification) tag, etc.

<環境情報>
環境情報とは、或る空間(占有者が一時的又は非一時的に支配・管理している空間も含む。)に設置等されたIoTセンサによって計測される情報のことである。本実施形態では、物流サプライチェーン上の少なくとも一部の占有者が支配・管理している空間内で何等かの環境情報がIoTセンサによって計測されているものとする。
<Environmental information>
The environmental information is information measured by an IoT sensor installed in a certain space (including a space controlled or managed temporarily or non-temporarily by an occupant). In this embodiment, it is assumed that some environmental information is measured by an IoT sensor in a space controlled or managed by at least some occupants in a logistics supply chain.

環境情報の具体例としては、例えば、GPS(Global Positioning System)情報(つまり、GPS受信機で受信した電波を利用して測位された位置情報)、温度、湿度、電力使用量、燃料使用量、CO2排出量等が挙げられる。 Specific examples of environmental information include GPS (Global Positioning System) information (i.e., location information determined using radio waves received by a GPS receiver), temperature, humidity, electricity usage, fuel usage, and CO2 emissions.

環境情報は、点情報タイプと量情報タイプに分類することができる。点情報タイプの環境情報としては、例えば、GPS情報、温度、湿度等が挙げられる。一方で、量情報タイプの環境情報としては、例えば、電力使用量、燃料使用量、CO2排出量等が挙げられる。 Environmental information can be classified into point information type and quantity information type. Examples of point information type environmental information include GPS information, temperature, humidity, etc. On the other hand, examples of quantity information type environmental information include electricity usage, fuel usage, CO2 emissions, etc.

点情報タイプの環境情報は、IoTセンサの計測空間内に複数の商品が存在していても、各商品の環境情報は同一(同一とみなすことができる場合も含む)となる。また、点情報タイプの環境情報は、時系列に存在する1点1点が強い意味を持つ情報であり、環境情報同士を足したり割ったりすることはない。一方で、量情報タイプの環境情報では、IoTセンサの計測空間内に複数の商品が存在する場合、商品の総量や属性等を考慮して1商品毎の環境情報を求めることが期待される。具体的には、例えば、商品の総量や属性等を考慮した按分計算によって1商品毎の消費電力量や燃料使用量、CO2排出量等を求めることが期待される。 With point information type environmental information, even if multiple products are present within the measurement space of the IoT sensor, the environmental information for each product will be the same (including cases where it can be considered to be the same). Furthermore, with point information type environmental information, each point that exists in a time series has a strong meaning, and environmental information is not added or divided. On the other hand, with quantity information type environmental information, when multiple products are present within the measurement space of the IoT sensor, it is expected that environmental information for each product will be obtained by taking into account the total quantity and attributes of the products. Specifically, for example, it is expected that the amount of power consumption, fuel consumption, CO2 emissions, etc. for each product will be obtained by apportionment calculations that take into account the total quantity and attributes of the products.

また、占有者移転履歴と環境情報とを対応付けることにより、物流サプライチェーン上における1商品単位の詳細な環境情報(つまり、占有者毎の1商品単位の環境情報)の可視化が期待される。一方で、占有者移転履歴は1商品単位に大量に存在するため、占有者移転履歴と環境情報とを単純に対応付けた場合、データ量が膨大となってしまうという課題がある。 In addition, by associating occupant transfer history with environmental information, it is expected that detailed environmental information for each product in the logistics supply chain (i.e., environmental information for each product per occupant) can be visualized. However, since a large amount of occupant transfer history exists for each product, simply associating occupant transfer history with environmental information poses the issue that the amount of data becomes enormous.

更に、量情報タイプの環境情報に関して按分計算を行う場合、単純な按分計算では1商品単位の環境情報が不正確になるという課題もある。例えば、環境情報としてCO2排出量を考え、或るトラックが倉庫から出発して複数の拠点に商品を配送するものとする。このとき、その配送経路中のCO2排出量を単純に商品総量で按分した場合、先に積み下ろした商品のCO2排出量が実際よりも多く算出される一方で、後に積み下ろした商品のCO2排出量が実際よりも少なく算出されることになる。 Furthermore, when performing apportionment calculations on quantity-type environmental information, there is also the issue that simple apportionment calculations can result in inaccurate environmental information for each product. For example, consider CO2 emissions as environmental information, and assume that a truck departs from a warehouse and delivers goods to multiple locations. In this case, if the CO2 emissions during the delivery route are simply apportioned by the total amount of goods, the CO2 emissions of goods unloaded earlier will be calculated to be higher than they actually are, while the CO2 emissions of goods unloaded later will be calculated to be lower than they actually are.

そこで、以下では、上記の2つの課題を解決するために「セグメント」と呼ばれる区間を導入し、セグメントを利用して占有者移転履歴と環境情報とを効率的に対応付けると共に、量情報タイプの環境情報に関しては1商品単位のより正確な環境情報を計算可能とする手法(提案手法)について説明する。 In the following, we will explain a method (proposed method) that introduces intervals called "segments" to solve the two problems mentioned above, and uses the segments to efficiently match occupant relocation history with environmental information, while also making it possible to calculate more accurate environmental information on a per-item basis for quantity-type environmental information.

なお、量情報タイプの環境情報に関して1商品単位のより正確な環境情報が計算できれば、例えば、温室効果ガス(GHG:Greenhouse Gas)プロトコルで定められている物流サプライチェーンにおけるScope3 カテゴリ4と9(輸送、配送)に関するCO2排出量をより正確に計算することが可能となる。 If more accurate environmental information on a per-product basis could be calculated for quantitative environmental information, it would be possible to more accurately calculate, for example, the CO2 emissions related to Scope 3 Categories 4 and 9 (transportation and distribution) in the logistics supply chain as stipulated in the Greenhouse Gas (GHG) Protocol.

<提案手法の概略>
・量情報タイプの環境情報について
或る期間(例えば、現在日時までの所定の期間等)の占有者移転履歴レコードで構成された占有者移転履歴テーブルが与えられているものとする。また、量情報タイプの環境情報に関しては、占有者毎の時系列の環境情報の積算値が得られているものとする。以下、一例として、量情報タイプの環境情報はCO2排出量であるものとし、占有者毎の時系列のCO2排出量の積算値(以下、積算CO2排出量ともいう。)が得られているものとする。
<Outline of proposed method>
Regarding environmental information of quantity information type: It is assumed that an occupant relocation history table consisting of occupant relocation history records for a certain period (e.g., a specified period up to the current date and time) is given. In addition, it is assumed that, for the environmental information of quantity information type, an integrated value of the environmental information in time series for each occupant is obtained. Hereinafter, as an example, it is assumed that the environmental information of quantity information type is CO2 emission amount, and an integrated value of the CO2 emission in time series for each occupant (hereinafter, also referred to as integrated CO2 emission amount) is obtained.

このとき、本提案手法では、以下の(1-1)~(1-6)の処理を実行する。 At this time, the proposed method executes the following steps (1-1) to (1-6).

(1-1)セグメント抽出
占有者移転履歴テーブルに格納されている占有者移転履歴レコードの移転日時等に基づいて、占有者毎のセグメントを抽出する。セグメントとは、占有者が同時に占有する商品の総量の変化によって区切られる区間のことである。セグメントは、占有者に対応付けられた区間となる。ここで、商品の総量とは、そのセグメントに対応付けられた占有者が同時に占有する商品の商品量の合計のことである。この商品の総量は、量情報タイプの環境情報を按分するために用いられる。大きさや量、重量、体積、個数等のいずれを商品量とするかは、例えば、その商品の属性や性質等によって決定される。なお、セグメント抽出の具体的な方法については後述する。
(1-1) Segment Extraction A segment is extracted for each occupant based on the transfer date and time of the occupant transfer history record stored in the occupant transfer history table. A segment is a section that is separated by changes in the total amount of goods occupied by an occupant at the same time. A segment is a section associated with an occupant. Here, the total amount of goods refers to the sum of the amounts of goods occupied by an occupant associated with that segment at the same time. This total amount of goods is used to apportion environmental information of the quantity information type. The amount of goods to be determined as size, amount, weight, volume, number, etc. is determined by, for example, the attributes and properties of the goods. A specific method for segment extraction will be described later.

(1-2)占有区間抽出
占有者移転履歴テーブルに格納されている占有者移転履歴レコードの移転元ID及び移転先ID等に基づいて、商品毎の占有区間を抽出する。占有区間とは、商品を占有する占有者の変化によって区切られる区間のことである。占有区間は、商品に対応付けられた区間となる。なお、占有区間抽出の具体的な方法については後述する。
(1-2) Extraction of Occupied Section Based on the transfer source ID and transfer destination ID of the occupant transfer history record stored in the occupant transfer history table, the occupied section for each product is extracted. An occupied section is a section that is delimited by a change in the occupant who occupies a product. An occupied section is a section that is associated with a product. A specific method for extracting an occupied section will be described later.

(1-3)セグメント毎CO2排出量算出
セグメント毎CO2排出量を算出する。例えば、セグメントの開始日時を「セグメント開始日時」、終了日時を「セグメント終了日時」として、各セグメントに関して、セグメント終了日時に最も近い日時の積算CO2排出量(以下、第1の積算CO2排出量という。)と、セグメント開始日時に最も近い日時の積算CO2排出量(以下、第2の積算CO2排出量という。)とを取得する。そして、第1の積算CO2排出量から第2の積算CO2排出量を減算した値を当該セグメントのセグメント毎CO2排出量として算出する。ただし、この算出方法は一例であって、セグメント毎CO2排出量の算出方法はこれに限られるものではない。
(1-3) Calculation of CO2 Emissions per Segment The CO2 emission amount per segment is calculated. For example, the start date and time of the segment is defined as the "segment start date and time" and the end date and time is defined as the "segment end date and time", and for each segment, the accumulated CO2 emission amount at the date and time closest to the segment end date and time (hereinafter referred to as the first accumulated CO2 emission amount) and the accumulated CO2 emission amount at the date and time closest to the segment start date and time (hereinafter referred to as the second accumulated CO2 emission amount) are obtained. Then, the value obtained by subtracting the second accumulated CO2 emission amount from the first accumulated CO2 emission amount is calculated as the CO2 emission amount per segment. However, this calculation method is one example, and the calculation method of the CO2 emission amount per segment is not limited to this.

(1-4)セグメント毎商品単位CO2排出量算出
例えば、各セグメントに関して、セグメント毎商品単位CO2排出量=セグメント毎CO2排出量×商品量/(当該セグメントで占有者が同時に占有する商品の総量)により当該セグメントの各商品に関するセグメント毎商品単位CO2排出量を算出する。
(1-4) Calculation of CO2 emissions per product per segment For example, for each segment, calculate CO2 emissions per product per segment for each product in the segment using the formula CO2 emissions per product per segment = CO2 emissions per segment x product quantity / (total quantity of products occupied by an occupant simultaneously in the segment).

(1-5)占有区間毎商品単位CO2排出量算出
例えば、占有区間の占有者と同一のセグメントであって、当該占有区間の開始日時以前で最も近いセグメント開始日時を持つセグメントから当該占有区間の終了日時以降で最も近いセグメント終了日時を持つセグメントまでの間に含まれるセグメントのセグメント毎商品単位CO2排出量の総和を、当該占有区間の占有区間毎商品単位CO2排出量として算出する。
(1-5) Calculation of product-based CO2 emissions per occupied section For example, the sum of product-based CO2 emissions per segment of segments that are the same as the occupant of the occupied section and that are included between the segment with the closest segment start date and time before the start date and time of the occupied section and the segment with the closest segment end date and time after the end date and time of the occupied section is calculated as the product-based CO2 emissions per occupied section for the occupied section.

(1-6)可視化
占有区間毎商品単位CO2排出量やセグメント毎商品単位CO2排出量等を可視化(例えば、ディスプレイ等に表示)する。
(1-6) Visualization The amount of CO2 emission per product per occupied section and the amount of CO2 emission per product per segment are visualized (for example, displayed on a display, etc.).

セグメント毎CO2排出量と占有区間毎商品単位CO2排出量とを算出する場合の具体例について、図2及び図3を参照しながら説明する。例えば、図2に示すように、或る日のトラック1(占有者)の輸送経路が以下であったものとする。 A specific example of calculating CO2 emissions per segment and product-unit CO2 emissions per occupied section will be described with reference to Figures 2 and 3. For example, as shown in Figure 2, assume that the transportation route of truck 1 (occupant) on a certain day was as follows.

・12:00に倉庫aで商品A、Bを積み、
・13:00に倉庫bで商品C、Dを積み、
・14:00に店舗cで商品B、C、Dを下ろし、
・15:00に店舗dで商品Aを下ろす。
・At 12:00, products A and B are loaded at warehouse A,
At 13:00, products C and D are loaded at warehouse B.
At 14:00, products B, C, and D are unloaded at store C.
- Product A is unloaded at store d at 15:00.

また、商品A、Bの商品量(重量)は5kg、商品C、Dの商品量(重量)は3kgであったものとする。 Furthermore, the quantity (weight) of products A and B is 5 kg, and the quantity (weight) of products C and D is 3 kg.

このとき、図3に示すように、トラック1のセグメントは、12:00~13:00が「セグメント1」、13:00~14:00が「セグメント2」、14:00~15:00が「セグメント3」となる。また、商品Aのトラック1に関する占有区間は12:00~15:00、商品Bのトラック1に関する占有区間は12:00~14:00、商品Cのトラック1に関する占有区間は13:00~14:00、商品Dのトラック1に関する占有区間は13:00~14:00となる。 In this case, as shown in Figure 3, the segments for truck 1 are "Segment 1" from 12:00 to 13:00, "Segment 2" from 13:00 to 14:00, and "Segment 3" from 14:00 to 15:00. In addition, the occupancy section for product A on truck 1 is 12:00 to 15:00, the occupancy section for product B on truck 1 is 12:00 to 14:00, the occupancy section for product C on truck 1 is 13:00 to 14:00, and the occupancy section for product D on truck 1 is 13:00 to 14:00.

また、図2に示すように、セグメント毎CO2排出量を算出した結果は以下のようになったものとする。 As shown in Figure 2, the results of calculating the CO2 emissions for each segment are as follows:

セグメント1に関するセグメント毎CO2排出量:100
セグメント2に関するセグメント毎CO2排出量:100
セグメント3に関するセグメント毎CO2排出量:100
以上の場合、トラック1の各セグメントの各商品に関するセグメント毎商品単位CO2排出量は以下により算出される。
Segment CO2 emissions for segment 1: 100
Segment CO2 emissions for segment 2: 100
Segment CO2 emissions for segment 3: 100
In the above case, the CO2 emission amount per product per segment for each product in each segment of truck 1 is calculated as follows.

セグメント1の商品Aに関するセグメント毎商品単位CO2排出量:100×5/10
セグメント1の商品Bに関するセグメント毎商品単位CO2排出量:100×5/10
セグメント2の商品Aに関するセグメント毎商品単位CO2排出量:100×5/16
セグメント2の商品Bに関するセグメント毎商品単位CO2排出量:100×5/16
セグメント2の商品Cに関するセグメント毎商品単位CO2排出量:100×3/16
セグメント2の商品Dに関するセグメント毎商品単位CO2排出量:100×3/16
セグメント3の商品Aに関するセグメント毎商品単位CO2排出量:100×5/5
したがって、占有区間毎商品単位CO2排出量は以下により算出される。
CO2 emissions per product per segment for product A in segment 1: 100 x 5/10
CO2 emissions per product per segment for product B in segment 1: 100 x 5/10
CO2 emissions per product per segment for product A in segment 2: 100 x 5/16
CO2 emissions per product per segment for product B in segment 2: 100 x 5/16
CO2 emissions per product per segment for product C in segment 2: 100 x 3/16
CO2 emissions per product per segment for product D in segment 2: 100 x 3/16
CO2 emissions per product per segment for product A in segment 3: 100 x 5/5
Therefore, the CO2 emission amount per product per occupied section is calculated as follows.

トラック1の占有区間に関する商品Aの占有区間毎商品単位CO2排出量:100×5/10+100×5/16+100×5/5≒181
トラック1の占有区間に関する商品Bの占有区間毎商品単位CO2排出量:100×5/10+100×5/16≒81
トラック1の占有区間に関する商品Cの占有区間毎商品単位CO2排出量:100×3/16≒19
トラック1の占有区間に関する商品Dの占有区間毎商品単位CO2排出量:100×3/16≒19
これにより、セグメント毎商品単位CO2排出量と占有区間毎商品単位CO2排出量とが得られる。このため、これらを可視化し、例えば、不具合発生時の解析・分析やコスト削減・業務効率化等といった目的に利用することができる。
CO2 emissions per product for each occupied section of product A in the occupied section of truck 1: 100 x 5/10 + 100 x 5/16 + 100 x 5/5 ≒ 181
CO2 emissions per product unit for the occupied section of product B in the occupied section of truck 1: 100 x 5/10 + 100 x 5/16 ≒ 81
CO2 emissions per product unit for the occupied section of product C in the occupied section of truck 1: 100 x 3/16 ≒ 19
CO2 emissions per product unit for product D in the occupied section of truck 1: 100 x 3/16 ≒ 19
This allows for the amount of CO2 emissions per product per segment and per product per occupancy section to be obtained. These can then be visualized and used for purposes such as analysis when a defect occurs, cost reduction, and business efficiency improvement.

また、このとき、各商品のCO2排出量が占有区間やセグメントに対応付けられるため、単純に占有者移転履歴に対してCO2排出量を対応付ける場合と比較してデータ量を大幅に削減することができる。このため、例えば、不具合発生時の解析・分析等といった処理をセグメント単位に実行することが可能となり、その結果、処理時間の大幅な削減が期待できる。 In addition, at this time, the CO2 emissions of each product are associated with the occupancy section or segment, making it possible to significantly reduce the amount of data compared to simply associating CO2 emissions with occupant transfer history. This makes it possible to perform processes such as analysis at the time of malfunction on a segment-by-segment basis, which is expected to result in a significant reduction in processing time.

更に、各商品に関してセグメント単位にCO2排出量を求めた上で、それを積み上げて占有区間単位のCO2排出量が算出されるため、単純な按分計算と比較してより正確なCO2排出量を算出することが可能となる。 In addition, the CO2 emissions for each product are calculated on a segment basis, and then these are added up to calculate the CO2 emissions for each occupancy section, making it possible to calculate more accurate CO2 emissions compared to simple apportionment calculations.

ここで、セグメント毎商品単位CO2排出量と占有区間毎商品単位CO2排出量とを可視化した結果の一例を図4に示す。図4に示す例では、各占有区間に関する或る商品(商品個別ID:item1)の占有区間毎商品単位CO2排出量(CO2排出量(kg-CO2))とそれに関連する情報(商品個別ID、占有者、占有区間開始日時、占有区間終了日時、合計等)とが表示欄1000上に可視化されている。また、図4に示す例では、或るセグメントの当該商品に関するセグメント毎商品単位CO2排出量(1商品当たりのCO2排出量(kg-CO2))とそれに関連する情報(商品個別ID、重量、占有者、セグメント開始日時、セグメント終了日時、セグメントのCO2排出量(kg-CO2)、同時占有商品総量(kg)、合計等)とが表示欄1100上に可視化されている。なお、表示欄1100は、例えば、表示欄1000上でユーザ等によって所望のセグメントが選択されることによって表示されてもよい。 Here, an example of the result of visualizing the product-unit CO2 emissions for each segment and the product-unit CO2 emissions for each occupied section is shown in FIG. 4. In the example shown in FIG. 4, the product-unit CO2 emissions for each occupied section (CO2 emissions (kg-CO2)) of a certain product (individual product ID: item1) for each occupied section and related information (individual product ID, occupant, occupied section start date and time, occupied section end date and time, total, etc.) are visualized on the display field 1000. In addition, in the example shown in FIG. 4, the product-unit CO2 emissions for each segment (CO2 emissions per product (kg-CO2)) of a certain product in a certain segment and related information (individual product ID, weight, occupant, segment start date and time, segment end date and time, segment CO2 emissions (kg-CO2), total amount of products simultaneously occupied (kg), total, etc.) are visualized on the display field 1100. Note that the display field 1100 may be displayed, for example, by a user selecting a desired segment on the display field 1000.

・点情報タイプの環境情報について
或る期間(例えば、現在日時までの所定の期間等)の占有者移転履歴レコードで構成された占有者移転履歴テーブルが与えられているものとする。また、点情報タイプの環境情報に関しては、占有者毎の時系列の環境情報が得られているものとする。以下、一例として、点情報タイプの環境情報はGPS情報であるものとし、占有者毎の時系列のGPS情報が得られているものとする。
Regarding point information type environmental information, it is assumed that an occupant relocation history table consisting of occupant relocation history records for a certain period (e.g., a specified period up to the current date and time) is provided. In addition, it is assumed that, for point information type environmental information, chronological environmental information for each occupant is obtained. In the following, as an example, it is assumed that point information type environmental information is GPS information, and chronological GPS information for each occupant is obtained.

このとき、本提案手法では、以下の(2-1)~(2-3)の処理を実行する。 At this time, the proposed method executes the following steps (2-1) to (2-3).

(2-1)セグメント抽出
これは上記の(1-1)と同様である。すなわち、占有者移転履歴テーブルに格納されている占有者移転履歴レコードの移転日時等に基づいて、占有者毎のセグメントを抽出する。ただし、点情報タイプでは商品の総量で環境情報を按分する必要がないため、商品量としては、例えば、商品の個数等を用いればよい。なお、セグメント抽出の具体的な方法については後述する。
(2-1) Segment Extraction This is the same as (1-1) above. That is, segments for each occupant are extracted based on the transfer date and time of the occupant transfer history record stored in the occupant transfer history table. However, since the point information type does not require apportioning the environmental information by the total amount of products, the amount of products can be, for example, the number of products. The specific method of segment extraction will be described later.

・セグメント化判定閾値について
例えば、複数の商品を或る倉庫に同時に入庫したり、或る倉庫から複数の商品を同時に出庫したりする場合であっても、これら複数の商品に関して占有者移転履歴レコード上の移転日時が完全に同一になるとは限らない。これは、例えば、トラックから商品を積み下ろした順に占有者移転履歴レコードの移転日時が更新される場合があるためである。また、例えば、ブロックチェーンの代替不可能トークンにより占有者移転履歴レコードを実現した場合、占有者移転履歴レコードを更新するためのトランザクションが同一のブロックに記録されるとは限らないためである。
Regarding the segmentation judgment threshold For example, even if multiple products are simultaneously stored in a warehouse or removed from a warehouse, the transfer dates and times in the occupant transfer history record for these multiple products are not necessarily completely the same. This is because, for example, the transfer dates and times in the occupant transfer history record may be updated in the order in which the products are unloaded from a truck. Also, for example, when the occupant transfer history record is realized by a non-fungible token of a blockchain, transactions for updating the occupant transfer history record are not necessarily recorded in the same block.

このため、厳密に商品総量の変化によってセグメントを区切った場合、セグメントが細かくなり過ぎて、意味のあるセグメントとならない可能性がある。そこで、同一占有者に関する移転に関して、移転日時が異なっていても、それらの差が一定未満であれば1つのセグメントと見做すように閾値(以下、この閾値を「セグメント化判定閾値」と呼ぶことにする。)を設ける。これにより、セグメントが細かくなり過ぎることが防止される。なお、セグメント化判定閾値は適切な値に予め設定される。 For this reason, if segments were divided strictly based on changes in the total amount of goods, the segments would become too small and may not be meaningful. Therefore, for transfers involving the same occupant, a threshold is set so that even if the transfer dates and times are different, if the difference between them is less than a certain amount, they will be considered as one segment (hereinafter, this threshold will be referred to as the "segmentation determination threshold"). This prevents the segments from becoming too small. The segmentation determination threshold is preset to an appropriate value.

例えば、図5に示すように、トラック1から或る占有者(例えば、倉庫や店舗等)に対して商品A~商品D(いずれも商品量は「1kg」であるものとする。)がほぼ同時に順に移転されたものとする。このとき、厳密に商品総量の変化によってセグメントを区切った場合、図5の上図に示すように、セグメント1(商品の総量「1kg」)、セグメント2(商品の総量「2kg」)、セグメント3(商品の総量「3kg」)、セグメント4(商品の総量「4kg」)が順に得られるが、これらは非常に細かいセグメントとなり、処理量が膨大となるだけで意味のあるセグメントとはいえない。このため、図5の下図に示すように、同時に占有する商品の総量が変化しても移転日時間の差がセグメント化判定閾値未満であれば同一のセグメントとする。これにより、例えば、セグメント化判定閾値が3分である場合、図5の下図に示すように、ほぼ同時に移転された商品A~商品Cはセグメント1(商品の総量「3kg」)で当該占有者が同時に占有していた商品として扱うことができる。 For example, as shown in FIG. 5, assume that products A to D (each with a quantity of 1 kg) are transferred in sequence from truck 1 to a certain occupant (e.g., a warehouse, a store, etc.) at approximately the same time. In this case, if the segments are divided strictly according to the change in the total quantity of products, as shown in the upper diagram of FIG. 5, segment 1 (total quantity of products: 1 kg), segment 2 (total quantity of products: 2 kg), segment 3 (total quantity of products: 3 kg), and segment 4 (total quantity of products: 4 kg) will be obtained in that order. However, these are very small segments, and the amount of processing will be enormous, so they are not meaningful segments. For this reason, as shown in the lower diagram of FIG. 5, even if the total quantity of products occupied at the same time changes, they will be considered to be in the same segment if the difference in the transfer date and time is less than the segmentation judgment threshold. As a result, for example, if the segmentation judgment threshold is 3 minutes, products A to C transferred at approximately the same time can be treated as products occupied by the occupant at the same time in segment 1 (total quantity of products: 3 kg) as shown in the lower diagram of FIG. 5.

(2-2)セグメント毎にGPS情報を対応付け
各セグメントとGPS情報とを対応付ける。例えば、各セグメントに関して、セグメント開始日時とセグメント終了日時との間に存在するGPS情報を取得し、これら取得したGPS情報を当該セグメントと対応付ければよい。
(2-2) Associating GPS information with each segment Each segment is associated with GPS information. For example, for each segment, GPS information present between the segment start date and time and the segment end date and time may be obtained, and the obtained GPS information may be associated with the segment.

(2-3)可視化
セグメント毎にそのセグメントに対応付けられているGPS情報を可視化(例えば、ディスプレイ等に表示)する。
(2-3) Visualization For each segment, the GPS information associated with that segment is visualized (for example, displayed on a display or the like).

セグメント毎にGPS情報を対応付ける場合の具体例について、図6を参照しながら説明する。例えば、図6に示すように、或る日のトラック1(占有者)の輸送経路が以下であったものとする。 A specific example of associating GPS information with each segment will be described with reference to FIG. 6. For example, as shown in FIG. 6, assume that the transportation route of truck 1 (occupant) on a certain day was as follows.

・12:00に倉庫aで商品を200個積み、
・13:00に倉庫bで商品を200個積み、
・14:00に店舗cで商品を300個下ろし、
・15:00に店舗dで商品を100個下ろす。
・200 items are loaded at warehouse A at 12:00.
・At 13:00, 200 items are loaded into warehouse B.
- At 14:00, unload 300 items at store C,
- Unload 100 items at store D at 15:00.

このとき、トラック1のセグメントは、12:00~13:00が「セグメント1」、13:00~14:00が「セグメント2」、14:00~15:00が「セグメント3」となる。 In this case, the segments for track 1 will be "Segment 1" from 12:00 to 13:00, "Segment 2" from 13:00 to 14:00, and "Segment 3" from 14:00 to 15:00.

このため、セグメント1には、12:00~13:00の間のGPS情報が対応付けられる。同様に、セグメント2には、13:00~14:00の間のGPS情報が対応付けられる。同様に、セグメント3には、14:00~15:00の間のGPS情報が対応付けられる。 For this reason, segment 1 is associated with GPS information between 12:00 and 13:00. Similarly, segment 2 is associated with GPS information between 13:00 and 14:00. Similarly, segment 3 is associated with GPS information between 14:00 and 15:00.

これにより、各セグメントとGPS情報とが対応付けが得られる。このため、これらを可視化し、例えば、不具合発生時の解析・分析やコスト削減・業務効率化等といった目的に利用することができる。 This allows for the association of each segment with GPS information. This allows for visualization of the information and can be used for purposes such as analysis when a malfunction occurs, cost reduction, and business efficiency.

また、このとき、GPS情報がセグメントに対応付けられるため、単純に占有者移転履歴に対してGPS情報を対応付ける場合と比較してデータ量を大幅に削減することができる。このため、例えば、不具合発生時の解析・分析等といった処理をセグメント単位に実行することが可能となり、その結果、処理時間の大幅な削減が期待できる。 In addition, at this time, because the GPS information is associated with the segment, the amount of data can be significantly reduced compared to when GPS information is simply associated with the occupant relocation history. This makes it possible to perform processing such as analysis and diagnosis at the time of malfunction on a segment-by-segment basis, which is expected to result in a significant reduction in processing time.

なお、セグメントに対応付けられているGPS情報の可視化結果の具体例については省略するが、例えば、セグメント毎に、そのセグメントに対応付けられているGPS情報を可視化(又は、それらのGPS情報のうちの1又は複数の代表的なGPS情報のみを可視化)すればよい。 Specific examples of visualization results of GPS information associated with segments will be omitted, but for example, it is sufficient to visualize the GPS information associated with each segment (or visualize only one or more representative pieces of GPS information among those pieces of GPS information).

[実施例1]
以下、本実施形態の実施例1について説明する。実施例1では、環境情報がCO2排出量である場合を想定し、上記の(1-1)~(1-6)の処理を実行する環境情報管理装置10について説明する。ただし、環境情報がCO2排出量であることは一例であって、以下で説明する実施例1はCO2排出量以外の量情報タイプの環境情報(例えば、電力使用量、燃料使用量等)に対しても同様に適用可能である。
[Example 1]
Example 1 of this embodiment will be described below. In Example 1, it is assumed that the environmental information is CO2 emission amount, and the environmental information management device 10 that executes the above processes (1-1) to (1-6) will be described. However, the environmental information being CO2 emission amount is just one example, and Example 1 described below can be similarly applied to environmental information of a quantity information type other than CO2 emission amount (for example, power consumption amount, fuel consumption amount, etc.).

<実施例1における環境情報管理装置10のハードウェア構成例>
実施例1における環境情報管理装置10のハードウェア構成例を図7に示す。図7に示すように、実施例1における環境情報管理装置10は一般的なコンピュータ又はコンピュータシステムのハードウェア構成により実現され、例えば、入力装置101と、表示装置102と、外部I/F103と、通信I/F104と、RAM(Random Access Memory)105と、ROM(Read Only Memory)106と、補助記憶装置107と、プロセッサ108とを有する。また、これらの各ハードウェアは、それぞれがバス109を介して通信可能に接続されている。
<Example of Hardware Configuration of Environmental Information Management Device 10 in First Embodiment>
An example of the hardware configuration of the environmental information management device 10 in the first embodiment is shown in Fig. 7. As shown in Fig. 7, the environmental information management device 10 in the first embodiment is realized by the hardware configuration of a general computer or computer system, and includes, for example, an input device 101, a display device 102, an external I/F 103, a communication I/F 104, a RAM (Random Access Memory) 105, a ROM (Read Only Memory) 106, an auxiliary storage device 107, and a processor 108. In addition, each of these pieces of hardware is connected to each other so as to be able to communicate with each other via a bus 109.

入力装置101は、例えば、キーボード、マウス、タッチパネル、物理ボタン等である。表示装置102は、例えば、ディスプレイ、表示パネル等である。なお、環境情報管理装置10は、例えば、入力装置101及び表示装置102のうちの少なくとも一方を有していなくてもよい。 The input device 101 is, for example, a keyboard, a mouse, a touch panel, a physical button, etc. The display device 102 is, for example, a display, a display panel, etc. Note that the environmental information management device 10 does not have to have at least one of the input device 101 and the display device 102, for example.

外部I/F103は、記録媒体103a等の外部装置とのインタフェースである。環境情報管理装置10は、外部I/F103を介して、記録媒体103aの読み取りや書き込み等を行うことができる。記録媒体103aとしては、例えば、フレキシブルディスク、CD(Compact Disc)、DVD(Digital Versatile Disk)、SDメモリカード(Secure Digital memory card)、USB(Universal Serial Bus)メモリカード等が挙げられる。 The external I/F 103 is an interface with an external device such as a recording medium 103a. The environmental information management device 10 can read and write data from and to the recording medium 103a via the external I/F 103. Examples of the recording medium 103a include a flexible disk, a CD (Compact Disc), a DVD (Digital Versatile Disk), a SD memory card (Secure Digital memory card), and a USB (Universal Serial Bus) memory card.

通信I/F104は、環境情報管理装置10が通信ネットワーク等に接続するためのインタフェースである。RAM105は、プログラムやデータを一時保持する揮発性の半導体メモリ(記憶装置)である。ROM106は、電源を切ってもプログラムやデータを保持することができる不揮発性の半導体メモリ(記憶装置)である。補助記憶装置107は、例えば、HDD(Hard Disk Drive)、SSD(Solid State Drive)、フラッシュメモリ等のストレージ装置(記憶装置)である。プロセッサ108は、CPU(Central Processing Unit)等の演算装置である。 The communication I/F 104 is an interface for connecting the environmental information management device 10 to a communication network or the like. The RAM 105 is a volatile semiconductor memory (storage device) that temporarily stores programs and data. The ROM 106 is a non-volatile semiconductor memory (storage device) that can store programs and data even when the power is turned off. The auxiliary storage device 107 is a storage device (storage device) such as a hard disk drive (HDD), solid state drive (SSD), flash memory, etc. The processor 108 is an arithmetic device such as a central processing unit (CPU).

実施例1における環境情報管理装置10は、図7に示すハードウェア構成を有することにより、後述する各種処理を実現することができる。なお、図7に示すハードウェア構成は一例であって、環境情報管理装置10のハードウェア構成はこれに限られるものではない。例えば、環境情報管理装置10は、複数の補助記憶装置107や複数のプロセッサ108を有していてもよいし、図示したハードウェアの一部を有していなくてもよいし、図示したハードウェア以外の様々なハードウェアを有していてもよい。 The environmental information management device 10 in Example 1 has the hardware configuration shown in FIG. 7, and is therefore capable of implementing various processes described below. Note that the hardware configuration shown in FIG. 7 is merely an example, and the hardware configuration of the environmental information management device 10 is not limited to this. For example, the environmental information management device 10 may have multiple auxiliary storage devices 107 or multiple processors 108, may not have some of the hardware shown in the figure, or may have various hardware other than the hardware shown in the figure.

<実施例1における環境情報管理装置10の機能構成例>
実施例1における環境情報管理装置10の機能構成例を図8に示す。図8に示すように、実施例1における環境情報管理装置10は、セグメント抽出部201と、占有区間抽出部202と、セグメント毎CO2排出量算出部203と、セグメント毎商品単位CO2排出量算出部204と、占有区間毎商品単位CO2排出量算出部205と、可視化部206とを有する。これら各部は、例えば、環境情報管理装置10にインストールされた1以上のプログラムが、プロセッサ108等に実行させる処理により実現される。また、実施例1における環境情報管理装置10は、占有者移転履歴記憶部301と、積算CO2排出量記憶部302と、セグメント毎CO2排出量記憶部303と、占有区間毎商品単位CO2排出量記憶部304とを有する。これら各部は、例えば、補助記憶装置107等の記憶装置により実現される。
<Example of functional configuration of the environmental information management device 10 in the first embodiment>
FIG. 8 shows a functional configuration example of the environmental information management device 10 in the first embodiment. As shown in FIG. 8, the environmental information management device 10 in the first embodiment has a segment extraction unit 201, an occupied section extraction unit 202, a segment-by-segment CO2 emission calculation unit 203, a segment-by-product CO2 emission calculation unit 204, an occupied section-by-product CO2 emission calculation unit 205, and a visualization unit 206. Each of these units is realized, for example, by a process in which one or more programs installed in the environmental information management device 10 are executed by the processor 108 or the like. In addition, the environmental information management device 10 in the first embodiment has an occupant transfer history storage unit 301, an accumulated CO2 emission storage unit 302, a segment-by-segment CO2 emission storage unit 303, and an occupied section-by-product CO2 emission storage unit 304. Each of these units is realized, for example, by a storage device such as the auxiliary storage device 107.

セグメント抽出部201は、上記の(1-1)の処理を実行する。すなわち、セグメント抽出部201は、占有者移転履歴テーブルに格納されている占有者移転履歴レコードの移転日時等に基づいて、占有者毎のセグメントを抽出する。 The segment extraction unit 201 executes the process of (1-1) above. That is, the segment extraction unit 201 extracts segments for each occupant based on the transfer date and time of the occupant transfer history record stored in the occupant transfer history table.

占有区間抽出部202は、上記の(1-2)の処理を実行する。すなわち、占有区間抽出部202は、占有者移転履歴テーブルに格納されている占有者移転履歴レコードの移転元ID及び移転先ID等に基づいて、商品毎の占有区間を抽出する。 The occupied section extraction unit 202 executes the process of (1-2) above. That is, the occupied section extraction unit 202 extracts the occupied section for each product based on the transfer source ID and transfer destination ID of the occupant transfer history record stored in the occupant transfer history table.

セグメント毎CO2排出量算出部203は、上記の(1-3)の処理を実行する。すなわち、セグメント毎CO2排出量算出部203は、セグメント毎CO2排出量を算出する。なお、これは、各セグメントに対して、そのセグメントにおけるCO2排出量を対応付けているともいえる。 The segment-specific CO2 emission calculation unit 203 executes the above process (1-3). That is, the segment-specific CO2 emission calculation unit 203 calculates the CO2 emission amount for each segment. This can also be said to correspond to each segment with the CO2 emission amount for that segment.

セグメント毎商品単位CO2排出量算出部204は、上記の(1-4)の処理を実行する。すなわち、セグメント毎商品単位CO2排出量算出部204は、セグメント毎商品単位CO2排出量を算出する。 The segment-by-segment product-unit CO2 emission calculation unit 204 executes the process (1-4) above. That is, the segment-by-segment product-unit CO2 emission calculation unit 204 calculates the segment-by-segment product-unit CO2 emission.

占有区間毎商品単位CO2排出量算出部205は、上記の(1-5)の処理を実行する。すなわち、占有区間毎商品単位CO2排出量算出部205は、占有区間毎商品単位CO2排出量を算出する。 The product-unit CO2 emission amount calculation unit 205 for each occupied section executes the process (1-5) above. That is, the product-unit CO2 emission amount calculation unit 205 for each occupied section calculates the product-unit CO2 emission amount for each occupied section.

可視化部206は、上記の(1-6)の処理を実行する。すなわち、可視化部206は、占有区間毎商品単位CO2排出量やセグメント毎商品単位CO2排出量等を可視化する。 The visualization unit 206 executes the above process (1-6). That is, the visualization unit 206 visualizes the CO2 emissions per product per occupied section, the CO2 emissions per product per segment, etc.

占有者移転履歴記憶部301は、与えられた占有者移転履歴レコード(例えば、現在日時をT、或る所定の時間幅をΔTとして、T-ΔTからTまでの期間における占有者移転履歴レコード)で構成される占有者移転履歴テーブルを記憶する。これらの占有者移転履歴レコードは、例えば、物流トレーサビリティシステムから与えられる。 The occupant transfer history storage unit 301 stores an occupant transfer history table that is composed of given occupant transfer history records (for example, occupant transfer history records for the period from T-ΔT to T, where T is the current date and time and ΔT is a certain predetermined time span). These occupant transfer history records are provided, for example, from a logistics traceability system.

積算CO2排出量記憶部302は、占有者毎の積算CO2排出量(例えば、T-ΔTからTまでの期間における占有者毎の積算CO2排出量)を記憶する。占有者毎の積算CO2排出量は、例えば、各占有者が一時的又は非一時的に支配・管理している空間に設置等されているIoTセンサを管理するIoT基盤システム等から与えられる。 The cumulative CO2 emission storage unit 302 stores the cumulative CO2 emission amount for each occupant (e.g., the cumulative CO2 emission amount for each occupant in the period from T-ΔT to T). The cumulative CO2 emission amount for each occupant is provided, for example, from an IoT infrastructure system that manages IoT sensors installed in spaces that each occupant temporarily or non-temporarily controls and manages.

ただし、例えば、占有者毎の時系列のCO2排出量がIoT基盤システム等から与えられてもよい。この場合、占有者毎の積算CO2排出量は、例えば、環境情報管理装置10が備える積算CO2排出量算出部(不図示)により算出される。 However, for example, the time series of CO2 emissions for each occupant may be provided from an IoT-based system or the like. In this case, the accumulated CO2 emissions for each occupant are calculated, for example, by an accumulated CO2 emissions calculation unit (not shown) provided in the environmental information management device 10.

セグメント毎CO2排出量記憶部303は、セグメント抽出部201によって抽出されたセグメント、セグメント毎CO2排出量算出部203によって算出されたセグメント毎CO2排出量等を記憶する。以下、セグメント毎CO2排出量を表すデータのことを「セグメント毎CO2排出量レコード」といい、セグメント毎CO2排出量レコードで構成されるテーブル形式のデータを「セグメント毎CO2排出量テーブル」というものとする。セグメント毎CO2排出量レコードは、或る占有者の或るセグメントにおけるCO2排出量と当該占有者が当該セグメントで同時に占有していた商品の総量とを表している。セグメント毎CO2排出量レコードは、例えば、以下のようなデータ形式で表される。 The segment-by-segment CO2 emission storage unit 303 stores the segments extracted by the segment extraction unit 201, the segment-by-segment CO2 emission amount calculated by the segment-by-segment CO2 emission calculation unit 203, etc. Hereinafter, data representing the segment-by-segment CO2 emission amount will be referred to as the "segment-by-segment CO2 emission record", and data in a table format consisting of the segment-by-segment CO2 emission record will be referred to as the "segment-by-segment CO2 emission table". The segment-by-segment CO2 emission record represents the CO2 emission amount of an occupant in a segment and the total amount of products occupied by the occupant at the same time in the segment. The segment-by-segment CO2 emission record is expressed, for example, in the following data format.

(占有者ID,セグメント開始日時,セグメント終了日時,セグメントCO2排出量,セグメント商品総量)
ここで、占有者IDは、占有者を一意に識別する識別子である。セグメント開始日時は、セグメントの開始日時である。セグメント終了日時は、セグメントの終了日時である。セグメントCO2排出量は、セグメントにおけるCO2排出量(つまり、そのセグメントに関するセグメント毎CO2排出量)である。セグメント商品総量は、占有者がセグメントで同時に占有している商品の総量である。以下、セグメント毎CO2排出量テーブルにおけるプライマリキーは(占有者ID,セグメント開始日時)であるものとする。
(Occupant ID, segment start date and time, segment end date and time, segment CO2 emissions, segment total product amount)
Here, the occupant ID is an identifier that uniquely identifies the occupant. The segment start date and time is the start date and time of the segment. The segment end date and time is the end date and time of the segment. The segment CO2 emissions are the CO2 emissions in the segment (i.e., the CO2 emissions per segment for that segment). The segment total product amount is the total amount of products that the occupant occupies simultaneously in the segment. Hereinafter, the primary key in the segment CO2 emissions table is assumed to be (occupant ID, segment start date and time).

占有区間毎商品単位CO2排出量記憶部304は、占有区間抽出部202によって抽出された占有区間、占有区間毎商品単位CO2排出量算出部205によって算出された占有区間毎商品単位CO2排出量等を記憶する。以下、占有区間毎商品単位CO2排出量を表すデータのことを「占有区間毎商品単位CO2排出量レコード」といい、占有区間毎商品単位CO2排出量レコードで構成されるテーブル形式のデータを「占有区間毎商品単位CO2排出量テーブル」というものとする。占有区間毎商品単位CO2排出量レコードは、或る占有区間における或る商品のCO2排出量とその商品の商品量とを表している。占有区間毎商品単位CO2排出量レコードは、例えば、以下のようなデータ形式で表される。 The product-unit CO2 emission amount per occupied section storage unit 304 stores the occupied section extracted by the occupied section extraction unit 202, the product-unit CO2 emission amount per occupied section calculated by the product-unit CO2 emission amount per occupied section calculation unit 205, etc. Hereinafter, data representing the product-unit CO2 emission amount per occupied section will be referred to as the "product-unit CO2 emission amount per occupied section record", and data in table format consisting of the product-unit CO2 emission amount per occupied section record will be referred to as the "product-unit CO2 emission amount per occupied section table". The product-unit CO2 emission amount per occupied section record represents the CO2 emission amount of a certain product in a certain occupied section and the product quantity of that product. The product-unit CO2 emission amount per occupied section record is expressed in the following data format, for example.

(商品個別ID,占有者ID,占有区間開始日時,占有区間終了日時,商品単位CO2排出量,商品量)
ここで、商品個別IDは、商品のサプライチェーンの中で商品を一意に識別する識別子(例えば、製造固有番号等)である。占有者IDは、占有者を一意に識別する識別子である。占有区間開始日時は、占有区間の開始日時である。占有区間終了日時は、占有区間の終了日時である。商品単位CO2排出量は、占有区間における商品のCO2排出量(つまり、その占有区間における当該商品に関する占有区間毎商品単位CO2排出量)である。商品量は、商品の大きさや量、重量、体積、個数等を表す情報である。以下、占有区間毎商品単位CO2排出量テーブルにおけるプライマリキーは(商品個別ID,占有者ID,占有区間開始日時)であるものとする。
(Product individual ID, occupant ID, occupied section start date and time, occupied section end date and time, product unit CO2 emission amount, product quantity)
Here, the individual product ID is an identifier (e.g., a manufacturing specific number) that uniquely identifies a product within the product supply chain. The occupant ID is an identifier that uniquely identifies an occupant. The occupied section start date and time is the start date and time of the occupied section. The occupied section end date and time is the end date and time of the occupied section. The product-unit CO2 emission is the CO2 emission amount of the product in the occupied section (i.e., the product-unit CO2 emission amount per occupied section for the relevant product in that occupied section). The product quantity is information that represents the size, quantity, weight, volume, number, etc. of the product. Hereinafter, the primary key in the product-unit CO2 emission amount per occupied section table is assumed to be (individual product ID, occupant ID, occupied section start date and time).

<実施例1における環境情報管理装置10の処理フロー例>
実施例1における環境情報管理装置10の処理フロー例について、図9を参照しながら説明する。図9のステップS101~ステップS106は、例えば、或る所定の時間幅毎に繰り返し実行される。
<Example of process flow of the environmental information management device 10 in the first embodiment>
An example of a process flow of the environmental information management device 10 in the first embodiment will be described with reference to Fig. 9. Steps S101 to S106 in Fig. 9 are repeatedly executed at intervals of a certain predetermined time period, for example.

セグメント抽出部201は、占有者移転履歴テーブルに格納されている占有者移転履歴レコードの移転日時等に基づいて、占有者毎のセグメントを抽出する(ステップS101)。これにより、例えば、(占有者ID,セグメント開始日時,セグメント終了日時,セグメント商品総量)というデータ形式のセグメントが抽出される。以下では、セグメントは、セグメントCO2排出量が未設定のセグメント毎CO2排出量レコード(占有者ID,セグメント開始日時,セグメント終了日時,セグメントCO2排出量,セグメント商品総量)として抽出されるものとする。なお、本ステップの処理の詳細については後述する。 The segment extraction unit 201 extracts segments for each occupant based on the transfer date and time of the occupant transfer history record stored in the occupant transfer history table (step S101). This extracts a segment in a data format, for example, (occupant ID, segment start date and time, segment end date and time, segment product total amount). In the following, the segment is extracted as a segment-by-segment CO2 emission record (occupant ID, segment start date and time, segment end date and time, segment CO2 emission amount, segment product total amount) in which the segment CO2 emission amount is not set. The processing of this step will be described in detail later.

次に、占有区間抽出部202は、占有者移転履歴テーブルに格納されている占有者移転履歴レコードの移転元ID及び移転先ID等に基づいて、商品毎の占有区間を抽出する(ステップS102)。これにより、例えば、(商品個別ID,占有者ID,占有区間開始日時,占有区間終了日時,商品量)というデータ形式の占有区間が抽出される。以下では、占有区間は、商品単位CO2排出量が未設定の占有区間毎商品単位CO2排出量レコード(商品個別ID,占有者ID,占有区間開始日時,占有区間終了日時,商品単位CO2排出量,商品量)として抽出されるものとする。なお、本ステップの処理の詳細については後述する。 Next, the occupied section extraction unit 202 extracts the occupied section for each product based on the transfer source ID and transfer destination ID of the occupant transfer history record stored in the occupant transfer history table (step S102). As a result, for example, an occupied section in the data format of (individual product ID, occupant ID, occupied section start date and time, occupied section end date and time, product quantity) is extracted. In the following, the occupied section is extracted as a product unit CO2 emission record for each occupied section (individual product ID, occupant ID, occupied section start date and time, occupied section end date and time, product unit CO2 emission amount, product quantity) in which the product unit CO2 emission amount is not set. The details of the processing of this step will be described later.

以下のステップS103~ステップS105は、例えば、上記のステップS101~ステップS102で新たに抽出されたセグメント及び占有区間に関して実行される。 The following steps S103 to S105 are executed, for example, for the segments and occupied sections newly extracted in steps S101 to S102 above.

次に、セグメント毎CO2排出量算出部203は、セグメント毎CO2排出量を算出する(ステップS103)。すなわち、セグメント毎CO2排出量算出部203は、各占有者の各セグメントに関して、セグメント終了日時に最も近い日時の当該占有者の積算CO2排出量(第1の積算CO2排出量)と、セグメント開始日時に最も近い日時の当該占有者の積算CO2排出量(第2の積算CO2排出量)とを取得する。そして、セグメント毎CO2排出量算出部203は、第1の積算CO2排出量から第2の積算CO2排出量を減算した値を、セグメント毎CO2排出量レコードのセグメントCO2排出量として算出する。これにより、セグメント毎CO2排出量レコード(占有者ID,セグメント開始日時,セグメント終了日時,セグメントCO2排出量,セグメント商品総量)が得られる。なお、これは、各セグメントに対して、そのセグメントのCO2排出量(つまり、セグメントCO2排出量)を対応付けているともいえる。 Next, the segment CO2 emission calculation unit 203 calculates the CO2 emission amount for each segment (step S103). That is, for each segment of each occupant, the segment CO2 emission calculation unit 203 obtains the accumulated CO2 emission amount of the occupant at the date and time closest to the segment end date and time (first accumulated CO2 emission amount) and the accumulated CO2 emission amount of the occupant at the date and time closest to the segment start date and time (second accumulated CO2 emission amount). Then, the segment CO2 emission calculation unit 203 calculates the value obtained by subtracting the second accumulated CO2 emission amount from the first accumulated CO2 emission amount as the segment CO2 emission amount of the segment CO2 emission amount record. This results in a segment CO2 emission amount record (occupant ID, segment start date and time, segment end date and time, segment CO2 emission amount, segment product total amount). It can also be said that this corresponds to each segment with the CO2 emission amount of the segment (i.e., segment CO2 emission amount).

次に、セグメント毎商品単位CO2排出量算出部204は、セグメント毎商品単位CO2排出量を算出する(ステップS104)。すなわち、セグメント毎商品単位CO2排出量算出部204は、例えば、各セグメントで占有者が占有している各商品に関して、セグメント毎商品単位CO2排出量=(セグメント毎CO2排出量レコードに含まれるセグメントCO2排出量)×(当該商品の商品量)/(セグメント毎CO2排出量レコードに含まれるセグメント商品総量)によりセグメント毎商品単位CO2排出量を算出する。 Next, the segment-by-product CO2 emission calculation unit 204 calculates the segment-by-product CO2 emission (step S104). That is, for example, for each product occupied by an occupant in each segment, the segment-by-product CO2 emission calculation unit 204 calculates the segment-by-product CO2 emission by using the following formula: segment-by-product CO2 emission = (segment CO2 emission included in segment-by-segment CO2 emission record) x (product amount of the product) / (total segment product amount included in segment-by-segment CO2 emission record).

次に、占有区間毎商品単位CO2排出量算出部205は、占有区間毎商品単位CO2排出量を算出する(ステップS105)。すなわち、占有区間毎商品単位CO2排出量算出部205は、例えば、占有区間の占有者IDと同一の占有者IDを持つセグメントであって、当該占有区間の開始日時以前で最も近いセグメント開始日時を持つセグメントから当該占有区間の終了日時以降で最も近いセグメント終了日時を持つセグメントまでの間に含まれるセグメントのセグメント毎商品単位CO2排出量の総和を、当該占有区間の占有区間毎商品単位CO2排出量として算出する。これにより、占有区間毎商品単位CO2排出量レコード(商品個別ID,占有者ID,占有区間開始日時,占有区間終了日時,商品単位CO2排出量,商品量)が得られる。 Next, the occupied section product unit CO2 emission calculation unit 205 calculates the product unit CO2 emission for each occupied section (step S105). That is, the occupied section product unit CO2 emission calculation unit 205 calculates, for example, the sum of the product unit CO2 emission for each segment of segments that have the same occupant ID as the occupant ID of the occupied section and are included between the segment with the closest segment start date and time before the occupied section start date and time and the segment with the closest segment end date and time after the occupied section end date and time, as the product unit CO2 emission for each occupied section of the occupied section. This results in a product unit CO2 emission record for each occupied section (individual product ID, occupant ID, occupied section start date and time, occupied section end date and time, product unit CO2 emission, product amount).

そして、可視化部206は、占有区間毎商品単位CO2排出量やセグメント毎商品単位CO2排出量等を可視化(例えば、ディスプレイ等に表示)する(ステップS106)。すなわち、可視化部206は、例えば、図4に示すような表示欄1000及び表示欄1100の少なくとも一方を表示装置102上に表示する。 Then, the visualization unit 206 visualizes (for example, displays on a display, etc.) the CO2 emissions per product per occupied section and the CO2 emissions per product per segment (step S106). That is, the visualization unit 206 displays, for example, at least one of the display field 1000 and the display field 1100 as shown in FIG. 4 on the display device 102.

<実施例1におけるセグメント抽出処理例>
セグメント抽出部201によるセグメント抽出処理は、次のように実施できる。
<Example of Segment Extraction Processing in Example 1>
The segment extraction process by the segment extraction unit 201 can be performed as follows.

占有者移転履歴テーブルに格納されている占有者移転履歴レコードの移転先IDを占有者IDとして、占有者IDの重複なしリストを取得する。次に、セグメント抽出部201は、取得したリストに含まれる占有者ID毎に当該占有者IDが移転元ID又は移転先IDとなっている占有者移転履歴レコードを移転日時順に取得する。この移転日時順の占有者移転履歴レコードに対して、以下の処理を行う。 A list of occupant IDs without duplicates is obtained by using the transfer destination ID of the occupant transfer history record stored in the occupant transfer history table as the occupant ID. Next, the segment extraction unit 201 obtains, in order of transfer date and time, occupant transfer history records in which the occupant ID is the transfer source ID or transfer destination ID for each occupant ID included in the obtained list. The following processing is performed on the occupant transfer history records in order of transfer date and time.

直近のセグメント終了日時とその時点における商品総量を直近の処理結果(本処理を最初に起動し、直近がない場合、日時は十分古い日時、商品総量は0等で、適切に初期化をしておく)から取得する。このとき、次に生成されるセグメントとしては、
・開始日時は直近のセグメントの終了日時
・終了日時は順次処理される当該レコードの移転日時
・商品総量はこの順次処理されるレコードの商品量を増加(当該占有者が移転先の場合)又は減少(当該占有者が移転元の場合)した商品量(なお、同一日時のレコードが複数ある場合は該当する全レコード分に対して増減処理を繰り返す)
とすればよい。
The most recent segment end date and time and the total amount of products at that time are obtained from the most recent processing result (when this process is first started, if there is no recent result, the date and time are appropriately initialized to a sufficiently old date and time, and the total amount of products is 0, etc.). At this time, the next segment to be generated is
・The start date and time is the end date and time of the most recent segment ・The end date and time is the transfer date and time of the record being processed sequentially ・The total product quantity is the product quantity that has increased (if the occupant is the transfer destination) or decreased (if the occupant is the transfer source) the product quantity of the record being processed sequentially (if there are multiple records with the same date and time, the increase/decrease process is repeated for all applicable records)
This can be done as follows.

ただし、この実施方法では、数秒、数分内に複数の占有者移転履歴レコードが存在する場合、複数の占有者移転履歴レコードに応じて相対的に短い時間間隔の細かいセグメントが発生する可能性が高い。このような細かいセグメントの発生を回避するためのより適切な処理方法も考えられる。 However, with this implementation method, if multiple occupant transfer history records exist within a few seconds or minutes, there is a high possibility that small segments with relatively short time intervals will occur in response to the multiple occupant transfer history records. More appropriate processing methods can also be considered to avoid the occurrence of such small segments.

その回避方法の1つは、レコードの日時を、適切なレベルで丸めてから処理する方法である。例えば、「12:00:00」のレコードと「12:00:15」のレコードが存在する場合、秒単位を切り捨てて処理すると、この2つのレコードは同一日時とみなされるので、1分未満のセグメントが発生することが無くなる。 One way to avoid this is to round the record's date and time to an appropriate level before processing. For example, if there are records with "12:00:00" and "12:00:15", if you process them by rounding down to the seconds, these two records will be considered to have the same date and time, and segments of less than one minute will not occur.

他の回避方法としては、セグメント化判定閾値を設けて、このセグメント化判定閾値未満での占有者移転履歴について、1つのセグメントとして繋いでいく方法がある。この方法によるセグメント抽出処理例について、以下に詳述する。 Another method to avoid this is to set a segmentation threshold and connect occupant change histories below this threshold as a single segment. An example of segment extraction processing using this method is described in detail below.

図9のステップS101におけるセグメント抽出処理例について、図10を参照しながら説明する。 An example of the segment extraction process in step S101 of FIG. 9 will be described with reference to FIG. 10.

セグメント抽出部201は、占有者移転履歴テーブルに格納されている占有者移転履歴レコードの移転先IDを占有者IDとして、占有者IDの重複なしリストを取得する(ステップS201)。 The segment extraction unit 201 obtains a list of occupant IDs without duplicates by using the transfer destination ID of the occupant transfer history record stored in the occupant transfer history table as the occupant ID (step S201).

次に、セグメント抽出部201は、上記のステップS201で取得したリストに含まれる占有者ID毎にステップS211~ステップS214を繰り返す(ステップS202)。以下、或る占有者IDに関するステップS211~ステップS214について説明する。 Next, the segment extraction unit 201 repeats steps S211 to S214 for each occupant ID included in the list acquired in step S201 above (step S202). Below, steps S211 to S214 for a certain occupant ID are described.

セグメント抽出部201は、当該占有者IDが移転元ID又は移転先IDとなっている占有者移転履歴レコードを移転日時順に取得する(ステップS211)。ただし、このとき、セグメント抽出部201は、セグメント毎CO2排出量テーブルに格納されているセグメント毎CO2排出量レコードのセグメント開始日時の最大値よりも後の移転日時が含まれる占有者移転履歴レコードを取得する。これは、セグメント抽出処理が前回実行されたときの続きからセグメント抽出を開始させるためである。なお、日時の最大値とは、最新の日時のことである。 The segment extraction unit 201 acquires occupant transfer history records in which the occupant ID is the transfer source ID or transfer destination ID in order of transfer date and time (step S211). However, at this time, the segment extraction unit 201 acquires occupant transfer history records that include a transfer date and time that is later than the maximum value of the segment start date and time of the per-segment CO2 emission records stored in the per-segment CO2 emission table. This is to start segment extraction from where it left off when the segment extraction process was last executed. Note that the maximum date and time refers to the most recent date and time.

セグメント抽出部201は、仮セグメント開始日時、仮セグメント終了日時及び仮セグメント商品総量に初期値を設定する(ステップS212)。セグメント抽出部201は、例えば、仮セグメント開始日時、仮セグメント終了日時及び仮セグメント商品総量に対して以下により初期値を設定する。なお、仮セグメント開始日時、仮セグメント終了日時及び仮セグメント商品総量はいずれもセグメント抽出に用いられる一時的な変数である。 The segment extraction unit 201 sets initial values for the tentative segment start date/time, tentative segment end date/time, and tentative segment product total amount (step S212). For example, the segment extraction unit 201 sets initial values for the tentative segment start date/time, tentative segment end date/time, and tentative segment product total amount as follows. Note that the tentative segment start date/time, tentative segment end date/time, and tentative segment product total amount are all temporary variables used for segment extraction.

仮セグメント開始日時:セグメント毎CO2排出量テーブルに格納されているセグメント毎CO2排出量レコードのうち、当該占有者IDが含まれるセグメント毎CO2排出量レコードのセグメント開始日時の最大値を設定する。ただし、当該占有者IDが含まれるセグメント毎CO2排出量レコードが存在しない場合は、NULL(空値)を設定する。 Provisional segment start date and time: Set the maximum value of the segment start date and time of the segment CO2 emission records that contain the occupant ID among the segment CO2 emission records stored in the segment CO2 emission table. However, if there is no segment CO2 emission record that contains the occupant ID, set NULL (empty value).

仮セグメント終了日時:NULLを設定する。 Temporary segment end date and time: Set to NULL.

仮セグメント商品総量:当該占有者IDが含まれるセグメント毎CO2排出量レコードのうち、最大のセグメント開始日時を取るセグメント毎CO2排出量レコードのセグメント商品総量を設定する。ただし、当該占有者IDが含まれるセグメント毎CO2排出量レコードが存在しない場合は、0を設定する。 Provisional segment product total amount: Set the segment product total amount of the segment CO2 emission record with the maximum segment start date and time among the segment CO2 emission records that include the occupant ID. However, if there is no segment CO2 emission record that includes the occupant ID, set it to 0.

セグメント抽出部201は、上記のステップS211で占有者移転履歴レコードを取得した順に、当該占有者移転履歴レコードに関してステップS221~ステップS223を繰り返す(ステップS213)。以下、或る占有者移転履歴レコードに関するステップS221~ステップS223について説明する。 The segment extraction unit 201 repeats steps S221 to S223 for the occupant transfer history records in the order in which they were acquired in step S211 above (step S213). Steps S221 to S223 for a certain occupant transfer history record are described below.

セグメント抽出部201は、仮セグメント開始日時がNULLである場合、当該占有者移転履歴レコードの移転日時を仮セグメント開始日時に設定する(ステップS221)。なお、仮セグメント開始日時がNULLでない場合、本ステップは実行されない。 If the provisional segment start date and time is NULL, the segment extraction unit 201 sets the transfer date and time of the occupant transfer history record to the provisional segment start date and time (step S221). Note that if the provisional segment start date and time is not NULL, this step is not executed.

セグメント抽出部201は、当該占有者移転履歴レコードの移転日時と仮セグメント終了日時の差分がセグメント化判定閾値未満であるか否かに応じて、セグメント確定を行う(ステップS222)。具体的には、セグメント抽出部201は、以下の(3-1)又は(3-2)を実行する。 The segment extraction unit 201 determines the segment depending on whether the difference between the transfer date and time of the occupant transfer history record and the tentative segment end date and time is less than the segmentation determination threshold (step S222). Specifically, the segment extraction unit 201 executes the following (3-1) or (3-2).

(3-1)仮セグメント終了日時がNULLである場合、又は、当該占有者移転履歴レコードの移転日時と仮セグメント終了日時との差がセグメント化判定閾値未満である場合
この場合、セグメント抽出部201は、(3-1-1)~(3-1-2)を実行する。
(3-1) If the provisional segment end date and time is NULL, or if the difference between the transfer date and time of the occupant transfer history record and the provisional segment end date and time is less than the segmentation determination threshold, the segment extraction unit 201 executes (3-1-1) to (3-1-2).

(3-1-1)セグメント抽出部201は、当該占有者移転履歴レコードの移転日時を仮セグメント終了日時に設定する。 (3-1-1) The segment extraction unit 201 sets the transfer date and time of the occupant transfer history record to the provisional segment end date and time.

(3-1-2)セグメント抽出部201は、当該占有者移転履歴レコードが、上記のステップS213において当該占有者IDに関する最後のレコードである場合、以下の(3-1-2-1)~(3-1-2-3)を実行する。一方で、セグメント抽出部201は、当該占有者移転履歴レコードが、上記のステップS213において当該占有者IDに関する最後のレコードでない場合、ステップS223に進む。 (3-1-2) If the occupant transfer history record is the last record for the occupant ID in step S213 above, the segment extraction unit 201 executes the following (3-1-2-1) to (3-1-2-3). On the other hand, if the occupant transfer history record is not the last record for the occupant ID in step S213 above, the segment extraction unit 201 proceeds to step S223.

(3-1-2-1)セグメント抽出部201は、当該占有者IDが、当該占有者移転履歴レコードの移転元IDと一致するか否かに応じて、仮セグメント商品総量を増減させる。すなわち、セグメント抽出部201は、当該占有者IDが当該移転元IDと一致する場合、仮セグメント商品総量から、当該占有者移転履歴レコードの商品量を減算する。一方で、セグメント抽出部201は、当該占有者IDが当該移転元IDと一致しない場合(つまり、当該占有者IDが、当該占有者移転履歴レコードの移転先IDと一致する場合)、仮セグメント商品総量に対して、当該占有者移転履歴レコードの商品量を加算する。 (3-1-2-1) The segment extraction unit 201 increases or decreases the provisional segment product total quantity depending on whether the occupant ID matches the transfer source ID of the occupant transfer history record. That is, if the occupant ID matches the transfer source ID, the segment extraction unit 201 subtracts the product quantity of the occupant transfer history record from the provisional segment product total quantity. On the other hand, if the occupant ID does not match the transfer source ID (in other words, if the occupant ID matches the transfer destination ID of the occupant transfer history record), the segment extraction unit 201 adds the product quantity of the occupant transfer history record to the provisional segment product total quantity.

(3-1-2-2)セグメント抽出部201は、現在の仮セグメント開始日時、仮セグメント終了日時及び仮セグメント商品総量を用いて、当該占有者IDのセグメントを確定する。すなわち、セグメント抽出部201は、現在の仮セグメント開始日時をセグメント開始日時、現在の仮セグメント終了日時をセグメント終了日時、現在の仮セグメント商品総量をセグメント商品総量として、当該占有者IDのセグメント(占有者ID,セグメント開始日時,セグメント終了日時,セグメント商品総量)を確定する。 (3-1-2-2) The segment extraction unit 201 determines the segment for the occupant ID using the current tentative segment start date and time, tentative segment end date and time, and tentative segment product total amount. That is, the segment extraction unit 201 determines the segment for the occupant ID (occupant ID, segment start date and time, segment end date and time, segment product total amount) using the current tentative segment start date and time as the segment start date and time, the current tentative segment end date and time as the segment end date and time, and the current tentative segment product total amount as the segment product total amount.

(3-1-2-3)セグメント抽出部201は、上記の(3-1-2―2)で確定したセグメントの情報を、セグメント毎CO2排出量レコードとしてセグメント毎CO2排出量テーブルに格納する。すなわち、セグメント抽出部201は、上記の(3-1-2―2)で確定したセグメントの情報(占有者ID、セグメント開始日時、セグメント終了日時及びセグメント商品総量)をセグメント毎CO2排出量レコードとしてセグメント毎CO2排出量テーブルに格納する。このとき、セグメント抽出部201は、プライマリキーが一致するセグメント毎CO2排出量レコードがセグメント毎CO2排出量テーブルに既に存在する場合は既に存在するセグメント毎CO2排出量レコードをUpdateし、そうでない場合はセグメント毎CO2排出量レコードをセグメント毎CO2排出量テーブルにInsertする。その後、セグメント抽出部201は、ステップS214に進む。 (3-1-2-3) The segment extraction unit 201 stores the segment information determined in (3-1-2-2) above in the segment CO2 emission table as a segment CO2 emission record. That is, the segment extraction unit 201 stores the segment information determined in (3-1-2-2) above (occupant ID, segment start date and time, segment end date and time, and segment product total amount) in the segment CO2 emission table as a segment CO2 emission record. At this time, if a segment CO2 emission record with a matching primary key already exists in the segment CO2 emission table, the segment extraction unit 201 updates the existing segment CO2 emission record, and if not, inserts the segment CO2 emission record into the segment CO2 emission table. The segment extraction unit 201 then proceeds to step S214.

(3-2)上記の(3-1)以外である場合
この場合、セグメント抽出部201は、以下の(3-2-1)~(3-2-4)を実行する。
(3-2) Cases other than the above (3-1) In this case, the segment extraction unit 201 executes the following (3-2-1) to (3-2-4).

(3-2-1)セグメント抽出部201は、当該占有者移転履歴レコードの移転日時を仮セグメント終了日時に設定する。 (3-2-1) The segment extraction unit 201 sets the transfer date and time of the occupant transfer history record to the provisional segment end date and time.

(3-2-2)セグメント抽出部201は、現在の仮セグメント開始日時、仮セグメント終了日時及び仮セグメント商品総量を用いて、当該占有者IDのセグメントを確定する。すなわち、セグメント抽出部201は、現在の仮セグメント開始日時をセグメント開始日時、現在の仮セグメント終了日時をセグメント終了日時、現在の仮セグメント商品総量をセグメント商品総量として、当該占有者IDのセグメント(占有者ID,セグメント開始日時,セグメント終了日時,セグメント商品総量)を確定する。 (3-2-2) The segment extraction unit 201 determines the segment for the occupant ID using the current tentative segment start date and time, tentative segment end date and time, and tentative segment product total amount. That is, the segment extraction unit 201 determines the segment for the occupant ID (occupant ID, segment start date and time, segment end date and time, segment product total amount) using the current tentative segment start date and time as the segment start date and time, the current tentative segment end date and time as the segment end date and time, and the current tentative segment product total amount as the segment product total amount.

(3-2-3)セグメント抽出部201は、上記の(3-2-2)で確定したセグメントの情報を、セグメント毎CO2排出量レコードとしてセグメント毎CO2排出量テーブルに格納する。すなわち、セグメント抽出部201は、上記の(3-2-2)で確定したセグメントの情報(占有者ID、セグメント開始日時、セグメント終了日時及びセグメント商品総量)をセグメント毎CO2排出量レコードとしてセグメント毎CO2排出量テーブルに格納する。このとき、セグメント抽出部201は、プライマリキーが一致するセグメント毎CO2排出量レコードがセグメント毎CO2排出量テーブルに既に存在する場合は既に存在するセグメント毎CO2排出量レコードをUpdateし、そうでない場合はセグメント毎CO2排出量レコードをセグメント毎CO2排出量テーブルにInsertする。 (3-2-3) The segment extraction unit 201 stores the segment information determined in (3-2-2) above in the per-segment CO2 emission table as a per-segment CO2 emission record. That is, the segment extraction unit 201 stores the segment information determined in (3-2-2) above (occupant ID, segment start date and time, segment end date and time, and total segment product amount) in the per-segment CO2 emission table as a per-segment CO2 emission record. At this time, if a per-segment CO2 emission record with a matching primary key already exists in the per-segment CO2 emission table, the segment extraction unit 201 updates the existing per-segment CO2 emission record, and if not, inserts the per-segment CO2 emission record into the per-segment CO2 emission table.

(3-2-4)セグメント抽出部201は、仮セグメント終了日時を仮セグメント開始日時に設定する。 (3-2-4) The segment extraction unit 201 sets the tentative segment end date and time to the tentative segment start date and time.

セグメント抽出部201は、当該占有者IDが、当該占有者移転履歴レコードの移転元IDと一致するか否かに応じて、仮セグメント商品総量を増減させる(ステップS223)。すなわち、セグメント抽出部201は、当該占有者IDが当該移転元IDと一致する場合、仮セグメント商品総量から、当該占有者移転履歴レコードの商品量を減算する。一方で、セグメント抽出部201は、当該占有者IDが当該移転元IDと一致しない場合(つまり、当該占有者IDが、当該占有者移転履歴レコードの移転先IDと一致する場合)、仮セグメント商品総量に対して、当該占有者移転履歴レコードの商品量を加算する。 The segment extraction unit 201 increases or decreases the provisional segment product total quantity depending on whether the occupant ID matches the transfer source ID of the occupant transfer history record (step S223). That is, if the occupant ID matches the transfer source ID, the segment extraction unit 201 subtracts the product quantity of the occupant transfer history record from the provisional segment product total quantity. On the other hand, if the occupant ID does not match the transfer source ID (in other words, if the occupant ID matches the transfer destination ID of the occupant transfer history record), the segment extraction unit 201 adds the product quantity of the occupant transfer history record to the provisional segment product total quantity.

なお、上記のステップS223が実行された後、当該占有者IDに関する次の占有者移転履歴レコードがある場合、上記のステップS221に戻り、当該次の占有者移転履歴レコードに関してステップS221~ステップS222の繰り返し処理が実行される。一方で、当該占有者IDに関する次の占有者移転履歴レコードがない場合、ステップS214が実行される。 After step S223 is executed, if there is a next occupant transfer history record related to the occupant ID, the process returns to step S221, and steps S221 to S222 are repeated for the next occupant transfer history record. On the other hand, if there is no next occupant transfer history record related to the occupant ID, step S214 is executed.

セグメント抽出部201は、仮セグメント開始日時及び仮セグメント終了日時に値を設定し、今回のセグメント抽出処理における最終セグメントを確定する(ステップS214)。具体的には、セグメント抽出部201は、以下の(4-1)~(4-3)を実行する。 The segment extraction unit 201 sets values for the tentative segment start date and time and the tentative segment end date and time, and determines the final segment in this segment extraction process (step S214). Specifically, the segment extraction unit 201 executes the following steps (4-1) to (4-3).

(4-1)セグメント抽出部201は、仮セグメント開始日時及び仮セグメント終了日時を以下のように設定する。 (4-1) The segment extraction unit 201 sets the provisional segment start date and time and the provisional segment end date and time as follows:

仮セグメント開始日時:現在の仮セグメント終了日時を設定する。 Temporary segment start date and time: Set the current temporary segment end date and time.

仮セグメント終了日時:現在の仮セグメント終了日時以降の日時、例えば、今回のセグメント抽出処理の実行時のシステム日時を設定する。 Temporary segment end date and time: Set the date and time after the current temporary segment end date and time, for example, the system date and time when the current segment extraction process was executed.

(4-2)セグメント抽出部201は、現在の仮セグメント開始日時、仮セグメント終了日時及び仮セグメント商品総量を用いて、今回のセグメント抽出処理における当該占有者IDの最終セグメントを確定する。すなわち、セグメント抽出部201は、現在の仮セグメント開始日時をセグメント開始日時、現在の仮セグメント終了日時をセグメント終了日時、現在の仮セグメント商品総量をセグメント商品総量として、今回のセグメント抽出処理における当該占有者IDの最終セグメント(占有者ID,セグメント開始日時,セグメント終了日時,セグメント商品総量)を確定する。 (4-2) The segment extraction unit 201 determines the final segment for the occupant ID in the current segment extraction process using the current tentative segment start date and time, tentative segment end date and time, and tentative segment product total amount. That is, the segment extraction unit 201 determines the final segment (occupant ID, segment start date and time, segment end date and time, segment product total amount) for the occupant ID in the current segment extraction process using the current tentative segment start date and time as the segment start date and time, the current tentative segment end date and time as the segment end date and time, and the current tentative segment product total amount as the segment product total amount.

(4-3)セグメント抽出部201は、上記の(4-2)で確定した最終セグメントの情報を、セグメント毎CO2排出量レコードとしてセグメント毎CO2排出量テーブルに格納する。すなわち、セグメント抽出部201は、上記の(4-2)で確定した最終セグメントの情報(占有者ID、セグメント開始日時、セグメント終了日時及びセグメント商品総量)をセグメント毎CO2排出量レコードとしてセグメント毎CO2排出量テーブルに格納する。 (4-3) The segment extraction unit 201 stores the information on the final segment determined in (4-2) above in the CO2 emission table for each segment as a CO2 emission record for each segment. That is, the segment extraction unit 201 stores the information on the final segment determined in (4-2) above (occupant ID, segment start date and time, segment end date and time, and total amount of segment products) in the CO2 emission table for each segment as a CO2 emission record for each segment.

なお、上記のステップS201で取得したリスト内に次の占有者IDが存在する場合、ステップS211に戻り、当該次の占有者IDに関してステップS211~ステップS214の繰り返し処理が実行される。一方で、上記のステップS201で取得したリスト内に次の占有者IDが存在しない場合、セグメント抽出処理を終了する。 If the next occupant ID is present in the list obtained in step S201, the process returns to step S211, and steps S211 to S214 are repeated for the next occupant ID. On the other hand, if the next occupant ID is not present in the list obtained in step S201, the segment extraction process ends.

上記のセグメント抽出処理では、占有者移転履歴レコードの移転日時をセグメント開始日時として設定しているが、例えば、当該占有者移転履歴レコードの直後の占有者移転履歴レコードの移転日時をセグメント開始日時として設定したり、又は、当該占有者移転履歴レコードの移転日時と、当該占有者移転履歴レコードに関連する占有者移転履歴レコードの移転日時との間の日時をセグメント開始日時として設定したりしてもよい。また、このとき、セグメント開始日時に応じて、セグメント終了日時に設定される日時が適宜変更されてもよいし、セグメント抽出処理の一部の処理が適宜変更されてもよい。 In the above segment extraction process, the transfer date and time of the occupant transfer history record is set as the segment start date and time, but for example, the transfer date and time of the occupant transfer history record immediately following the occupant transfer history record in question may be set as the segment start date and time, or the date and time between the transfer date and time of the occupant transfer history record in question and the transfer date and time of the occupant transfer history record related to the occupant transfer history record in question may be set as the segment start date and time. In this case, the date and time set as the segment end date and time may be changed as appropriate depending on the segment start date and time, and part of the processing of the segment extraction process may be changed as appropriate.

<実施例1における占有区間抽出処理例>
図9のステップS102における占有区間抽出処理例について、図11を参照しながら説明する。
<Example of Occupied Section Extraction Processing in Example 1>
An example of the occupied section extraction process in step S102 in FIG. 9 will be described with reference to FIG.

占有区間抽出部202は、占有者移転履歴テーブルに格納されている占有者移転履歴レコードから商品個別IDの重複なしリストを取得する(ステップS301)。 The occupied section extraction unit 202 obtains a list of individual product IDs without duplicates from the occupant transfer history records stored in the occupant transfer history table (step S301).

次に、占有区間抽出部202は、上記のステップS301で取得したリストに含まれる商品個別ID毎にステップS311~ステップS313とステップS314又はステップS315とを繰り返す(ステップS302)。以下、或る商品個別IDに関するステップS311~ステップS313とステップS314又はステップS315とについて説明する。 Next, the occupied section extraction unit 202 repeats steps S311 to S313 and step S314 or step S315 for each individual product ID included in the list acquired in step S301 (step S302). Below, steps S311 to S313 and step S314 or step S315 for a certain individual product ID will be described.

占有区間抽出部202は、当該商品個別IDが含まれる占有者移転履歴レコードを移転日時順に取得する(ステップS311)。ただし、このとき、占有区間抽出部202は、占有区間毎商品単位CO2排出量テーブルに格納されている占有区間毎商品単位CO2排出量レコードの占有区間開始日時の最大値よりも後の移転日時が含まれる占有者移転履歴レコードを取得する。なお、占有区間毎商品単位CO2排出量テーブルに格納されている占有区間毎商品単位CO2排出量レコードが存在しない場合、占有区間抽出部202は、当該商品個別IDが含まれる全ての占有者移転履歴レコードを移転日時順に取得する。 The occupied section extraction unit 202 acquires occupant transfer history records including the individual product ID in order of transfer date and time (step S311). However, at this time, the occupied section extraction unit 202 acquires occupant transfer history records including a transfer date and time that is later than the maximum value of the occupied section start date and time of the product unit CO2 emission records for each occupied section stored in the product unit CO2 emission table for each occupied section. Note that if there is no product unit CO2 emission record for each occupied section stored in the product unit CO2 emission table for each occupied section, the occupied section extraction unit 202 acquires all occupant transfer history records including the individual product ID in order of transfer date and time.

占有区間抽出部202は、仮占有区間開始日時及び仮占有者IDに初期値を設定する(ステップS312)。占有区間抽出部202は、例えば、仮占有区間開始日時及び仮占有者IDに対して以下により初期値を設定する。なお、仮占有区間開始日時及び仮占有者IDはいずれも占有区間抽出に用いられる一時的な変数である。 The occupied section extraction unit 202 sets initial values for the temporary occupied section start date and time and the temporary occupant ID (step S312). For example, the occupied section extraction unit 202 sets initial values for the temporary occupied section start date and time and the temporary occupant ID as follows. Note that the temporary occupied section start date and time and the temporary occupant ID are both temporary variables used for extracting the occupied section.

仮占有区間開始日時:上記のステップS311で最初に取得した占有者移転履歴レコードの移転日時を設定する。 Temporary occupied section start date and time: Set the transfer date and time of the occupant transfer history record first obtained in step S311 above.

仮占有者ID:上記のステップS311で最初に取得した占有者移転履歴レコードの移転先IDを設定する。 Temporary occupant ID: Set the destination ID of the occupant transfer history record first obtained in step S311 above.

占有区間抽出部202は、上記のステップS311で取得した占有者移転履歴レコードが2つ以上存在するか否かを判定する(ステップS313)。 The occupied section extraction unit 202 determines whether there are two or more occupant transfer history records obtained in step S311 above (step S313).

上記のステップS311で取得した占有者移転履歴レコードが2つ以上存在しない場合(つまり、上記のステップS311で取得した占有者移転履歴レコードが1つのみである場合)、占有区間抽出部202は、占有区間確定を行う(ステップS314)。すなわち、占有区間抽出部202は、以下の(5-1)~(5-2)を実行する。 If there are not two or more occupant transfer history records acquired in step S311 above (i.e., if there is only one occupant transfer history record acquired in step S311 above), the occupied section extraction unit 202 determines the occupied section (step S314). That is, the occupied section extraction unit 202 executes the following steps (5-1) to (5-2).

(5-1)占有区間抽出部202は、仮占有区間開始日時及び仮占有者IDを用いて、当該商品個別IDの占有区間を確定する。すなわち、占有区間抽出部202は、現在の仮占有者IDを占有者ID、現在の仮占有区間開始日時を占有区間開始日時、NULLを占有区間終了日時として、当該商品個別IDの占有区間(商品個別ID,占有者ID,占有区間開始日時,占有区間終了日時,商品量)を確定する。ただし、占有区間の商品量には、当該占有者移転履歴レコードに含まれる商品量を設定する。 (5-1) The occupied section extraction unit 202 determines the occupied section of the individual product ID using the temporary occupied section start date and time and the temporary occupant ID. That is, the occupied section extraction unit 202 determines the occupied section of the individual product ID (individual product ID, occupant ID, occupied section start date and time, occupied section end date and time, product quantity) using the current temporary occupant ID as the occupant ID, the current temporary occupant section start date and time as the occupied section start date and time, and NULL as the occupied section end date and time. However, the product quantity of the occupied section is set to the product quantity included in the occupant transfer history record.

(5-2)占有区間抽出部202は、上記の(5-1)で確定した占有区間の情報を、占有区間毎商品単位CO2排出量レコードとして占有区間毎商品単位CO2排出量テーブルに格納する。すなわち、占有区間抽出部202は、上記の(5-1)で確定した占有区間の情報(商品個別ID、占有者ID、占有区間開始日時、占有区間終了日時及び商品量)を占有区間毎商品単位CO2排出量レコードとして占有区間毎商品単位CO2排出量テーブルに格納する。このとき、占有区間抽出部202は、プライマリキーが一致する占有区間毎商品単位CO2排出量レコードが占有区間毎商品単位CO2排出量テーブルに既に存在する場合は既に存在する占有区間毎商品単位CO2排出量レコードをUpdateし、そうでない場合は占有区間毎商品単位CO2排出量レコードを占有区間毎商品単位CO2排出量テーブルにInsertする。 (5-2) The occupied section extraction unit 202 stores the information on the occupied section determined in (5-1) above in the occupied section product unit CO2 emission record in the occupied section product unit CO2 emission record table. That is, the occupied section extraction unit 202 stores the information on the occupied section determined in (5-1) above (product ID, occupant ID, occupied section start date and time, occupied section end date and time, and product quantity) in the occupied section product unit CO2 emission record table as a per-occupied section product unit CO2 emission record. At this time, if a per-occupied section product unit CO2 emission record with a matching primary key already exists in the occupied section product unit CO2 emission record table, the occupied section extraction unit 202 updates the existing per-occupied section product unit CO2 emission record, and if not, inserts the per-occupied section product unit CO2 emission record into the occupied section product unit CO2 emission record table.

ただし、占有区間に含まれる占有者IDが、商品が原始取得(生産・製造等)されたことを表す識別子である場合、商品等が販売や処分、消尽等により譲渡(占有者移転)が完結したこと等を表す識別子である場合には、上記の(5-2)は実行されない。例えば、図1に示す例では、占有者IDが「0x0」である場合、商品が生産・製造等、又は、商品の譲渡(占有者移転)が完結したものとして、上記の(5-2)は実行されない。 However, if the occupant ID included in the occupied section is an identifier indicating that the product has been originally acquired (produced, manufactured, etc.), or is an identifier indicating that the transfer (transfer of occupant) of the product has been completed through sale, disposal, exhaustion, etc., then the above (5-2) will not be executed. For example, in the example shown in Figure 1, if the occupant ID is "0x0", it is assumed that the production, manufacture, etc. of the product, or the transfer (transfer of occupant) of the product has been completed, and the above (5-2) will not be executed.

一方で、上記のステップS311で取得した占有者移転履歴レコードが2つ以上存在する場合、占有区間抽出部202は、2つ目の占有者移転履歴レコードから順にステップS321を繰り返す(ステップS321)。以下、或る占有者移転履歴レコードに関するステップS321について説明する。 On the other hand, if there are two or more occupant transfer history records obtained in step S311 above, the occupied section extraction unit 202 repeats step S321 starting from the second occupant transfer history record (step S321). Step S321 for a certain occupant transfer history record is described below.

占有区間抽出部202は、仮占有者IDが、当該占有者移転履歴レコードの移転元IDと一致するか否かに応じて、占有区間確定を行うか又はエラーとする(ステップS321)。すなわち、占有区間抽出部202は、以下の(6-1)又は(6-2)を実行する。 Depending on whether the temporary occupant ID matches the relocation source ID of the occupant relocation history record, the occupied section extraction unit 202 determines whether the occupied section is determined or returns an error (step S321). That is, the occupied section extraction unit 202 executes the following (6-1) or (6-2).

(6-1)仮占有者IDが、当該占有者移転履歴レコードの移転元IDと一致する場合
この場合、占有区間抽出部202は、以下の(6-1-1)~(6-1-3)を実行する。
(6-1) When the temporary occupant ID matches the transfer source ID of the occupant transfer history record, the occupied section extraction unit 202 executes the following (6-1-1) to (6-1-3).

(6-1-1)占有区間抽出部202は、仮占有区間開始日時及び仮占有者IDを用いて、当該商品個別IDの占有区間を確定する。すなわち、占有区間抽出部202は、現在の仮占有者IDを占有者ID、現在の仮占有区間開始日時を占有区間開始日時、当該占有者移転履歴レコードの移転日時を占有区間終了日時として、当該商品個別IDの占有区間(商品個別ID,占有者ID,占有区間開始日時,占有区間終了日時,商品量)を確定する。ただし、占有区間の商品量には、当該占有者移転履歴レコードに含まれる商品量を設定する。 (6-1-1) The occupied section extraction unit 202 determines the occupied section of the individual product ID using the temporary occupied section start date and time and the temporary occupant ID. That is, the occupied section extraction unit 202 determines the occupied section of the individual product ID (individual product ID, occupant ID, occupied section start date and time, occupied section end date and time, product quantity) using the current temporary occupant ID as the occupant ID, the current temporary occupant section start date and time as the occupied section start date and time, and the transfer date and time of the occupant transfer history record as the occupied section end date and time. However, the product quantity of the occupied section is set to the product quantity included in the occupant transfer history record.

(6-1-2)占有区間抽出部202は、上記の(6-1-1)で確定した占有区間の情報を、占有区間毎商品単位CO2排出量レコードとして占有区間毎商品単位CO2排出量テーブルに格納する。すなわち、占有区間抽出部202は、上記の(6-1-1)で確定した占有区間の情報(商品個別ID、占有者ID、占有区間開始日時、占有区間終了日時及び商品量)を占有区間毎商品単位CO2排出量レコードとして占有区間毎商品単位CO2排出量テーブルに格納する。このとき、占有区間抽出部202は、プライマリキーが一致する占有区間毎商品単位CO2排出量レコードが占有区間毎商品単位CO2排出量テーブルに既に存在する場合は既に存在する占有区間毎商品単位CO2排出量レコードをUpdateし、そうでない場合は占有区間毎商品単位CO2排出量レコードを占有区間毎商品単位CO2排出量テーブルにInsertする。 (6-1-2) The occupied section extraction unit 202 stores the information on the occupied section determined in (6-1-1) above in the occupied section product unit CO2 emission record in the occupied section product unit CO2 emission record table. That is, the occupied section extraction unit 202 stores the information on the occupied section determined in (6-1-1) above (product ID, occupant ID, occupied section start date and time, occupied section end date and time, and product quantity) in the occupied section product unit CO2 emission record in the occupied section product unit CO2 emission record table. At this time, if a product unit CO2 emission record for each occupied section with a matching primary key already exists in the occupied section product unit CO2 emission record table, the occupied section extraction unit 202 updates the existing product unit CO2 emission record for each occupied section, and if not, inserts the product unit CO2 emission record for each occupied section into the occupied section product unit CO2 emission record table.

ただし、占有区間に含まれる占有者IDが、商品が原始取得(生産・製造等)されたことを表す識別子である場合、商品等が販売や処分、消尽等により譲渡(占有者移転)が完結したこと等を表す識別子である場合には、上記の(6-1-2)は実行されない。例えば、図1に示す例では、占有者IDが「0x0」である場合、商品が生産・製造等、又は、商品の譲渡(占有者移転)が完結したものとして、上記の(6-1-2)は実行されない。 However, if the occupant ID included in the occupied section is an identifier indicating that the product has been originally acquired (produced, manufactured, etc.), or is an identifier indicating that the transfer (transfer of occupant) of the product has been completed through sale, disposal, exhaustion, etc., then the above (6-1-2) will not be executed. For example, in the example shown in Figure 1, if the occupant ID is "0x0", it is assumed that the production, manufacture, etc. of the product, or the transfer (transfer of occupant) of the product has been completed, and the above (6-1-2) will not be executed.

(6-1-3)占有区間抽出部202は、仮占有区間開始日時及び仮占有者IDを以下のように設定する。 (6-1-3) The occupied section extraction unit 202 sets the temporary occupied section start date and time and the temporary occupant ID as follows:

仮占有区間開始日時:当該占有者移転履歴レコードの移転日時を設定する。 Temporary occupied section start date and time: Set the transfer date and time of the occupant transfer history record.

仮占有者ID:当該占有者移転履歴レコードの移転先IDを設定する。 Temporary occupant ID: Set the relocation destination ID of the occupant relocation history record.

(6-2)仮占有者IDが、当該占有者移転履歴レコードの移転元IDと一致しない場合
この場合、占有区間抽出部202は、例外としてエラーを出力し、占有区間抽出処理を終了する。
(6-2) If the temporary occupant ID does not match the transfer source ID of the occupant transfer history record, the occupied section extraction unit 202 outputs an error as an exception and ends the occupied section extraction process.

[実施例2]
以下、本実施形態の実施例2について説明する。実施例2では、環境情報がGPS情報である場合を想定し、上記の(2-1)~(2-3)の処理を実行する環境情報管理装置10について説明する。ただし、環境情報がGPS情報であることは一例であって、以下で説明する実施例2はGPS情報以外の点情報タイプの環境情報(例えば、温度、湿度等)に対しても同様に適用可能である。
[Example 2]
Example 2 of this embodiment will be described below. In Example 2, it is assumed that the environmental information is GPS information, and the environmental information management device 10 that executes the above processes (2-1) to (2-3) will be described. However, the environmental information being GPS information is just one example, and Example 2 described below can be similarly applied to environmental information of point information type other than GPS information (for example, temperature, humidity, etc.).

<実施例2における環境情報管理装置10のハードウェア構成例>
実施例1における環境情報管理装置10と同様としてよい。このため、以下では、実施例2における環境情報管理装置10のハードウェア構成は実施例1と同様であるものとし、その説明を省略する。
<Example of Hardware Configuration of Environmental Information Management Device 10 in Example 2>
The hardware configuration of the environmental information managing device 10 in the second embodiment may be the same as that of the environmental information managing device 10 in the first embodiment. Therefore, in the following, it is assumed that the hardware configuration of the environmental information managing device 10 in the second embodiment is the same as that in the first embodiment, and the description thereof will be omitted.

<実施例2における環境情報管理装置10の機能構成例>
実施例2における環境情報管理装置10の機能構成例を図12に示す。図12に示すように、実施例2における環境情報管理装置10は、セグメント抽出部201と、セグメント毎GPS情報対応付け部207と、可視化部206とを有する。これら各部は、例えば、環境情報管理装置10にインストールされた1以上のプログラムが、プロセッサ108等に実行させる処理により実現される。また、実施例2における環境情報管理装置10は、占有者移転履歴記憶部301と、GPS情報記憶部305と、セグメント毎GPS情報記憶部306とを有する。これら各部は、例えば、補助記憶装置107等の記憶装置により実現される。
<Example of functional configuration of the environmental information management device 10 in the second embodiment>
An example of a functional configuration of the environmental information management device 10 in the second embodiment is shown in Fig. 12. As shown in Fig. 12, the environmental information management device 10 in the second embodiment has a segment extraction unit 201, a segment-by-segment GPS information association unit 207, and a visualization unit 206. Each of these units is realized, for example, by a process in which one or more programs installed in the environmental information management device 10 are executed by the processor 108 or the like. Furthermore, the environmental information management device 10 in the second embodiment has an occupant transfer history storage unit 301, a GPS information storage unit 305, and a segment-by-segment GPS information storage unit 306. Each of these units is realized, for example, by a storage device such as the auxiliary storage device 107.

セグメント抽出部201は、上記の(2-1)の処理を実行する。すなわち、セグメント抽出部201は、占有者移転履歴テーブルに格納されている占有者移転履歴レコードの移転日時等に基づいて、占有者毎のセグメントを抽出する。ただし、点情報タイプでは商品の総量で環境情報を按分する必要がないため、セグメント抽出の際に、按分に必要な情報を得るための処理は不要となる。 The segment extraction unit 201 executes the process of (2-1) above. That is, the segment extraction unit 201 extracts segments for each occupant based on the transfer date and time of the occupant transfer history record stored in the occupant transfer history table. However, since the point information type does not require apportioning the environmental information by the total amount of goods, when extracting segments, no process is required to obtain the information required for apportionment.

セグメント毎GPS情報対応付け部207は、上記の(2-2)の処理を実行する。すなわち、セグメント毎GPS情報対応付け部207は、例えば、各セグメントに関して、セグメント開始日時とセグメント終了日時との間に存在するGPS情報を取得し、これら取得したGPS情報を当該セグメントと対応付ける。 The segment-specific GPS information matching unit 207 executes the process of (2-2) above. That is, for example, for each segment, the segment-specific GPS information matching unit 207 acquires GPS information that exists between the segment start date and time and the segment end date and time, and associates the acquired GPS information with the segment.

可視化部206は、上記の(2-3)の処理を実行する。すなわち、可視化部206は、セグメント毎にそのセグメントに対応付けられているGPS情報を可視化する。 The visualization unit 206 executes the process of (2-3) above. That is, the visualization unit 206 visualizes, for each segment, the GPS information associated with that segment.

占有者移転履歴記憶部301は、与えられた占有者移転履歴レコード(例えば、現在日時をT、或る所定の時間幅をΔTとして、T-ΔTからTまでの期間における占有者移転履歴レコード)で構成される占有者移転履歴テーブルを記憶する。これらの占有者移転履歴レコードは、例えば、物流トレーサビリティシステムから与えられる。 The occupant transfer history storage unit 301 stores an occupant transfer history table that is composed of given occupant transfer history records (for example, occupant transfer history records for the period from T-ΔT to T, where T is the current date and time and ΔT is a certain predetermined time span). These occupant transfer history records are provided, for example, from a logistics traceability system.

GPS情報記憶部305は、占有者毎の時系列のGPS情報(例えば、T-ΔTからTまでの期間における占有者毎の時系列のGPS情報)を記憶する。占有者毎の時系列のGPS情報は、例えば、各占有者が一時的又は非一時的に支配・管理している空間に設置等されているIoTセンサ(例えば、トラック等の車載GPS受信機等)を管理するIoT基盤システム等から与えられる。 The GPS information storage unit 305 stores time-series GPS information for each occupant (e.g., time-series GPS information for each occupant in the period from T-ΔT to T). The time-series GPS information for each occupant is provided, for example, from an IoT-based system that manages IoT sensors (e.g., on-board GPS receivers for trucks, etc.) installed in the space that each occupant controls or manages temporarily or non-temporarily.

セグメント毎GPS情報記憶部306は、セグメント抽出部201によって抽出されたセグメント、セグメント毎GPS情報対応付け部207によってセグメントとGPS情報とを対応付けた情報であるセグメント毎GPS情報を記憶する。以下、セグメント毎GPS情報を表すデータのことを「セグメント毎GPS情報レコード」といい、セグメント毎GPS情報レコードで構成されるテーブル形式のデータを「セグメント毎GPS情報テーブル」というものとする。セグメント毎GPS情報レコードは、或る占有者の或るセグメントに対応付けられた時系列のGPS情報を表している。セグメント毎GPS情報レコードは、例えば、以下のようなデータ形式で表される。 The per-segment GPS information storage unit 306 stores the segments extracted by the segment extraction unit 201 and per-segment GPS information, which is information in which segments and GPS information are associated by the per-segment GPS information association unit 207. Hereinafter, data representing per-segment GPS information will be referred to as a "per-segment GPS information record", and data in a table format consisting of per-segment GPS information records will be referred to as a "per-segment GPS information table". A per-segment GPS information record represents time-series GPS information associated with a certain segment of a certain occupant. A per-segment GPS information record is expressed, for example, in the following data format.

(占有者ID,セグメント開始日時,セグメント終了日時,セグメントGPS情報)
ここで、占有者IDは、占有者を一意に識別する識別子である。セグメント開始日時は、セグメントの開始日時である。セグメント終了日時は、セグメントの終了日時である。セグメントGPS情報は、セグメントに対応付けられた時系列のGPS情報である。以下、セグメント毎GPS情報テーブルにおけるプライマリキーは(占有者ID,セグメント開始日時)であるものとする。
(Occupant ID, segment start date and time, segment end date and time, segment GPS information)
Here, the occupant ID is an identifier that uniquely identifies an occupant. The segment start date and time is the start date and time of a segment. The segment end date and time is the end date and time of a segment. The segment GPS information is chronological GPS information associated with a segment. Hereinafter, the primary key in the segment GPS information table is assumed to be (occupant ID, segment start date and time).

<実施例2における環境情報管理装置10の処理フロー例>
実施例2における環境情報管理装置10の処理フロー例について、図13を参照しながら説明する。図13のステップS401~ステップS403は、例えば、或る所定の時間幅毎に繰り返し実行される。
<Example of process flow of the environmental information management device 10 in the second embodiment>
An example of a process flow of the environmental information managing device 10 in the second embodiment will be described with reference to Fig. 13. Steps S401 to S403 in Fig. 13 are repeatedly executed at intervals of a certain predetermined time.

セグメント抽出部201は、占有者移転履歴テーブルに格納されている占有者移転履歴レコードの移転日時等に基づいて、占有者毎のセグメントを抽出する(ステップS401)。これにより、例えば、(占有者ID,セグメント開始日時,セグメント終了日時)というデータ形式のセグメントが抽出される。以下では、セグメントは、セグメントGPS情報が未設定のセグメント毎GPS情報レコードとして抽出されるものとする。なお、本ステップの処理の詳細については後述する。 The segment extraction unit 201 extracts segments for each occupant based on the transfer date and time of the occupant transfer history record stored in the occupant transfer history table (step S401). As a result, for example, a segment in a data format of (occupant ID, segment start date and time, segment end date and time) is extracted. In the following, it is assumed that the segments are extracted as segment-specific GPS information records in which segment GPS information is not set. Details of the processing of this step will be described later.

以下のステップS402は、例えば、上記のステップS401で新たに抽出されたセグメントに関して実行される。 The following step S402 is executed, for example, with respect to the segment newly extracted in step S401 above.

セグメント毎GPS情報対応付け部207は、各セグメントに関して、セグメント開始日時とセグメント終了日時との間に存在するGPS情報を取得し、これら取得したGPS情報をセグメントGPS情報として当該セグメントと対応付ける(ステップS402)。これにより、セグメント毎GPS情報レコード(占有者ID,セグメント開始日時,セグメント終了日時,セグメントGPS情報)が得られる。 The segment GPS information matching unit 207 acquires GPS information that exists between the segment start date and time and the segment end date and time for each segment, and associates the acquired GPS information with the segment as segment GPS information (step S402). This results in a segment GPS information record (occupant ID, segment start date and time, segment end date and time, segment GPS information).

そして、可視化部206は、セグメント毎にそのセグメントに対応付けられているGPS情報を可視化(例えば、ディスプレイ等に表示)する(ステップS403)。なお、可視化部206は、例えば、ユーザによって指定されたセグメントに対応付けられているGPS情報等を可視化してもよいし、ユーザによって指定された占有者の各セグメントに対応付けられているGPS情報等を可視化してもよい。 Then, the visualization unit 206 visualizes (e.g., displays on a display, etc.) the GPS information associated with each segment (step S403). Note that the visualization unit 206 may visualize, for example, the GPS information, etc. associated with the segment specified by the user, or may visualize the GPS information, etc. associated with each segment of the occupant specified by the user.

<実施例2におけるセグメント抽出処理例>
図13のステップS401におけるセグメント抽出処理では、環境情報の按分に必要な情報を得るための処理が不要である。具体的には、実施例2におけるセグメント抽出処理では、以下の(a)及び(b)が不要である点が実施例1と異なる。
<Example of Segment Extraction Processing in the Second Embodiment>
In the segment extraction process in step S401 in Fig. 13, a process for obtaining information necessary for apportioning the environmental information is not required. Specifically, the segment extraction process in the second embodiment differs from the first embodiment in that the following (a) and (b) are not required.

(a)「仮セグメント商品総量」及び「セグメント商品総量」
(b)ステップS223の処理
上記の(a)及び(b)以外は、「セグメント毎CO2排出量レコード」を「セグメント毎GPS情報レコード」、「セグメント毎CO2排出量テーブル」を「セグメント毎GPS情報テーブル」、「CO2排出量」を「GPS情報」とそれぞれ読み替えれば、実施例1と同様である。
(a) "Provisional Segment Product Total Volume" and "Segment Product Total Volume"
(b) Processing of step S223 Other than the above (a) and (b), if the "CO2 emission record per segment" is read as the "GPS information record per segment," the "CO2 emission table per segment" is read as the "GPS information table per segment," and the "CO2 emission amount" is read as the "GPS information information," the processing is the same as in Example 1.

<まとめ>
以上のように、本実施形態に係る環境情報管理装置10は、占有者が同時に占有する商品の総量の変化によって区切られるセグメントと呼ばれる区間を導入し、これらのセグメント毎に、商品の物流サプライチェーン中で得られた環境情報又はそれらの環境情報から計算された値を管理する。これにより、本実施形態に係る環境情報管理装置10では、物流サプライチェーンにおける占有者移転履歴と環境情報とを効率的に対応付けることが可能となる。このため、環境情報が量情報タイプ又は点情報タイプのいずれであっても、例えば、不具合発生時の解析・分析やコスト削減・業務効率化等といった目的のために占有者移転履歴と環境情報とを対応付ける際のデータ量を大幅に削減することが可能となる。また、環境情報が量情報タイプである場合、商品毎の環境情報を算出する際に、単純な按分計算と比較してより正確な環境情報を算出することが可能となる。
<Summary>
As described above, the environmental information management device 10 according to the present embodiment introduces sections called segments that are divided by changes in the total amount of products simultaneously occupied by an occupant, and manages environmental information obtained in the logistics supply chain of the products or values calculated from the environmental information for each of these segments. As a result, the environmental information management device 10 according to the present embodiment can efficiently associate the occupant transfer history and the environmental information in the logistics supply chain. Therefore, whether the environmental information is of the quantity information type or the point information type, it is possible to significantly reduce the amount of data when associating the occupant transfer history and the environmental information for the purpose of, for example, analysis when a defect occurs, cost reduction, business efficiency, etc. Furthermore, when the environmental information is of the quantity information type, it is possible to calculate more accurate environmental information when calculating the environmental information for each product, compared to a simple apportionment calculation.

本発明は、具体的に開示された上記の実施形態に限定されるものではなく、特許請求の範囲の記載から逸脱することなく、種々の変形や変更、既知の技術との組み合わせ等が可能である。 The present invention is not limited to the specifically disclosed embodiments above, and various modifications, changes, and combinations with known technologies are possible without departing from the scope of the claims.

10 環境情報管理装置
101 入力装置
102 表示装置
103 外部I/F
103a 記録媒体
104 通信I/F
105 RAM
106 ROM
107 補助記憶装置
108 プロセッサ
109 バス
201 セグメント抽出部
202 占有区間抽出部
203 セグメント毎CO2排出量算出部
204 セグメント毎商品単位CO2排出量算出部
205 占有区間毎商品単位CO2排出量算出部
206 可視化部
207 セグメント毎GPS情報対応付け部
301 占有者移転履歴記憶部
302 積算CO2排出量記憶部
303 セグメント毎CO2排出量記憶部
304 占有区間毎商品単位CO2排出量記憶部
305 GPS情報記憶部
306 セグメント毎GPS情報記憶部
10 Environmental information management device 101 Input device 102 Display device 103 External I/F
103a Recording medium 104 Communication I/F
105 RAM
106 ROM
107 Auxiliary storage device 108 Processor 109 Bus 201 Segment extraction unit 202 Occupied section extraction unit 203 Per-segment CO2 emission calculation unit 204 Per-segment product CO2 emission calculation unit 205 Per-occupied section product CO2 emission calculation unit 206 Visualization unit 207 Per-segment GPS information association unit 301 Occupant transfer history storage unit 302 Accumulated CO2 emission storage unit 303 Per-segment CO2 emission storage unit 304 Per-occupied section product CO2 emission storage unit 305 GPS information storage unit 306 Per-segment GPS information storage unit

Claims (5)

サプライチェーンにおける物の占有者の移転履歴を表し、ブロックチェーンの代替不可能トークンで実現される占有移転履歴レコードであって、前記物の移転日時と、前記物の移転元の識別情報を示す移転元識別情報と、前記物の移転先の識別情報を示す移転先識別情報とが少なくとも含まれる占有移転履歴レコードで構成される占有移転データに基づいて、前記物の環境情報を対応付ける区間として、前記占有者が同時に占有する物の総量の変化によって区切られる区間を表すセグメントを抽出するように構成されているセグメント抽出部、
を有し、
前記セグメント抽出部は、
前記移転先識別情報毎に、前記セグメントの開始日時と前記セグメントの終了日時とを初期化した上で、前記移転先識別情報と同一の識別情報が移転元識別情報又は移転先識別情報として含まれる占有移転履歴レコードを移転日時順に取得し、所定の条件を満たすまで、取得した占有移転履歴レコードに含まれる移転日時で前記終了日時を更新することにより、前記開始日時から前記終了日時までの区間を、前記移転先識別情報に対応する前記セグメントとして抽出するように構成されている、区間抽出装置。
a segment extraction unit configured to extract a segment representing a section delimited by a change in the total amount of the object simultaneously occupied by the occupant as a section to which environmental information of the object is associated, based on possession transfer data constituted by a possession transfer history record that represents a transfer history of an object occupant in a supply chain and is realized by a non-fungible token of a blockchain, the possession transfer history record including at least a transfer date and time of the object, a transfer source identification information indicating an identification information of the object's transfer source, and a transfer destination identification information indicating an identification information of the object's destination;
having
The segment extraction unit
a section extraction device configured to initialize a start date and time of the segment and an end date and time of the segment for each of the relocation destination identification information, acquire an occupancy transfer history record in order of transfer date and time that includes identification information identical to the relocation destination identification information as a relocation source identification information or a relocation destination identification information, and update the end date and time with the transfer date and time included in the acquired occupancy transfer history record until a specified condition is satisfied, thereby extracting the section from the start date and time to the end date and time as the segment corresponding to the relocation destination identification information .
前記セグメント抽出部は、The segment extraction unit
前記開始日時の初期値として、NULL、又は、前記移転先識別情報に対応する前記セグメントの開始日時の最大値を設定し、Set NULL or a maximum value of the start date and time of the segment corresponding to the transfer destination identification information as an initial value of the start date and time,
前記終了日時の初期値として、NULLを設定し、Set NULL as the initial value of the end date and time,
前記開始日時がNULLである場合、最初に取得した占有移転履歴レコードに含まれる移転日時で前記開始日時を更新する、請求項1に記載の区間抽出装置。The section extraction device according to claim 1 , wherein, when the start date and time is NULL, the start date and time is updated with a transfer date and time included in a first acquired occupancy transfer history record.
前記条件は、前記取得した占有移転履歴レコードに含まれる移転日時と前記終了日時との差分が予め決められた閾値以上であることを表す条件である、請求項1又は2に記載の区間抽出装置。3 . The section extraction device according to claim 1 , wherein the condition indicates that a difference between a transfer date and time included in the acquired occupancy transfer history record and the end date and time is equal to or greater than a predetermined threshold value. サプライチェーンにおける物の占有者の移転履歴を表し、ブロックチェーンの代替不可能トークンで実現される占有移転履歴レコードであって、前記物の移転日時と、前記物の移転元の識別情報を示す移転元識別情報と、前記物の移転先の識別情報を示す移転先識別情報とが少なくとも含まれる占有移転履歴レコードで構成される占有移転データに基づいて、前記物の環境情報を対応付ける区間として、前記占有者が同時に占有する物の総量の変化によって区切られる区間を表すセグメントを抽出するセグメント抽出手順、
をコンピュータが実行し、
前記セグメント抽出手順は、
前記移転先識別情報毎に、前記セグメントの開始日時と前記セグメントの終了日時とを初期化した上で、前記移転先識別情報と同一の識別情報が移転元識別情報又は移転先識別情報として含まれる占有移転履歴レコードを移転日時順に取得し、所定の条件を満たすまで、取得した占有移転履歴レコードに含まれる移転日時で前記終了日時を更新することにより、前記開始日時から前記終了日時までの区間を、前記移転先識別情報に対応する前記セグメントとして抽出する、区間抽出方法。
a segment extraction step of extracting a segment representing a section delimited by a change in the total amount of items simultaneously occupied by the occupant as a section to which environmental information of the item is associated, based on possession transfer data constituted by a possession transfer history record that represents a transfer history of an occupant of an object in a supply chain and is realized by a non-fungible token of a blockchain, the possession transfer history record including at least a transfer date and time of the object, a transfer source identification information indicating an identification information of a transfer source of the object, and a transfer destination identification information indicating an identification information of a transfer destination of the object ;
The computer executes
The segment extraction procedure includes:
A section extraction method, comprising: initializing a start date and time of the segment and an end date and time of the segment for each of the transfer destination identification information; acquiring an occupancy transfer history record in which identification information identical to the transfer destination identification information is included as a transfer source identification information or a transfer destination identification information in order of transfer date and time; and updating the end date and time with the transfer date and time included in the acquired occupancy transfer history record until a specified condition is satisfied, thereby extracting the section from the start date and time to the end date and time as the segment corresponding to the transfer destination identification information .
サプライチェーンにおける物の占有者の移転履歴を表し、ブロックチェーンの代替不可能トークンで実現される占有移転履歴レコードであって、前記物の移転日時と、前記物の移転元の識別情報を示す移転元識別情報と、前記物の移転先の識別情報を示す移転先識別情報とが少なくとも含まれる占有移転履歴レコードで構成される占有移転データに基づいて、前記物の環境情報を対応付ける区間として、前記占有者が同時に占有する物の総量の変化によって区切られる区間を表すセグメントを抽出するセグメント抽出手順、
をコンピュータに実行させ
前記移転先識別情報毎に、前記セグメントの開始日時と前記セグメントの終了日時とを初期化した上で、前記移転先識別情報と同一の識別情報が移転元識別情報又は移転先識別情報として含まれる占有移転履歴レコードを移転日時順に取得し、所定の条件を満たすまで、取得した占有移転履歴レコードに含まれる移転日時で前記終了日時を更新することにより、前記開始日時から前記終了日時までの区間を、前記移転先識別情報に対応する前記セグメントとして抽出する、プログラム。
a segment extraction step of extracting a segment representing a section delimited by a change in the total amount of items simultaneously occupied by the occupant as a section to which environmental information of the item is associated, based on possession transfer data constituted by a possession transfer history record that represents a transfer history of an occupant of an object in a supply chain and is realized by a non-fungible token of a blockchain, the possession transfer history record including at least a transfer date and time of the object, a transfer source identification information indicating an identification information of a transfer source of the object, and a transfer destination identification information indicating an identification information of a transfer destination of the object ;
Run the following on your computer :
A program that initializes the start date and time of the segment and the end date and time of the segment for each of the transfer destination identification information, acquires occupancy transfer history records in order of transfer date and time that contain identification information identical to the transfer destination identification information as the transfer source identification information or the transfer destination identification information, and updates the end date and time with the transfer date and time contained in the acquired occupancy transfer history record until a specified condition is satisfied, thereby extracting the section from the start date and time to the end date and time as the segment corresponding to the transfer destination identification information .
JP2022153959A 2022-09-27 2022-09-27 Section extraction device, section extraction method, and program Active JP7687598B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022153959A JP7687598B2 (en) 2022-09-27 2022-09-27 Section extraction device, section extraction method, and program
JP2025080802A JP2025107446A (en) 2022-09-27 2025-05-13 Section extraction device, section extraction method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022153959A JP7687598B2 (en) 2022-09-27 2022-09-27 Section extraction device, section extraction method, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2025080802A Division JP2025107446A (en) 2022-09-27 2025-05-13 Section extraction device, section extraction method, and program

Publications (2)

Publication Number Publication Date
JP2024048095A JP2024048095A (en) 2024-04-08
JP7687598B2 true JP7687598B2 (en) 2025-06-03

Family

ID=90606659

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2022153959A Active JP7687598B2 (en) 2022-09-27 2022-09-27 Section extraction device, section extraction method, and program
JP2025080802A Pending JP2025107446A (en) 2022-09-27 2025-05-13 Section extraction device, section extraction method, and program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2025080802A Pending JP2025107446A (en) 2022-09-27 2025-05-13 Section extraction device, section extraction method, and program

Country Status (1)

Country Link
JP (2) JP7687598B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011154461A (en) 2010-01-26 2011-08-11 Hitachi Ltd Environmental information management system, environmental information management method, and environmental information management program
JP2018116482A (en) 2017-01-18 2018-07-26 株式会社東芝 Distribution management apparatus, distribution management method, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011154461A (en) 2010-01-26 2011-08-11 Hitachi Ltd Environmental information management system, environmental information management method, and environmental information management program
JP2018116482A (en) 2017-01-18 2018-07-26 株式会社東芝 Distribution management apparatus, distribution management method, and program

Also Published As

Publication number Publication date
JP2025107446A (en) 2025-07-17
JP2024048095A (en) 2024-04-08

Similar Documents

Publication Publication Date Title
US10685363B2 (en) System, method and computer program for forecasting residual values of a durable good over time
CN110223021A (en) Using the system and method for the automated laboratory handling of goods and materials of RFID technique
JP2011232950A (en) Demand prediction device, demand prediction method and demand prediction program
WO2014055907A1 (en) Systems and methods for determining a fair price range for commodities
JP2010231629A (en) Store management device
EP2960848A1 (en) Demand prediction apparatus and demand prediction method by the same
JP7687598B2 (en) Section extraction device, section extraction method, and program
Saeed Osman Modeling and simulation for inventory management of repairable items in maintenance systems
JP7700798B2 (en) Information processing device, location information providing method, and program
Budiono et al. Used car price prediction model: a machine learning approach
JP7463480B2 (en) Information processing device, information processing method, and computer program
JP5781555B2 (en) Data editing apparatus and program
JP3259676B2 (en) Apparatus and method for predicting a product order date, and a computer-readable recording medium storing a program for the method
JP5308927B2 (en) Device information management apparatus and method
JP3966378B2 (en) Computer system for point management and customer management, point management and customer management method, program for point management and customer management method, and storage medium storing program for point management and customer management method
JP2014052685A (en) Data editing device and program
JP2023110079A (en) Apparatus, method and program
JP2003187051A (en) Management plan support device
JP5714037B2 (en) Data editing apparatus and program
JP5844293B2 (en) Data editing apparatus and program
US11257101B2 (en) System, method and computer program for improved forecasting residual values of a durable good over time
JP4382800B2 (en) Sales information processing apparatus, sales information processing method and program
CN114078027A (en) Information processing apparatus, information processing system, and information processing method
JP2015052890A (en) Demand prediction apparatus and program
JP7468883B2 (en) Transportation plan creation device, transportation plan creation method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240329

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20241210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20241211

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20250210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250314

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: 20250422

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250513

R150 Certificate of patent or registration of utility model

Ref document number: 7687598

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150