JP7715328B2 - Information processing method, program, storage medium, and information processing device - Google Patents
Information processing method, program, storage medium, and information processing deviceInfo
- Publication number
- JP7715328B2 JP7715328B2 JP2021072665A JP2021072665A JP7715328B2 JP 7715328 B2 JP7715328 B2 JP 7715328B2 JP 2021072665 A JP2021072665 A JP 2021072665A JP 2021072665 A JP2021072665 A JP 2021072665A JP 7715328 B2 JP7715328 B2 JP 7715328B2
- Authority
- JP
- Japan
- Prior art keywords
- behavior
- history
- information processing
- proximity
- stays
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
本発明は、情報処理方法、プログラム、記憶媒体及び情報処理装置に関する。
The present invention relates to an information processing method, a program, a storage medium , and an information processing device.
従来、人の行動を含むデータから行動履歴を抽出して、当該行動履歴を分析することが行われている。行動履歴の分析結果は、例えば商品やサービスのマーケティング、レコメンデーション、あるいは交通計画など、多様な目的のために用いられる。 Traditionally, behavioral history is extracted from data containing human behavior and then analyzed. The results of analyzing behavioral history are used for a variety of purposes, such as product and service marketing, recommendations, and transportation planning.
上述した行動履歴の分析方法の一例として、例えば特許文献1には、非接触型交通系ICカードあるいは同等の機能を持つ携帯端末の利用履歴に基づいて、利用者の行動傾向を分析する方法が開示されている。具体的には、上記利用履歴に基づき、駅の利用頻度、駅の滞在時間、駅構内や駅周辺で利用した店舗が娯楽性のある店舗か利便性のある店舗かという利用傾向を算出し、その指標値により駅の利用者を特徴付けて分類する。そして、利用者の分類結果に基づいて、駅構内や駅周辺における購買行動を対象としたリコメンデーションなどの情報提供を行う。 As an example of a method for analyzing the above-mentioned behavioral history, Patent Document 1 discloses a method for analyzing user behavioral trends based on the usage history of a contactless transportation IC card or a mobile device with equivalent functionality. Specifically, based on the usage history, usage trends such as frequency of station use, length of stay at the station, and whether stores visited within or around the station are entertainment-oriented or convenient are calculated, and station users are characterized and classified using these index values. Then, based on the user classification results, information such as recommendations targeted at purchasing behavior within or around the station is provided.
ここで、本発明者らが鋭意検討した結果、行動履歴の分析には、一連の行動履歴を所定の行動遷移パターンに分類することが、上述した多様な目的を達成するために有用であることを見出した。しかしながら、例えば従来文献1に開示された方法のような従来の行動分析方法は、かかる分類については考慮されておらず、改善の余地がある。 After extensive research, the inventors discovered that classifying a series of behavioral histories into predetermined behavioral transition patterns is useful for achieving the various objectives mentioned above. However, conventional behavioral analysis methods, such as the method disclosed in Reference 1, do not take such classification into consideration, and there is room for improvement.
本発明は、かかる点に鑑みてなされたものであり、人の行動履歴を適切に分析することを目的とする。 The present invention was made in light of these issues and aims to appropriately analyze a person's behavioral history.
前記の目的を達成するため、本発明の情報処理方法は、情報処理装置が、人の行動を含むデータから、個人を識別する識別子毎に、前記行動の開始から終了までの時間的に連続する行動履歴を抽出する抽出工程と、前記行動履歴をベクトル化して、ベクトル空間にマッピングするマッピング工程と、前記マッピングされた前記行動履歴を用いて、前記行動履歴において時間的に最初の前記行動と最後の前記行動の近さと、前記行動履歴における滞在数の一方又は両方を算出する算出工程と、前記近さと前記滞在数の一方又は両方に基づいて、前記行動履歴を行動遷移パターンに分類する分類工程と、を実行することを特徴としている。
また、本発明の情報処理方法は、情報処理装置が、人の行動を含むデータから、個人を識別する識別子毎に、前記行動の開始から終了までの時間的に連続する行動履歴を抽出する抽出工程と、前記行動履歴を地理空間にマッピングするマッピング工程と、前記マッピングされた前記行動履歴を用いて、前記行動履歴において時間的に最初の前記行動と最後の前記行動の近さと、前記行動履歴における滞在数の一方又は両方を算出する算出工程と、前記近さと前記滞在数の一方又は両方に基づいて、前記行動履歴を行動遷移パターンに分類する分類工程と、を実行することを特徴としている。
In order to achieve the above-mentioned object, the information processing method of the present invention is characterized in that an information processing device executes the following steps: an extraction step in which, from data including human behavior, an extraction of a temporally continuous behavioral history from the start to the end of the behavior for each identifier that identifies an individual; a mapping step in which the behavioral history is vectorized and mapped into a vector space ; a calculation step in which, using the mapped behavioral history, the temporal proximity between the first and last behaviors in the behavioral history and/or the number of stays in the behavioral history are calculated; and a classification step in which the behavioral history is classified into behavioral transition patterns based on the proximity and/or the number of stays .
In addition, the information processing method of the present invention is characterized in that an information processing device executes the following steps: an extraction step in which, from data including human behavior, an extraction history of a temporally continuous behavior from the start to the end of the behavior for each identifier that identifies an individual; a mapping step in which the behavior history is mapped to a geographical space; a calculation step in which, using the mapped behavior history, the proximity of the first behavior to the last behavior in terms of time in the behavior history and/or the number of stays in the behavior history are calculated; and a classification step in which the behavior history is classified into behavior transition patterns based on the proximity and/or the number of stays.
前記情報処理方法では、前記算出工程において、前記近さと前記滞在数の両方を算出し、前記分類工程において、前記近さと前記滞在数に基づいて、前記行動履歴を形状により行動遷移パターンに分類してもよい。なお、形状は、行動履歴を地理空間又はベクトル空間上にマッピングし、そのマッピングした行動履歴間を線で結ぶことにより形成されるものである。 In the information processing method, the calculation step may calculate both the proximity and the number of stays, and the classification step may classify the behavior history into behavior transition patterns by shape based on the proximity and the number of stays. Note that the shape is formed by mapping the behavior history onto a geographic space or vector space and connecting the mapped behavior history with lines.
前記情報処理方法では、前記算出工程において、前記最初の行動と前記最後の行動が行われた位置の物理的な距離を前記近さとして算出してもよい。あるいは、前記算出工程において、前記算出工程において、前記最初の行動と前記最後の行動の類似度を前記近さとして算出してもよい。 In the information processing method, the calculation step may calculate the proximity as the physical distance between the locations where the first action and the last action were performed. Alternatively, the calculation step may calculate the proximity as the similarity between the first action and the last action.
前記情報処理方法において、前記算出工程は、時間的に連続する2つの前記行動の近さと、当該2つの行動間の時間の一方又は両方を算出する工程と、前記2つの行動の近さと前記2つの行動間の時間の一方又は両方に基づいて、前記2つの行動間を滞在と移動に判定する工程と、前記滞在の数を算出する工程と、を有していてもよい。あるいは、前記算出工程において、前記行動履歴における前記行動の数を前記滞在数として算出してもよい。 In the information processing method, the calculation step may include a step of calculating the proximity of two temporally consecutive actions and/or the time between the two actions, a step of determining whether the two actions are a stay or a movement based on the proximity of the two actions and/or the time between the two actions, and a step of calculating the number of stays. Alternatively, in the calculation step, the number of actions in the action history may be calculated as the number of stays.
前記情報処理方法において、前記データは、前記行動を行った人の識別情報を含んでいてもよい。 In the information processing method, the data may include identification information of the person who performed the action.
前記情報処理方法において、前記データは、交通系ICカード又は携帯端末から取得されたデータを含んでいてもよい。 In the information processing method, the data may include data obtained from a transportation IC card or a mobile terminal.
また別な観点による本発明によれば、前記情報処理方法を情報処理装置によって実行させるためのプログラムが提供される。
According to another aspect of the present invention, there is provided a program for causing an information processing device to execute the information processing method.
さらに別な観点による本発明によれば、前記プログラムを格納したコンピュータが読み取り可能な記憶媒体が提供される。
According to yet another aspect of the present invention, there is provided a computer-readable storage medium storing the program.
また別な観点による本発明は、情報処理装置であって、前記情報処理装置の制御を行うためのプログラムを格納する記憶部と、前記プログラムに従って前記情報処理装置の制御を行う演算部と、人の行動を含むデータから、個人を識別する識別子毎に、前記行動の開始から終了までの時間的に連続する行動履歴を抽出する抽出部と、前記行動履歴をベクトル化して、ベクトル空間にマッピングするマッピング部と、前記マッピングされた前記行動履歴を用いて、前記行動履歴において時間的に最初の前記行動と最後の前記行動の近さと、前記行動履歴における滞在数の一方又は両方を算出する算出部と、前記近さと前記滞在数の一方又は両方に基づいて、前記行動履歴を行動遷移パターンに分類する分類部と、を有することを特徴としている。
また、本発明は、情報処理装置であって、前記情報処理装置の制御を行うためのプログラムを格納する記憶部と、前記プログラムに従って前記情報処理装置の制御を行う演算部と、人の行動を含むデータから、個人を識別する識別子毎に、前記行動の開始から終了までの時間的に連続する行動履歴を抽出する抽出部と、前記行動履歴を地理空間にマッピングするマッピング部と、前記マッピングされた前記行動履歴を用いて、前記行動履歴において時間的に最初の前記行動と最後の前記行動の近さと、前記行動履歴における滞在数の一方又は両方を算出する算出部と、前記近さと前記滞在数の一方又は両方に基づいて、前記行動履歴を行動遷移パターンに分類する分類部と、を有することを特徴としている。
From another perspective, the present invention is an information processing device comprising: a memory unit that stores a program for controlling the information processing device; a calculation unit that controls the information processing device in accordance with the program ; an extraction unit that extracts, from data including human behavior, a temporally continuous behavioral history from the start to the end of the behavior for each identifier that identifies an individual; a mapping unit that vectorizes the behavioral history and maps it into a vector space; a calculation unit that uses the mapped behavioral history to calculate one or both of the proximity between the first behavior and the last behavior in the behavioral history and the number of stays in the behavioral history; and a classification unit that classifies the behavioral history into behavior transition patterns based on one or both of the proximity and the number of stays.
The present invention is also characterized by an information processing device comprising: a memory unit that stores a program for controlling the information processing device; a calculation unit that controls the information processing device in accordance with the program; an extraction unit that extracts, from data including human behavior, a temporally continuous behavioral history from the start to the end of the behavior for each identifier that identifies an individual; a mapping unit that maps the behavioral history into geographic space; a calculation unit that uses the mapped behavioral history to calculate one or both of the proximity between the first behavior and the last behavior in the behavioral history and the number of stays in the behavioral history; and a classification unit that classifies the behavioral history into behavior transition patterns based on one or both of the proximity and the number of stays.
前記情報処理装置において、前記算出部は、前記近さと前記滞在数の両方を算出し、前記分類部は、前記近さと前記滞在数に基づいて、前記行動履歴を形状により行動遷移パターンに分類してもよい。なお、形状は、行動履歴を地理空間又はベクトル空間上にマッピングし、そのマッピングした行動履歴間を線で結ぶことにより形成されるものである。 In the information processing device, the calculation unit may calculate both the proximity and the number of stays, and the classification unit may classify the behavior history into behavior transition patterns by shape based on the proximity and the number of stays. Note that the shape is formed by mapping the behavior history onto a geographic space or vector space and connecting the mapped behavior histories with lines.
前記情報処理装置において、前記算出部は、前記最初の行動と前記最後の行動が行われた位置の物理的な距離を前記近さとして算出してもよい。あるいは、前記算出部は、前記最初の行動と前記最後の行動の類似度を前記近さとして算出してもよい。 In the information processing device, the calculation unit may calculate the proximity as the physical distance between the locations where the first action and the last action were performed. Alternatively, the calculation unit may calculate the proximity as the similarity between the first action and the last action.
前記情報処理装置において、前記算出部は、時間的に連続する2つの前記行動の近さと、当該2つの行動間の時間の一方又は両方を算出し、前記2つの行動の近さと前記2つの行動間の時間の一方又は両方に基づいて、前記2つの行動間を滞在と移動に判定し、前記滞在の数を算出してもよい。あるいは、前記算出部は、前記行動履歴における前記行動の数を前記滞在数として算出してもよい。 In the information processing device, the calculation unit may calculate one or both of the proximity between two consecutive actions in time and the time between the two actions, and determine whether the two actions are a stay or a movement based on one or both of the proximity between the two actions and the time between the two actions, and calculate the number of stays. Alternatively, the calculation unit may calculate the number of actions in the action history as the number of stays.
前記情報処理装置において、前記データは、前記行動を行った人の識別情報を含んでいてもよい。 In the information processing device, the data may include identification information of the person who performed the action.
前記情報処理装置において、前記データは、交通系ICカード又は携帯端末から取得されたデータを含んでいてもよい。 In the information processing device, the data may include data acquired from a transportation IC card or a mobile terminal.
本発明によれば、人の行動履歴を行動遷移パターンに分類するので、当該行動履歴を適切に分析することができる。その結果、例えば商品やサービスのマーケティングやレコメンデーション、イベント計画、交通計画など、多様な目的に分析結果を用いることができる。 This invention classifies a person's behavioral history into behavioral transition patterns, allowing for appropriate analysis of that behavioral history. As a result, the analysis results can be used for a variety of purposes, such as product and service marketing and recommendations, event planning, and transportation planning.
以下、本発明の実施形態について図面を参照して説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。 Embodiments of the present invention will be described below with reference to the drawings. Note that in this specification and drawings, components having substantially the same functional configuration will be assigned the same reference numerals, and redundant description will be omitted.
<情報処理システム1の構成>
図1は、本実施形態にかかる情報処理システム1の構成の概略を示す説明図である。
<Configuration of Information Processing System 1>
FIG. 1 is an explanatory diagram showing an outline of the configuration of an information processing system 1 according to this embodiment.
情報処理システム1は、データベース装置10と情報処理装置20を有している。データベース装置10と情報処理装置20は、ネットワーク30を介して接続可能に構成されている。ネットワーク30は、通信を行うことができるものであれば特に限定されるものではないが、例えばインターネットや有線LAN、無線LANなどが用いられる。なお、本実施形態においては説明を簡略化するためにデータベース装置10を一台のみ図示しているが、情報処理システム1には複数のデータベース装置10が含まれる。 The information processing system 1 has a database device 10 and an information processing device 20. The database device 10 and the information processing device 20 are configured to be connectable via a network 30. The network 30 is not particularly limited as long as it allows communication, but examples of the network include the Internet, a wired LAN, and a wireless LAN. Note that in this embodiment, only one database device 10 is shown to simplify the explanation, but the information processing system 1 includes multiple database devices 10.
(データベース装置10の構成)
データベース装置10は、演算部11、記憶部12、及び通信部13を有している。
(Configuration of database device 10)
The database device 10 includes a calculation unit 11 , a storage unit 12 , and a communication unit 13 .
演算部11は、回路(ハードウェア)又はCPUなどの中央演算処理部である。演算部11は、記憶部12に格納されたプログラム(ソフトウェア)に従って、データベース装置10の制御を行う。 The calculation unit 11 is a circuit (hardware) or a central processing unit such as a CPU. The calculation unit 11 controls the database device 10 in accordance with a program (software) stored in the memory unit 12.
記憶部12は、情報処理装置20に出力するデータのデータベースを格納する。このデータには、人の行動を含むデータ(以下、「行動履歴データ」という場合がある。)が含まれる。行動履歴データには、人の行動に加えて、当該人の識別情報も含まれる。 The memory unit 12 stores a database of data to be output to the information processing device 20. This data includes data containing people's behavior (hereinafter sometimes referred to as "behavior history data"). In addition to people's behavior, the behavior history data also includes identification information of the people.
人の識別情報は、個人と個人を識別できる識別子であって、例えばユーザIDを含む。なお、識別子は、ユーザIDに加えて、他の因子、例えば日時や場所を組み合わせたものであってもよい。例えば1月1日の甲と1月2日の甲を、別の個人として扱って別の識別子を付与してもよい。また、人の識別情報は、個人に紐づけられた属性情報(例えば年齢、性別など)を含んでいてもよい。 A person's identification information is an identifier that can identify one individual from another, and includes, for example, a user ID. Note that the identifier may also be a combination of other factors in addition to the user ID, such as date, time, or location. For example, Person A on January 1st and Person A on January 2nd may be treated as different individuals and assigned different identifiers. A person's identification information may also include attribute information linked to the individual (for example, age, gender, etc.).
行動履歴データは、換言すれば、個人が意志を持って行った行動を含むデータ(トランザクションデータ)であり、当該個人に紐づけられている。また、行動履歴データは時間軸上の点で表される行動を含み、これら時間的に連続する一連の行動が行動履歴を構成する。なお、行動履歴データの種別は、特に限定されるものではなく、種々のデータを含む。 In other words, behavioral history data is data (transaction data) that includes actions that an individual intentionally performs, and is linked to that individual. Furthermore, behavioral history data includes actions represented by points on a time axis, and a series of these temporally consecutive actions constitutes a behavioral history. Note that the type of behavioral history data is not particularly limited, and includes a variety of data.
行動履歴データには、例えば交通系ICカード又は同等の機能を持つ携帯端末(以下、「交通系ICカード」と総称する。)から取得される情報が含まれる。例えば鉄道の駅の改札機やバスなどの交通機関で交通系ICカードを利用すると、その利用履歴がデータベース装置10に送信され、記憶部12に記憶される。また、交通機関以外の例えば駅構内や駅周辺の店舗に設置されているカード読み取り端末、POSレジ端末、自動販売機などで交通系ICカードを利用した場合も同様に、その利用履歴がデータベース装置10に送信され、記憶部12に記憶される。このように利用履歴が記憶される際、交通系ICカードを識別するユーザIDや、交通系ICカードを利用した場所の位置情報も、利用履歴に紐づけられて記憶される。 The behavioral history data includes, for example, information acquired from a transportation IC card or a mobile device with equivalent functionality (hereinafter collectively referred to as a "transportation IC card"). For example, when a transportation IC card is used at a ticket gate at a train station or on a bus or other means of transportation, the usage history is sent to the database device 10 and stored in the memory unit 12. Similarly, when a transportation IC card is used at a card reading terminal, POS register terminal, or vending machine installed in a store outside of a transportation facility, such as inside or around a station, the usage history is sent to the database device 10 and stored in the memory unit 12. When the usage history is stored in this way, the user ID that identifies the transportation IC card and the location information of the location where the transportation IC card was used are also linked to the usage history and stored.
また、行動履歴データには、例えばウェブサイトの操作履歴が含まれる。ウェブサイトの操作履歴には、例えばEC(電子商取引)サイトにおける商品の購買履歴やサービスの利用履歴、ウェブサイトの閲覧履歴などが含まれる。これらウェブサイトの操作履歴が記憶部12に記憶される際、ウェブサイトにおけるユーザIDも操作履歴に紐づけられて記憶される。 The behavioral history data also includes, for example, website operation history. Website operation history includes, for example, product purchase history and service usage history on an EC (electronic commerce) site, and website browsing history. When this website operation history is stored in the memory unit 12, the user ID for the website is also stored in association with the operation history.
さらに、行動履歴データには、例えば小売店などにおける購買データ(POSデータ)、クレジットカードや電子マネーの使用データ、金融機関におけるトランザクションデータ(例えば預け入れや引き出し、決済など)、飲食店における飲食データ、宿泊施設における宿泊データ、音楽・動画サービスやゲームの再生・プレイデータ、ポイントサイトにおけるポイント使用データなどが含まれていてもよい。 Furthermore, behavioral history data may include, for example, purchase data (POS data) at retail stores, credit card and electronic money usage data, transaction data at financial institutions (e.g., deposits, withdrawals, payments, etc.), food and drink data at restaurants, accommodation data at accommodation facilities, playback and play data for music and video services and games, and point usage data at point sites.
また、記憶部12には、データベース装置10の制御を行うための各種プログラムが格納される。 The memory unit 12 also stores various programs for controlling the database device 10.
通信部13は、ネットワーク30との間の通信を媒介する通信インタフェースであり、情報処理装置20とデータ通信を行う。 The communication unit 13 is a communication interface that mediates communication with the network 30 and performs data communication with the information processing device 20.
(情報処理装置20の構成)
情報処理装置20は、演算部21、記憶部22、抽出部23、マッピング部24、算出部25、分類部26、可視化部27、及び通信部28を有している。
(Configuration of information processing device 20)
The information processing device 20 includes a calculation unit 21 , a storage unit 22 , an extraction unit 23 , a mapping unit 24 , a calculation unit 25 , a classification unit 26 , a visualization unit 27 , and a communication unit 28 .
演算部21は、回路(ハードウェア)又はCPUなどの中央演算処理部である。演算部21は、記憶部22に格納されたプログラム(ソフトウェア)に従って、情報処理装置20の制御を行う。 The calculation unit 21 is a circuit (hardware) or a central processing unit such as a CPU. The calculation unit 21 controls the information processing device 20 in accordance with a program (software) stored in the memory unit 22.
記憶部22は、情報処理装置20で処理される各種データを記憶する。例えば記憶部22には、データベース装置10から情報処理装置20に入力された入力データ、抽出部23における抽出結果のデータ、マッピング部24におけるマッピング結果のデータ、算出部25における算出結果のデータ、分類部26における分類結果のデータ、可視化部27において可視化されたデータが記憶される。また、記憶部22には、情報処理装置20の制御を行うための各種プログラムが格納される。 The memory unit 22 stores various data processed by the information processing device 20. For example, the memory unit 22 stores input data input to the information processing device 20 from the database device 10, data resulting from extraction by the extraction unit 23, data resulting from mapping by the mapping unit 24, data resulting from calculation by the calculation unit 25, data resulting from classification by the classification unit 26, and data visualized by the visualization unit 27. The memory unit 22 also stores various programs for controlling the information processing device 20.
抽出部23は、データベース装置10から情報処理装置20に入力された行動履歴データから、行動履歴を抽出する。上述したように行動履歴は個人に紐づけられており、抽出部23は、個人を識別する識別子毎に行動履歴を抽出する。また、抽出する行動履歴は、行動の開始から終了までの時間的に連続する行動履歴である。行動の開始から終了までの時間は、任意に設定できる。例えば、当該時間は1日であってもよく、例えば人の行動が駅への入退場である場合、駅が開いてから閉じるまでの時間であってもよい。また、例えば人の行動が記録されている場合、当該時間は開始レコードから終了レコードまでの時間であってもよい。また、例えば人の行動がECサイトにおける商品の購買履歴やサービスの利用履歴である場合、当該時間はECサイトへのログインからログアウトまでの時間であってもよい。また、当該時間は人が起きてから寝るまでの時間であってもよいし、人が自宅を出てから自宅に帰るまでの時間であってもよい。なお、データベース装置10から入力される生データには不要な情報が含まれている場合があり、抽出部23では、このような不要な情報を除くなどのクレンジング処理も行う。 The extraction unit 23 extracts behavioral history from the behavioral history data input from the database device 10 to the information processing device 20. As described above, behavioral history is linked to individuals, and the extraction unit 23 extracts behavioral history for each identifier that identifies an individual. The extracted behavioral history is a temporally continuous behavioral history from the start to the end of the behavior. The time from the start to the end of the behavior can be set arbitrarily. For example, the time may be one day, or, if the person's behavior is entering and exiting a station, the time may be the time from when the station opens to when it closes. Furthermore, if the person's behavior is recorded, the time may be the time from the start record to the end record. Furthermore, if the person's behavior is a product purchase history or service usage history on an e-commerce site, the time may be the time from when they log in to when they log out of the e-commerce site. Furthermore, the time may be the time from when they wake up to when they go to bed, or the time from when they leave home to when they return home. Note that the raw data input from the database device 10 may contain unnecessary information, and the extraction unit 23 also performs a cleansing process to remove such unnecessary information.
マッピング部24は、抽出部23で抽出された行動履歴をマッピングする。具体的にマッピング部24では、行動履歴をベクトル化して、ベクトル空間にマッピングする。行動履歴のベクトル化では、各行動に含まれる複数のパラメータのうち、処理に必要なパラメータを選択して各行動をベクトル化する。パラメータの選択方法は任意であるが、例えばオペレータによってパラメータが選択されてもよいし、あるいは機械学習によってパラメータが選択されてもよい。ベクトル空間は、物理的に存在する現実空間をベクトルで表現したものであってもよいし、物理的に存在しない仮想空間をベクトルで表現したものであってもよい。例えば、処理対象の行動履歴が交通機関や実店舗などにおける行動である場合、ベクトル空間は現実空間をベクトルで表現したものとなる。一方、例えば処理対象の行動履歴がウェブサイトなどにおける行動である場合、ベクトル空間は仮想空間をベクトルで表現したものとなる。 The mapping unit 24 maps the behavioral history extracted by the extraction unit 23. Specifically, the mapping unit 24 vectorizes the behavioral history and maps it into a vector space. When vectorizing the behavioral history, parameters necessary for processing are selected from the multiple parameters included in each behavior, and each behavior is vectorized. The parameter selection method is arbitrary; for example, the parameters may be selected by an operator or by machine learning. The vector space may be a vector representation of a real space that physically exists, or a vector representation of a virtual space that does not physically exist. For example, if the behavioral history to be processed is behavior on public transportation, in a brick-and-mortar store, etc., the vector space will be a vector representation of the real space. On the other hand, if the behavioral history to be processed is behavior on a website, etc., the vector space will be a vector representation of the virtual space.
なお、各行動においてベクトル化するパラメータは、単一のパラメータであってもよいし、複数のパラメータを次元削減(次元圧縮)したパラメータであってもよい。複数のパラメータを次元削減する場合、複数のパラメータを行列に入力し、例えば主成分分析を行うことで主成分を抽出して、次元を落としたパラメータを生成する。 The parameter to be vectorized for each action may be a single parameter, or a parameter obtained by reducing the dimension of multiple parameters. When reducing the dimension of multiple parameters, the multiple parameters are input into a matrix, and principal components are extracted, for example, by performing principal component analysis, to generate a parameter with reduced dimension.
また、行動履歴データが地理情報と紐づけ可能な場合、マッピング部24は、行動履歴を地理空間にマッピングしてもよい。 Furthermore, if the behavioral history data can be linked to geographic information, the mapping unit 24 may map the behavioral history into geographic space.
算出部25は、行動履歴において時間的に最初の行動と最後の行動の近さ(以下、「始終端行動近さ」という場合がある。)と行動履歴における滞在数の一方又は両方を算出する。 The calculation unit 25 calculates the temporal proximity between the first and last actions in the action history (hereinafter sometimes referred to as "start-end action proximity") and/or the number of stays in the action history.
2つの行動の近さを算出する場合において、例えば処理対象の行動履歴が交通機関や実店舗などにおける行動であって、地理情報と紐づけ可能な場合、算出部25は、2つの行動が行われた位置の物理的な距離を近さとして算出する。物理的な距離は、例えば地理的な直線距離であってもよいし、地理的な経路に沿った距離であってもよい。 When calculating the proximity between two actions, for example, if the action history to be processed is an action on public transportation, in a brick-and-mortar store, or the like, and can be linked to geographic information, the calculation unit 25 calculates the physical distance between the locations where the two actions were performed as the proximity. The physical distance may be, for example, a geographical straight-line distance or a distance along a geographical route.
また、2つの行動の近さを算出する場合において、例えば処理対象の行動履歴がウェブサイトなどにおける行動であって、行動履歴のベクトル化が可能な場合、算出部25は、2つの行動の類似度を近さとして算出する。類似度は任意であるが、例えばコサイン類似度、ユークリッド距離、マンハッタン距離などが例示される。 Furthermore, when calculating the closeness between two actions, for example, if the action history to be processed is an action on a website or the like and the action history can be vectorized, the calculation unit 25 calculates the similarity between the two actions as the closeness. The similarity can be any measure, but examples include cosine similarity, Euclidean distance, and Manhattan distance.
行動履歴における滞在数を算出する場合において、算出部25は、例えば下記(1)~(3)を行う。
(1)時間的に連続する2つの行動の近さと、当該2つの行動間の時間の一方又は両方を算出する。以下、時間的に連続する2つの行動を単に「2つの行動」といい、当該2つの行動の近さを「連続行動近さ」という場合がある。
(2)上記(1)で算出した連続行動近さと2つの行動間の時間(以下、「連続行動時間」という場合がある。)の一方又は両方に基づいて、2つの行動間を滞在と移動に判定する。
(3)上記(2)で判定した滞在の数を滞在数として算出する。
When calculating the number of stays in the behavior history, the calculation unit 25 performs, for example, the following steps (1) to (3).
(1) Calculate the proximity of two temporally consecutive actions and/or the time between the two actions. Hereinafter, two temporally consecutive actions will be simply referred to as "two actions," and the proximity of the two actions will be referred to as "consecutive action proximity."
(2) Based on one or both of the consecutive behavioral proximity calculated in (1) above and the time between the two behaviors (hereinafter sometimes referred to as “consecutive behavioral time”), the two behaviors are determined as a stay or a move.
(3) The number of stays determined in (2) above is calculated as the number of stays.
上記(1)において、連続行動近さの算出方法は、始終端行動近さの算出方法と同様である。すなわち、算出部25は、2つの行動が行われた位置の物理的な距離を連続行動近さとして算出してもよいし、あるいは2つの行動の類似度を連続行動近さとして算出してもよい。 In (1) above, the method for calculating consecutive behavior proximity is the same as the method for calculating start-end behavior proximity. That is, the calculation unit 25 may calculate the physical distance between the locations where two behaviors were performed as consecutive behavior proximity, or may calculate the similarity between the two behaviors as consecutive behavior proximity.
上記(2)において、2つの行動間を滞在と移動に判定する場合、当該2つの行動間は、時間的に連続する2つの行動の間における人の状態を含む。滞在は、ベクトル空間において2つの行動間で人が留まっている状態を示す。一方、ベクトル空間において2つの行動間で人が移動している状態を示す。なお、第1の実施形態では、上記(2)を算出部25で行うが、分類部26で行ってもよい。 In (2) above, when determining whether a period between two actions is a stay or a move, the period between the two actions includes the state of a person between two actions that are consecutive in time. A stay indicates a state in which a person remains still between two actions in vector space. On the other hand, a stay indicates a state in which a person moves between two actions in vector space. In the first embodiment, (2) above is performed by the calculation unit 25, but it may also be performed by the classification unit 26.
上記(1)で連続行動近さを算出する場合、上記(2)において、算出部25は、算出された連続行動近さと、予め設定された閾値とを比較して、2つの行動間を滞在と移動に判定する。例えば算出された連続行動近さが閾値未満の場合、2つの行動間は滞在と判定され、算出された連続行動近さが閾値以上場合、2つの行動間は移動と判定される。 When the consecutive action proximity is calculated in (1) above, in (2) above, the calculation unit 25 compares the calculated consecutive action proximity with a preset threshold and determines whether the two actions are a stay or a movement. For example, if the calculated consecutive action proximity is less than the threshold, the two actions are determined to be a stay, and if the calculated consecutive action proximity is equal to or greater than the threshold, the two actions are determined to be a movement.
上記(1)で連続行動時間を算出する場合、上記(2)において、算出部25は、算出された時間と、予め設定された閾値とを比較して、2つの行動間を滞在と移動に判定する。例えば算出された連続行動時間が閾値未満の場合、2つの行動間は滞在と判定され、算出された連続行動時間が閾値以上の場合、2つの行動間は移動と判定される。 When the continuous action time is calculated in (1) above, in (2) above, the calculation unit 25 compares the calculated time with a preset threshold and determines whether the two actions are a stay or a move. For example, if the calculated continuous action time is less than the threshold, the two actions are determined to be a stay, and if the calculated continuous action time is equal to or greater than the threshold, the two actions are determined to be a move.
上記(1)で連続行動近さと連続行動時間を算出する場合、上記(2)において、算出部25は、先ず、算出された連続行動近さと連続行動時間から連続行動近さの時間微分を導出する。連続行動近さが距離の場合、連続行動近さの時間微分は速度となり、連続行動近さが角度の場合、連続行動近さの時間微分は角速度となる。そして算出部25は、導出された連続行動近さの時間微分と、予め設定された閾値とを比較して、2つの行動間を滞在と移動に判定する。例えば導出された連続行動近さの時間微分が閾値未満の場合、2つの行動間は滞在と判定され、導出された連続行動近さの時間微分が閾値以上の場合、2つの行動間は移動と判定される。 When calculating the continuous action proximity and continuous action time in (1) above, in (2) above, the calculation unit 25 first derives the time derivative of the continuous action proximity from the calculated continuous action proximity and continuous action time. If the continuous action proximity is distance, the time derivative of the continuous action proximity is velocity, and if the continuous action proximity is angle, the time derivative of the continuous action proximity is angular velocity. The calculation unit 25 then compares the derived time derivative of the continuous action proximity with a preset threshold to determine whether the two actions are a stay or a move. For example, if the derived time derivative of the continuous action proximity is less than the threshold, the two actions are determined to be a stay, and if the derived time derivative of the continuous action proximity is equal to or greater than the threshold, the two actions are determined to be a move.
また、行動履歴における滞在数を算出する場合において、算出部25は、例えば行動履歴における行動の数を滞在数とする。すなわち、例えば商品を購買する場合など、人の行動が直接滞在を示すものであれば、この人の行動の数が滞在数となる。 Furthermore, when calculating the number of stays in the behavioral history, the calculation unit 25 uses, for example, the number of actions in the behavioral history as the number of stays. In other words, if a person's actions directly indicate a stay, such as when purchasing a product, the number of actions of this person becomes the number of stays.
以上のように算出部25で算出する滞在数は、時間的に連続する2つの行動間の滞在の数である場合や、人の行動の数である場合などである。すなわち、滞在数は、行動履歴における人の滞在数である。 As described above, the number of stays calculated by the calculation unit 25 may be the number of stays between two temporally consecutive actions, or the number of actions taken by a person. In other words, the number of stays is the number of stays by a person in the action history.
分類部26は、算出部25で算出された始終端行動近さと滞在数の一方又は両方に基づいて、行動履歴を行動遷移パターンに分類する。行動遷移パターンは、人が行動を始めてから行動を終えるまでの一連の行動履歴を所定のパターンに分類したものである。 The classification unit 26 classifies the behavior history into behavior transition patterns based on one or both of the start/end behavior proximity and the number of stays calculated by the calculation unit 25. A behavior transition pattern is a classification of a series of behavioral histories from when a person starts an action to when they finish the action into a predetermined pattern.
算出部25において始終端行動近さと滞在数の両方を算出する場合、分類部26は、当該始終端行動近さと滞在数に基づいて、行動履歴を形状により行動遷移パターンに分類する。具体的に分類部26では、行動を開始した場所、行動を終了した場所、及び滞在した場所を「点」としてとらえ、その点と点を「線」でつないで形状を導出する。換言すれば、形状は、行動履歴を地理空間又はベクトル空間上にマッピングし、そのマッピングした行動履歴間を線で結ぶことにより形成されるものである。 When the calculation unit 25 calculates both the start/end behavior proximity and the number of stays, the classification unit 26 classifies the behavior history into behavior transition patterns by shape based on the start/end behavior proximity and the number of stays. Specifically, the classification unit 26 regards the locations where the behavior started, the location where the behavior ended, and the locations where the behavior occurred as "points," and derives the shape by connecting these points with "lines." In other words, the shape is formed by mapping the behavior history onto a geographic space or vector space and connecting the mapped behavior histories with lines.
可視化部27は、分類部26において分類した行動遷移パターンを可視化する。 The visualization unit 27 visualizes the behavioral transition patterns classified by the classification unit 26.
通信部28は、ネットワーク30との間の通信を媒介し、データベース装置10とデータ通信を行う。 The communication unit 28 mediates communication with the network 30 and performs data communication with the database device 10.
なお、本実施形態の情報処理装置20では、上記プログラムは記憶部22に格納されたが、例えばコンピュータ読み取り可能なハードディスクドライブ(HDD)、ソリッドステートドライブ(SSD)、フレキシブルディスク(FD)、コンパクトディスク(CD)、マグネットオプティカルデスク(MO)、各種メモリなどのコンピュータに読み取り可能な記憶媒体に格納されてもよい。また、上記プログラムは、インターネットなどの通信回線網を介してダウンロードすることにより、上記記憶媒体などに格納することができる。 In the information processing device 20 of this embodiment, the program is stored in the storage unit 22, but it may also be stored in a computer-readable storage medium such as a computer-readable hard disk drive (HDD), solid-state drive (SSD), flexible disk (FD), compact disk (CD), magnetic optical disk (MO), or various types of memory. The program can also be stored in the storage medium by downloading it via a communication network such as the Internet.
<情報処理方法>
次に、以上のように構成された情報処理システム1を用いて行われる情報処理方法について説明する。以下においては、4つの具体的な事例を含む実施形態を用いて、本発明の情報処理方法について説明する。
<Information processing method>
Next, a description will be given of an information processing method performed using the information processing system 1 configured as above. In the following, the information processing method of the present invention will be described using an embodiment including four specific examples.
(第1の実施形態)
第1の実施形態にかかる情報処理方法について説明する。図2は、第1の実施形態にかかる情報処理方法の主な工程を示すフロー図である。第1の実施形態では、処理対象の行動履歴データが、駅の改札機で交通系ICカードが利用された際の利用履歴を含むデータである場合について説明する。
(First embodiment)
An information processing method according to a first embodiment will be described. Fig. 2 is a flow diagram showing main steps of the information processing method according to the first embodiment. In the first embodiment, a case will be described in which the behavior history data to be processed includes a usage history when a transportation IC card is used at a ticket gate in a station.
[S11:記憶工程]
先ず、駅の改札機で交通系ICカードが利用されると、その利用履歴がデータベース装置10に送信され、記憶部12に記憶される。記憶部12に記憶された行動履歴データは、ネットワーク30を介して情報処理装置20に入力され、記憶部22に記憶される。
[S11: Storage process]
First, when a transportation IC card is used at a ticket gate at a station, the usage history is transmitted to the database device 10 and stored in the memory unit 12. The behavior history data stored in the memory unit 12 is input to the information processing device 20 via the network 30 and stored in the memory unit 22.
図3は、行動履歴データの一例を示す表である。行動履歴データは、例えばユーザID、日時、駅、入出場を含み、これらが時系列に並べられている。また、記憶部22には、図4に示す駅のマスタデータも記憶される。駅のマスタデータは、駅の地理情報、すなわち緯度及び経度を含む。 Figure 3 is a table showing an example of behavioral history data. The behavioral history data includes, for example, user ID, date and time, station, and entry and exit, which are arranged in chronological order. The memory unit 22 also stores station master data shown in Figure 4. The station master data includes geographic information about the station, i.e., latitude and longitude.
[S12:抽出工程]
次に、抽出部23において、工程S11で記憶部12に記憶された行動履歴データから行動履歴を抽出する。工程S12では、図5に示すように識別子毎に行動履歴を抽出する。第1の実施形態の識別子は、ユーザIDと日付を組み合わせたものである。例えば、ユーザIDが0004は2020年4月2日と4月3日に行動を行っているが、識別子はそれぞれ「0004_20200402」と「0004_20200403」で別の識別子が付与される。また、工程S12において、抽出する行動履歴は、行動の開始から終了までの時間的に連続する行動履歴である。例えば、識別子「0001_20200401」では、10時54分が行動の開始で14時33分が行動の終了である。
[S12: Extraction step]
Next, the extraction unit 23 extracts behavioral history from the behavioral history data stored in the storage unit 12 in step S11. In step S12, behavioral history is extracted for each identifier, as shown in FIG. 5 . In the first embodiment, the identifier is a combination of a user ID and a date. For example, a user with a user ID of 0004 performed an action on April 2 and April 3, 2020, and the identifiers are "0004_20200402" and "0004_20200403," respectively. Furthermore, the behavioral history extracted in step S12 is a temporally continuous behavioral history from the start to the end of the action. For example, for the identifier "0001_20200401," the start of the action is 10:54 and the end of the action is 14:33.
[S13:マッピング工程]
次に、マッピング部24において、工程S12で抽出された行動履歴を地理空間にマッピングする。工程S13では、図6に示すように、図5の行動履歴の駅に対して、図4の駅マスタデータの駅の地理情報(緯度及び経度)が紐づけられる。かかる場合、行動履歴に地理情報が紐づけられるので、行動履歴が地理空間にマッピングされる。
[S13: Mapping step]
Next, the mapping unit 24 maps the behavior history extracted in step S12 into geographic space. In step S13, as shown in Fig. 6, the stations in the behavior history in Fig. 5 are linked with the geographic information (latitude and longitude) of the stations in the station master data in Fig. 4. In this case, the behavior history is linked with the geographic information, and therefore the behavior history is mapped into geographic space.
なお、工程S12と工程S13は、順序が逆であってもよい。すなわち、行動履歴に地理情報を紐づけて、当該行動履歴を地理空間にマッピングした後、識別子を付与してもよい。 Note that steps S12 and S13 may be performed in reverse order. That is, the behavioral history may be linked to geographical information, and the behavioral history may be mapped to geographic space, after which an identifier may be assigned.
[S14:算出工程]
次に、算出部25において、工程S13でマッピングされた行動履歴を用いて、行動履歴において時間的に最初の行動と最後の行動の近さを算出する。工程S14では、先ず、図7に示すように識別子毎に、連続する2つの行動を要素とするベクトルを生成する。以下、連続する2つの行動において、前の行動を「前行動」といい、後の行動を「後行動」という。そして、前行動と後行動の要素には、時間、駅、入出場、駅の地理情報が含まれる。次に、2つの行動の近さである連続行動近さとして、識別子毎に、前行動の駅の地理情報(緯度及び経度)と後行動の駅の地理情報を用いて、これら前後行動の駅間距離を算出する。なお、第1の実施形態においては前後行動の駅の直線距離を算出したが、地理的な経路に沿った距離を算出してもよい。次に、識別子毎に、上記距離の総和を算出する。そして、図8に示すように識別子毎に、最初の行動と最後の行動の近さである始終端行動近さとして、最初の行動の駅(最初駅)と最後の行動の駅(最後駅)の距離を算出する。
[S14: Calculation step]
Next, the calculation unit 25 calculates the temporal proximity between the first and last actions in the action history using the action history mapped in step S13. In step S14, first, as shown in FIG. 7, a vector is generated for each identifier, with elements each consisting of two consecutive actions. Hereinafter, the earlier action in the two consecutive actions is referred to as the "previous action" and the later action is referred to as the "later action." The elements of the previous action and the later action include time, station, entry/exit, and geographic information of the station. Next, as the consecutive action proximity, which is the proximity between the two actions, the distance between the stations of the previous and subsequent actions is calculated for each identifier using the geographic information (latitude and longitude) of the station of the previous action and the geographic information of the station of the later action. Note that, although the first embodiment calculates the straight-line distance between the stations of the previous and subsequent actions, the distance along a geographical route may also be calculated. Next, the sum of the above distances is calculated for each identifier. Then, as shown in FIG. 8, for each identifier, the distance between the station of the first action (first station) and the station of the last action (last station) is calculated as start-end action closeness, which is the closeness between the first action and the last action.
[S15:分類工程]
次に、分類部26において、工程S14で算出された始終端行動近さに基づいて、行動履歴を行動遷移パターンに分類する。工程S15では、図9に示すように、始終端行動近さに基づいて、最初駅と最後駅が同一か否かを判定する。
[S15: Classification process]
Next, the classification unit 26 classifies the behavior history into behavior transition patterns based on the start-end behavior proximity calculated in step S14. In step S15, as shown in Figure 9, it is determined whether the first station and the last station are the same based on the start-end behavior proximity.
最初駅と最後駅が異なる駅であった場合、当該識別子の行動遷移パターンは、「片道パターン」であると判定される。図10(a)に示すように片道パターンは、最初駅から最後駅まで移動し、最初駅に戻らないパターンである。 If the first and last stations are different stations, the behavioral transition pattern for that identifier is determined to be a "one-way pattern." As shown in Figure 10(a), a one-way pattern is a pattern in which the user travels from the first station to the last station without returning to the first station.
一方、最初駅と最後駅が同一の駅であった場合、当該識別子の行動遷移パターンは、「往復パターン」又は「周遊パターン」であると判定される。図10(b)に示すように往復パターンは、最初駅(出発地)から最後駅(目的地)へ移動し、さらに最初駅に戻るパターンである。図10(c)に示すように周遊パターンは、最初駅から最後駅まで移動するに際し、複数の駅(目的)を経由して、より詳細には複数の駅で入退場するパターンである。 On the other hand, if the first and last stations are the same station, the behavioral transition pattern for that identifier is determined to be a "round trip pattern" or a "round trip pattern." As shown in Figure 10(b), a round trip pattern is a pattern in which you travel from the first station (departure) to the last station (destination) and then return to the first station. As shown in Figure 10(c), a round trip pattern is a pattern in which you travel from the first station to the last station via multiple stations (destinations), and more specifically, enter and exit multiple stations.
以上の第1の実施形態によれば、工程S15において行動履歴を行動遷移パターンに分類するので、各駅の利用実態及び人の流動を適切に把握することができる。例えば、旅客の移動において、出発地に帰着する交通の利用と、移動を目的とした(出発地に帰着しない)交通の利用とを分別することにより、旅客の移動の目的の仮定や、その旅客数の集計を行うことができる。そして、このように人の行動履歴を適切に分析することができるので、例えば商品やサービスのマーケティングやレコメンデーション、イベント計画、交通計画など、多様な目的に分析結果を用いることができる。 According to the first embodiment described above, behavioral history is classified into behavioral transition patterns in step S15, making it possible to appropriately understand the actual usage of each station and the flow of people. For example, when passengers travel, by distinguishing between use of transportation that returns to the departure point and use of transportation for the purpose of travel (not returning to the departure point), it is possible to hypothesize the purpose of passenger travel and tally the number of passengers. Furthermore, because people's behavioral history can be appropriately analyzed in this way, the analysis results can be used for a variety of purposes, such as product and service marketing and recommendations, event planning, and transportation planning.
ここで従来、OD(Origin:出発地、Destination:目的地)データを用いて人の流動を分析することが行われている。しかしながら、第1の実施形態のように駅に入場してから出場するまでのデータ(上記ODデータ)に加えて、駅を出場してから入場するまでのデータも用いて分析することは、従来行われていない。そして、第1の実施形態によればこのように行動履歴を行動遷移パターンに分類することで、従来よりも人の行動履歴を適切に分析することが可能になる。 Here, conventionally, OD (Origin: point of departure, Destination: destination) data has been used to analyze the flow of people. However, analysis using data from leaving a station to entering, in addition to data from entering to exiting the station (the OD data) as in the first embodiment, has not been done before. And according to the first embodiment, by classifying behavioral history into behavioral transition patterns in this way, it becomes possible to analyze people's behavioral history more appropriately than before.
また従来、例えば特許文献1に記載されているように、交通系ICカードの利用履歴に基づいて、駅構内や駅周辺における利用傾向を分析することは行われている。一方、第1の実施形態では、駅を出場してから入場するまでのデータも用いて、行動遷移パターンを分析することで、駅間のエリアを含み、駅周辺より広いエリアにおける滞在と移動を把握することができる。かかる観点からも、第1の実施形態によれば、従来よりも人の行動履歴を適切に分析することができる。 In addition, as described in Patent Document 1, for example, it has been common to analyze usage trends within and around train stations based on the usage history of transportation IC cards. However, in the first embodiment, by analyzing behavioral transition patterns using data from the time a person leaves a station until the time they enter, it is possible to understand stays and movements in an area wider than the area around the station, including the area between stations. From this perspective, the first embodiment makes it possible to analyze people's behavioral history more appropriately than in the past.
また、第1の実施形態では、識別子毎に行動履歴を行動遷移パターンに分類する。このように識別子単位で行動履歴を集計して分析することにより、交通系ICカードに記録されている多大な情報を過度に圧縮することを抑制でき、すなわち行動履歴を集計し易くなるが、詳細な情報が失われるということを抑制することができる。また、多大な情報を過度に展開することを抑制でき、すなわち詳細な情報を把握できるが、定量的に集計できないということを抑制することができる。換言すれば、識別子単位で行動履歴を集計して分析することにより、情報の圧縮と展開のバランスを取ることができる点に、第1の実施形態において行動履歴を行動遷移パターンに分類する意義がある。 In addition, in the first embodiment, behavioral history is classified into behavioral transition patterns for each identifier. By aggregating and analyzing behavioral history by identifier in this way, it is possible to prevent excessive compression of the large amount of information recorded on a transportation IC card, which makes it easier to aggregate behavioral history but prevents detailed information from being lost. It is also possible to prevent excessive expansion of large amounts of information, which makes it possible to grasp detailed information but prevents the inability to aggregate it quantitatively. In other words, the significance of classifying behavioral history into behavioral transition patterns in the first embodiment lies in the fact that aggregating and analyzing behavioral history by identifier makes it possible to strike a balance between information compression and expansion.
また、第1の実施形態の識別子はユーザIDと日付を組み合わせたものであり、1日毎に行動履歴を行動遷移パターンに分類する。このように意味のある節で時間を区切ることにより、人の行動履歴を適切に分析することができる。なお、第1の実施形態では、1日毎に行動履歴を分類したが、時間単位はこれに限定されない。例えば1旅行単位で識別子を付与して行動履歴を行動遷移パターンに分類してもよい。 Furthermore, the identifier in the first embodiment is a combination of the user ID and date, and the behavioral history is classified into behavioral transition patterns for each day. By dividing time into meaningful sections in this way, a person's behavioral history can be analyzed appropriately. Note that in the first embodiment, the behavioral history is classified by day, but the time unit is not limited to this. For example, an identifier may be assigned for each trip, and the behavioral history may be classified into behavioral transition patterns.
さらに、第1の実施形態では、個人が意志を持って行った行動を含む行動履歴データを分析するので、人の行動として、行動履歴を行動遷移パターンに分類する意味がある。例えばGPSを用いて取得されるログデータのように自動で取得されるデータを分析して行動遷移パターンを分類しても、人の行動を適切に分析することはできない。 Furthermore, in the first embodiment, behavioral history data including actions taken intentionally by an individual is analyzed, so it is meaningful to classify the behavioral history into behavioral transition patterns as human behavior. For example, analyzing automatically acquired data, such as log data acquired using GPS, and classifying behavioral transition patterns will not allow for an appropriate analysis of human behavior.
(第2の実施形態)
第2の実施形態にかかる情報処理方法について説明する。図11は、第2の実施形態にかかる情報処理方法の主な工程を示すフロー図である。第2の実施形態では、第1の実施形態と同様に、処理対象の行動履歴データが、駅の改札機で交通系ICカードが利用された際の利用履歴を含むデータである場合について説明する。また、第2の実施形態では、第1の実施形態と同じ行動履歴データを用いる。
Second Embodiment
An information processing method according to the second embodiment will be described. Fig. 11 is a flow diagram showing the main steps of the information processing method according to the second embodiment. In the second embodiment, as in the first embodiment, a case will be described in which the behavior history data to be processed includes the usage history when a transportation IC card is used at a ticket gate in a station. Furthermore, in the second embodiment, the same behavior history data as in the first embodiment is used.
[S21:記憶工程、S22:抽出工程、S23:マッピング工程]
第2の実施形態にける工程S21~S23はそれぞれ、第1の実施形態の工程S11~S13と同様である。すなわち先ず、工程S21において、図3に示した行動履歴データと図4に示した駅のマスタデータが、情報処理装置20の記憶部22に記憶される。次に、工程S22において、図5に示したように行動履歴データから、識別子毎に行動履歴を抽出する。次に、工程S23において、図6に示したように、図5の行動履歴の駅に対して、図4の駅マスタデータの駅の地理情報が紐づけられ、行動履歴が地理空間にマッピングされる。
[S21: storage step, S22: extraction step, S23: mapping step]
Steps S21 to S23 in the second embodiment are the same as steps S11 to S13 in the first embodiment. That is, first, in step S21, the behavior history data shown in FIG. 3 and the station master data shown in FIG. 4 are stored in the storage unit 22 of the information processing device 20. Next, in step S22, behavior history is extracted for each identifier from the behavior history data as shown in FIG. 5. Next, in step S23, as shown in FIG. 6, the stations in the behavior history in FIG. 5 are linked with the geographic information of the stations in the station master data in FIG. 4, and the behavior history is mapped to geographic space.
[S24:算出工程]
次に、算出部25において、工程S23でマッピングされた行動履歴を用いて、行動履歴における滞在数を算出する。工程S24では、以下の工程S24-1~工程S24-3の3つの工程を行って、滞在数を算出する。
[S24: Calculation step]
Next, the calculation unit 25 calculates the number of stays in the behavior history using the behavior history mapped in step S23. In step S24, the following three steps, step S24-1 to step S24-3, are performed to calculate the number of stays.
工程S24-1では、先ず、第1の実施形態の工程S24と同様に、図12に示すように識別子毎に、連続する2つの行動を要素とするベクトルを生成する。次に、2つの行動の近さである連続行動近さとして、識別子毎に、前行動の駅の地理情報と後行動の駅の地理情報を用いて、これら前後行動の駅間距離を算出する。この連続行動近さの算出は、第1の実施形態と同様である。第2の実施形態では、さらに前行動の時間と後行動の時間を用いて、2つの行動間の時間である連続行動時間として、これら前後行動間の時間を算出する。 In step S24-1, first, as in step S24 in the first embodiment, a vector is generated for each identifier, with elements each consisting of two consecutive actions, as shown in FIG. 12. Next, the distance between the stations of the previous and following actions is calculated for each identifier as consecutive action closeness, which is the proximity between the two actions, using geographic information for the station of the previous action and the station of the following action. This calculation of consecutive action closeness is the same as in the first embodiment. In the second embodiment, the time between the previous and following actions is further used to calculate the consecutive action time, which is the time between the two actions.
次に、工程S24-2では、識別子毎に、連続行動近さと連続行動時間に基づいて、2つの行動間を滞在と移動に判定する。ここでは、滞在と移動に判定するための連続行動近さ(駅間距離)の閾値を例えば3000mとし、連続行動時間の閾値を30分とする。そして、連続行動近さが3000m未満かつ連続行動時間が30分未満であれば「滞在」と判定し、連続行動近さが3000m以上又は連続行動時間が30分以上であれば「移動」と判定する。なお、工程S24-1では、駅間距離を時間で割って速度を導出し、当該導出された速度と所定の閾値とを比較して、2つの行動間を滞在と移動に判定してもよい。 Next, in step S24-2, for each identifier, the distance between two actions is determined to be a stay or a move based on the continuous action proximity and continuous action duration. Here, the threshold for continuous action proximity (distance between stations) for determining whether to stay or move is set to, for example, 3000 m, and the threshold for continuous action duration is set to 30 minutes. If the continuous action proximity is less than 3000 m and the continuous action duration is less than 30 minutes, it is determined to be a "stay," and if the continuous action proximity is 3000 m or more or the continuous action duration is 30 minutes or more, it is determined to be a "move." Note that in step S24-1, the distance between stations may be divided by the time to derive the speed, and the derived speed may be compared with a predetermined threshold to determine whether the distance between two actions is a stay or a move.
次に、工程S24-3では、識別子毎に、滞在の数をカウントし滞在数として算出する。 Next, in step S24-3, the number of stays is counted for each identifier and calculated as the number of stays.
なお、第2の実施形態の工程S24では、連続行動近さと連続行動時間の両方を用いて2つの行動間を滞在と移動に判定したが、いずれか一方を用いてもよい。例えば、連続行動近さを用いる場合、連続行動近さの閾値を3000mし、連続行動近さが3000m未満であれば「滞在」と判定し、3000m以上であれば「移動」と判定する。また例えば、連続行動時間を用いる場合、連続行動時間が30分未満であれば「滞在」と判定し、30分以上であれば「移動」と判定する。 In step S24 of the second embodiment, both the continuous action proximity and the continuous action time are used to determine whether the two actions are a stay or a move, but either one may be used. For example, when continuous action proximity is used, the threshold for continuous action proximity is set to 3000 m, and if the continuous action proximity is less than 3000 m, it is determined to be a "stay," and if it is 3000 m or more, it is determined to be a "move." Also, when continuous action time is used, if the continuous action time is less than 30 minutes, it is determined to be a "stay," and if it is 30 minutes or more, it is determined to be a "move."
また、第2の実施形態の工程S24における滞在と移動の判定は算出部25で行ったが、分類部26でおこなってもよい。 In addition, although the determination of stay and movement in step S24 in the second embodiment is performed by the calculation unit 25, it may also be performed by the classification unit 26.
[S25:分類工程]
次に、分類部26において、工程S24で算出された滞在数に基づいて、識別子毎に、行動履歴を行動遷移パターンに分類する。工程S25では、図13に示すように、滞在数が0回であれば、「滞在無し」の行動遷移パターンに分類される。滞在数が1回であれば、「一か所滞在」の行動遷移パターンに分類される。滞在数が2回以上であれば、「複数か所滞在」の行動遷移パターンに分類される。
[S25: Classification process]
Next, the classification unit 26 classifies the behavior history into behavior transition patterns for each identifier based on the number of stays calculated in step S24. In step S25, as shown in Fig. 13, if the number of stays is zero, it is classified into a "no stay" behavior transition pattern. If the number of stays is one, it is classified into a "single place stay" behavior transition pattern. If the number of stays is two or more, it is classified into a "multiple place stay" behavior transition pattern.
[S26:可視化工程]
次に、可視化部27において、工程S25で分類された行動遷移パターンを可視化する。工程S26では、図13に示した表における滞在数毎の旅客数を識別子単位で集計する。そして図14に示すように滞在数毎の旅客数の集計結果をグラフに表して可視化する。
[S26: Visualization process]
Next, the visualization unit 27 visualizes the behavioral transition patterns classified in step S25. In step S26, the number of passengers for each length of stay in the table shown in Fig. 13 is tallied for each identifier. Then, the tallied result of the number of passengers for each length of stay is visualized in a graph as shown in Fig. 14.
以上の第2の実施形態においても、上述した第1の実施形態と同様の効果を享受することができる。すなわち、工程S25において行動履歴を行動遷移パターンに分類するので、各駅の利用実態及び人の流動を適切に把握することができる。具体的には、旅客の滞在先の数を集計することにより、旅客の移動の目的や、複数の駅への立ち寄り方を把握することができる。また、工程S26において行動遷移パターンを可視化するので、これら各駅の利用実態及び人の流動の把握がさらに容易になる。 The second embodiment described above also provides the same effects as the first embodiment. That is, in step S25, behavioral history is classified into behavioral transition patterns, making it possible to appropriately grasp the actual usage of each station and the flow of people. Specifically, by aggregating the number of destinations where passengers stay, it is possible to grasp the purpose of passenger travel and how they stop at multiple stations. Furthermore, in step S26, behavioral transition patterns are visualized, making it even easier to grasp the actual usage of each station and the flow of people.
(第3の実施形態)
第3の実施形態にかかる情報処理方法について説明する。図15は、第3の実施形態にかかる情報処理方法の主な工程を示すフロー図である。第3の実施形態では、第1の実施形態及び第2の実施形態と同様に、処理対象の行動履歴データが、駅の改札機で交通系ICカードが利用された際の利用履歴を含むデータである場合について説明する。また、第3の実施形態では、第1の実施形態及び第2の実施形態と同じ行動履歴データを用いる。
(Third embodiment)
An information processing method according to the third embodiment will be described. Fig. 15 is a flow diagram showing the main steps of the information processing method according to the third embodiment. In the third embodiment, as in the first and second embodiments, a case will be described in which the behavior history data to be processed is data including usage history when a transportation IC card is used at a ticket gate at a station. Furthermore, in the third embodiment, the same behavior history data as in the first and second embodiments is used.
[S31:記憶工程、S32:抽出工程、S33:マッピング工程]
第3の実施形態にける工程S31~S33はそれぞれ、第1の実施形態の工程S11~S13と同様である。すなわち先ず、工程S31において、図3に示した行動履歴データと図4に示した駅のマスタデータが、情報処理装置20の記憶部22に記憶される。次に、工程S32において、図5に示したように行動履歴データから、識別子毎に行動履歴を抽出する。次に、工程S33において、図6に示したように、図5の行動履歴の駅に対して、図4の駅マスタデータの駅の地理情報が紐づけられ、行動履歴が地理空間にマッピングされる。
[S31: Storage step, S32: Extraction step, S33: Mapping step]
Steps S31 to S33 in the third embodiment are the same as steps S11 to S13 in the first embodiment. That is, first, in step S31, the behavior history data shown in FIG. 3 and the station master data shown in FIG. 4 are stored in the storage unit 22 of the information processing device 20. Next, in step S32, behavior history is extracted for each identifier from the behavior history data as shown in FIG. 5. Next, in step S33, as shown in FIG. 6, the stations in the behavior history in FIG. 5 are linked with the geographic information of the stations in the station master data in FIG. 4, and the behavior history is mapped to geographic space.
[S34:導出工程]
次に、算出部25において、工程S33でマッピングされた行動履歴を用いて、識別子毎に最も経過時間の長い滞在駅を導出する。工程S34では、先ず、図16に示すように識別子毎に、連続する2つの行動間を滞在と移動に判定する。この滞在と移動の判定は、図12に示した第2の実施形態と同様であり、連続行動近さと連続行動時間に基づいて、2つの行動間を滞在と移動に判定する。次に、2つの行動間が滞在である場合において、連続行動時間(経過時間)が最も長いか否かを判定する。そして、経過時間が最大の滞在を抽出して、当該滞在駅を導出する。図16の例においては、経過時間が最大である滞在が「真」となる駅が滞在駅となる。
[S34: Derivation step]
Next, the calculation unit 25 derives the stay station with the longest elapsed time for each identifier using the behavior history mapped in step S33. In step S34, first, as shown in FIG. 16, the relationship between two consecutive behaviors is determined as a stay or a move for each identifier. This determination of stay or move is similar to that in the second embodiment shown in FIG. 12, and the relationship between two behaviors is determined as a stay or a move based on the proximity of the consecutive behaviors and the consecutive behavior time. Next, when the relationship between two behaviors is a stay, it is determined whether the consecutive behavior time (elapsed time) is the longest. Then, the stay with the longest elapsed time is extracted, and the corresponding stay station is derived. In the example of FIG. 16, the station for which the stay with the longest elapsed time is "true" is the stay station.
なお、第3の実施形態の工程S34における最大経過時間の滞在駅の導出は算出部25で行ったが、分類部26でおこなってもよい。 In the third embodiment, the calculation unit 25 derives the station where the maximum elapsed time was spent in step S34, but this may also be done by the classification unit 26.
[S35:可視化工程]
次に、可視化部27において、工程S34で導出された最大経過時間の滞在駅に基づいて、駅別の主要滞在客数を可視化する。工程S35では、識別子毎に当日中の主要な滞在駅を目的地と仮定して、駅別の旅客数を識別子単位で集計する。そして図17に示すように駅別の旅客数の集計結果をグラフに表して可視化する。
[S35: Visualization process]
Next, the visualization unit 27 visualizes the number of major passengers staying at each station based on the station with the longest elapsed time calculated in step S34. In step S35, the number of passengers staying at each station is calculated for each identifier, assuming that the major stations during the day are the destinations. The results of the calculation of the number of passengers staying at each station are then visualized in a graph, as shown in FIG. 17 .
以上の第3の実施形態によれば、工程S34において、最も経過時間の長い滞在駅を導出することにより、旅客の移動における主要な目的地を把握することができる。その結果、各駅の利用実態及び人の流動を適切に把握することができる。 According to the third embodiment described above, in step S34, the main destinations of passengers' journeys can be identified by deriving the station where the longest elapsed time has passed. As a result, the actual usage of each station and the flow of people can be properly understood.
(第4の実施形態)
第4の実施形態にかかる情報処理方法について説明する。図18は、第4の実施形態にかかる情報処理方法の主な工程を示すフロー図である。第4の実施形態では、処理対象の行動履歴データが、ECサイトにおける商品の購買履歴を含むデータである場合について説明する。なお、行動履歴データが、ECサイトにおける商品の購買履歴ではなく、ショッピングセンターにおける商品の購買履歴であっても同様である。
(Fourth embodiment)
An information processing method according to the fourth embodiment will be described. Fig. 18 is a flow diagram showing main steps of the information processing method according to the fourth embodiment. In the fourth embodiment, a case will be described in which the behavior history data to be processed includes a product purchase history on an EC site. Note that the same applies to the case in which the behavior history data is a product purchase history at a shopping center rather than a product purchase history on an EC site.
[S41:記憶工程]
先ず、ECサイトにおいて商品が購入されると、その購買履歴がデータベース装置10に送信され、記憶部12に記憶される。記憶部12に記憶された行動履歴データは、ネットワーク30を介して情報処理装置20に入力され、記憶部22に記憶される。
[S41: Storage process]
First, when a product is purchased on an EC site, the purchase history is transmitted to the database device 10 and stored in the storage unit 12. The behavior history data stored in the storage unit 12 is input to the information processing device 20 via the network 30 and stored in the storage unit 22.
図19は、行動履歴データの一例を示す表である。行動履歴データは、例えばユーザID、購買日時、購買店舗、購買品目を含み、これらが時系列に並べられている。また、記憶部22には、図20に示す店舗のマスタデータと、図21に示す品目のマスタデータも記憶される。店舗のマスタデータにおける店舗トピックは、トピックモデルにより行動履歴データからトピックを抽出して作成される。同様に、品目のマスタデータにおける品目トピックも、トピックモデルにより行動履歴データからトピックを抽出して作成される。 Figure 19 is a table showing an example of behavior history data. The behavior history data includes, for example, a user ID, purchase date and time, the store of purchase, and the purchased item, which are arranged in chronological order. The storage unit 22 also stores store master data shown in Figure 20 and item master data shown in Figure 21. Store topics in the store master data are created by extracting topics from the behavior history data using a topic model. Similarly, item topics in the item master data are created by extracting topics from the behavior history data using a topic model.
[S42:抽出工程]
次に、抽出部23において、工程S41で記憶部12に記憶された行動履歴データから行動履歴を抽出する。工程S42では、先ず、図22に示すようにユーザID毎に行動履歴を抽出し、さらに識別子毎に行動履歴を抽出する。第4の実施形態の識別子は、ユーザIDと日付を組み合わせたものである。例えば、ユーザIDが0001は2020年12月1日と12月23日に購買行動を行っているが、識別子はそれぞれ「0001」と「0002」で別の識別子が付与される。また、工程S42において、抽出する行動履歴は、行動の開始から終了までの時間的に連続する行動履歴である。
[S42: Extraction step]
Next, the extraction unit 23 extracts behavioral history from the behavioral history data stored in the storage unit 12 in step S41. In step S42, first, behavioral history is extracted for each user ID as shown in FIG. 22 , and then behavioral history is extracted for each identifier. The identifier in the fourth embodiment is a combination of the user ID and the date. For example, user ID 0001 performed purchasing behavior on December 1 and December 23, 2020, and the identifiers are assigned "0001" and "0002," respectively. Furthermore, the behavioral history extracted in step S42 is a temporally continuous behavioral history from the start to the end of the behavior.
[S43:マッピング工程]
次に、マッピング部24において、工程S42で抽出された行動履歴をベクトル化して、ベクトル空間にマッピングする。工程S43では、図23に示すように行動履歴データに店舗及び品目のマスタを紐づけることにより、購入を行った店舗及び品目を要素とするベクトルを生成する。
[S43: Mapping step]
Next, the behavior history extracted in step S42 is vectorized and mapped to a vector space in the mapping unit 24. In step S43, the behavior history data is linked to store and item master data as shown in Fig. 23 to generate a vector whose elements are the store and item where the purchase was made.
[S44:算出工程]
次に、算出部25において、工程S43でベクトル化された行動履歴を用いて、行動履歴において時間的に最初の行動と最後の行動の近さである始終端行動近さと、当該行動履歴における滞在数を算出する。工程S44では、工程S44-1において始終端近さを算出し、工程S44-2において滞在数を算出する。
[S44: Calculation step]
Next, the calculation unit 25 calculates the start-end behavior closeness, which is the temporal closeness between the first behavior and the last behavior in the behavior history, and the number of stays in the behavior history, using the behavior history vectorized in step S43. In step S44, the start-end behavior closeness is calculated in step S44-1, and the number of stays is calculated in step S44-2.
工程S44-1では、先ず、図24に示すように識別子毎に、一連の行動履歴における最初の行動と最後の行動を抽出する。次に、図25に示すように識別子毎に、最初の行動と最後の行動の近さである始終端行動近さとして、前行動の店舗トピック及び品目トピックからなるベクトルと、後行動の店舗トピック及び品目トピックからなるベクトルを用いて、これら前後行動のベクトルのコサイン類似度を算出する。なお、第4の実施形態においてはコサイン類似度を算出したが、ユークリッド距離やマンハッタン距離を算出してもよい。 In step S44-1, first, the first and last actions in a series of action histories are extracted for each identifier, as shown in FIG. 24. Next, as shown in FIG. 25, for each identifier, the cosine similarity between the vectors of the previous and next actions is calculated as the start-end action closeness, which is the closeness between the first and last actions, using a vector consisting of the store topic and item topic of the previous action and a vector consisting of the store topic and item topic of the next action. Note that, although cosine similarity was calculated in the fourth embodiment, Euclidean distance or Manhattan distance may also be calculated.
工程S44-2では、図26に示すように識別子毎に、行動履歴における行動の数(ベクトル数)を滞在数と算出する。なお、工程S44-1とS44-2の順序は、いずれが先であってもよい。 In step S44-2, the number of stays is calculated as the number of actions (number of vectors) in the action history for each identifier, as shown in FIG. 26. Note that steps S44-1 and S44-2 can be performed in any order.
[S45:分類工程]
次に、分類部26において、工程S44で算出された始終端行動近さと滞在数に基づいて、行動履歴を形状により行動遷移パターンに分類する。工程S45では、図27に示すルールに従って、行動履歴を5つの形状に分類する。すなわち、滞在数であるベクトル数を点としてとらえ、その点と点を線でつないで形状を導出する。したがって、ベクトル数が1つの場合、形状は「点」となり、ベクトル数が2つの場合、形状は「線」となり、ベクトル数が3以上の場合、形状は「多角形」となる。またこの際、この際、形状の大小を決定するためのコサイン類似度の閾値を例えば0.707とする。そして本ルールに従って、図28に示すように識別子毎に、行動履歴を形状により行動遷移パターンに分類する。
[S45: Classification process]
Next, the classification unit 26 classifies the behavior history into behavior transition patterns by shape based on the start-end behavior proximity and the number of stays calculated in step S44. In step S45, the behavior history is classified into five shapes according to the rules shown in FIG. 27. That is, the number of vectors, which represent the number of stays, is treated as points, and the shape is derived by connecting the points with lines. Therefore, if the number of vectors is one, the shape is a "point," if the number of vectors is two, the shape is a "line," and if the number of vectors is three or more, the shape is a "polygon." In this case, the threshold value of the cosine similarity for determining the size of the shape is set to, for example, 0.707. Then, according to these rules, the behavior history is classified into behavior transition patterns by shape for each identifier, as shown in FIG. 28.
[S46:可視化工程]
次に、可視化部27において、工程S45で分類された行動遷移パターンを可視化する。工程S27では、図29に示すように、行動遷移パターンを表す形状を可視化する。
[S46: Visualization process]
Next, the behavior transition patterns classified in step S45 are visualized in the visualization unit 27. In step S27, a shape representing the behavior transition pattern is visualized as shown in FIG.
以上の第4の実施形態においても、上述した第1及び第2の実施形態と同様の効果を享受することができる。すなわち、工程S45において行動履歴を行動遷移パターンに分類するので、各駅の利用実態及び人の流動を適切に把握することができ、その結果、例えば商品やサービスのマーケティング、レコメンデーションなど、多様な目的に分析結果を用いることができる。 The fourth embodiment described above can also achieve the same effects as the first and second embodiments described above. That is, because the behavioral history is classified into behavioral transition patterns in step S45, it is possible to properly understand the actual usage of each station and the flow of people. As a result, the analysis results can be used for a variety of purposes, such as marketing and recommendations for products and services.
また、第4の実施形態では、行動履歴を形状により行動遷移パターンに分類する。この形状には、主として2つの要素がある。1つ目の要素は、始終端行動近さであって、例えば多角形においては一端が閉じているか否かである。これにより、片道パターンであるのか、あるいは往復・周遊パターンであるのかを把握することができる。2つ目の要素は、滞在数であって、例えば多角形における点である。これにより、往復パターンであるのか、あるいは周遊パターンであるのかを把握することができる。 In addition, in the fourth embodiment, behavioral histories are classified into behavioral transition patterns based on their shape. This shape has two main elements. The first element is the proximity of the start and end actions, for example, whether one end of a polygon is closed or not. This makes it possible to determine whether it is a one-way pattern or a round-trip/circumnavigation pattern. The second element is the number of stays, for example, the points on the polygon. This makes it possible to determine whether it is a round-trip pattern or a circular pattern.
また、このように行動履歴を形状により分類することで、行動のバリエーションと数の相関を把握することができる。例えば、行動のバリエーションを増やすことが目的である場合、多角形の点の数が多くなるように商品やサービスをレコメンドすればよい。また、多角形における点と形状との関係が分かると、商品やサービスのレコメンデーションや、店舗の配置の設計に活かすことができる。例えば、A商品とB商品の相性が良い場合、A商品の購入者にB商品をレコメンドすることができる。あるいは、C店舗とD店舗の相性が良い場合、C店舗とD店舗を近接して配置することも可能となる。 Furthermore, by classifying behavioral history by shape in this way, it is possible to understand the correlation between behavioral variation and number. For example, if the goal is to increase behavioral variation, products and services can be recommended so that the number of points on the polygon is large. Furthermore, understanding the relationship between the points on the polygon and the shape can be used to recommend products and services, and to design store layouts. For example, if product A and product B go well together, product B can be recommended to purchasers of product A. Alternatively, if store C and store D go well together, it may be possible to locate store C and store D close to each other.
以上、添付図面を参照しながら本発明の好適な実施形態について説明したが、本発明はかかる例に限定されない。当業者であれば、特許請求の範囲に記載された思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。 The above describes preferred embodiments of the present invention with reference to the accompanying drawings, but the present invention is not limited to such examples. It is clear that those skilled in the art will be able to conceive of various modifications and alterations within the scope of the ideas set forth in the claims, and it is understood that these naturally fall within the technical scope of the present invention.
本発明は、人の行動履歴を分析する際に有用である。 This invention is useful for analyzing a person's behavioral history.
1 情報処理システム
10 データベース装置
11 演算部
12 記憶部
13 通信部
20 情報処理装置
21 演算部
22 記憶部
23 抽出部
24 マッピング部
25 算出部
26 分類部
27 可視化部
28 通信部
30 ネットワーク
REFERENCE SIGNS LIST 1 Information processing system 10 Database device 11 Calculation unit 12 Storage unit 13 Communication unit 20 Information processing device 21 Calculation unit 22 Storage unit 23 Extraction unit 24 Mapping unit 25 Calculation unit 26 Classification unit 27 Visualization unit 28 Communication unit 30 Network
Claims (20)
人の行動を含むデータから、個人を識別する識別子毎に、前記行動の開始から終了までの時間的に連続する行動履歴を抽出する抽出工程と、
前記行動履歴をベクトル化して、ベクトル空間にマッピングするマッピング工程と、
前記マッピングされた前記行動履歴を用いて、前記行動履歴において時間的に最初の前記行動と最後の前記行動の近さと、前記行動履歴における滞在数の一方又は両方を算出する算出工程と、
前記近さと前記滞在数の一方又は両方に基づいて、前記行動履歴を行動遷移パターンに分類する分類工程と、を実行することを特徴とする、情報処理方法。 The information processing device
an extraction step of extracting, from data including human behavior, a time-series behavior history from the start to the end of the behavior for each identifier that identifies an individual;
a mapping step of vectorizing the behavioral history and mapping it into a vector space ;
a calculation step of calculating , using the mapped behavioral history, one or both of the temporal proximity between the first behavior and the last behavior in the behavioral history and the number of stays in the behavioral history;
and a classification step of classifying the behavior history into behavior transition patterns based on one or both of the proximity and the number of stays.
人の行動を含むデータから、個人を識別する識別子毎に、前記行動の開始から終了までの時間的に連続する行動履歴を抽出する抽出工程と、
前記行動履歴を地理空間にマッピングするマッピング工程と、
前記マッピングされた前記行動履歴を用いて、前記行動履歴において時間的に最初の前記行動と最後の前記行動の近さと、前記行動履歴における滞在数の一方又は両方を算出する算出工程と、
前記近さと前記滞在数の一方又は両方に基づいて、前記行動履歴を行動遷移パターンに分類する分類工程と、を実行することを特徴とする、情報処理方法。 The information processing device
an extraction step of extracting, from data including human behavior, a time-series behavior history from the start to the end of the behavior for each identifier that identifies an individual;
a mapping step of mapping the behavioral history to a geographical space ;
a calculation step of calculating , using the mapped behavioral history, one or both of the temporal proximity between the first behavior and the last behavior in the behavioral history and the number of stays in the behavioral history;
and a classification step of classifying the behavior history into behavior transition patterns based on one or both of the proximity and the number of stays.
前記分類工程において、前記近さと前記滞在数に基づいて、前記行動履歴を形状により行動遷移パターンに分類することを特徴とする、請求項1又は2に記載の情報処理方法。 In the calculation step, both the proximity and the number of stays are calculated,
3. The information processing method according to claim 1, wherein in the classifying step, the behavior history is classified into behavior transition patterns according to shape based on the proximity and the number of stays.
時間的に連続する2つの前記行動の近さと、当該2つの行動間の時間の一方又は両方を算出する工程と、
前記2つの行動の近さと前記2つの行動間の時間の一方又は両方に基づいて、前記2つの行動間を滞在と移動に判定する工程と、
前記滞在の数を算出する工程と、を有することを特徴とする、請求項1~5のいずれか一項に記載の情報処理方法。 The calculation step
calculating one or both of the proximity of two temporally consecutive actions and the time between the two actions;
determining whether the two activities are a stay or a move based on one or both of the proximity of the two activities and the time between the two activities;
The information processing method according to any one of claims 1 to 5 , further comprising the step of calculating the number of stays.
前記情報処理装置の制御を行うためのプログラムを格納する記憶部と、
前記プログラムに従って前記情報処理装置の制御を行う演算部と、
人の行動を含むデータから、個人を識別する識別子毎に、前記行動の開始から終了までの時間的に連続する行動履歴を抽出する抽出部と、
前記行動履歴をベクトル化して、ベクトル空間にマッピングするマッピング部と、
前記マッピングされた前記行動履歴を用いて、前記行動履歴において時間的に最初の前記行動と最後の前記行動の近さと、前記行動履歴における滞在数の一方又は両方を算出する算出部と、
前記近さと前記滞在数の一方又は両方に基づいて、前記行動履歴を行動遷移パターンに分類する分類部と、を有することを特徴とする、情報処理装置。 An information processing device,
a storage unit that stores a program for controlling the information processing device;
a calculation unit that controls the information processing device in accordance with the program;
an extraction unit that extracts, from data including human behavior, a time-sequential behavior history from the start to the end of the behavior for each identifier that identifies an individual;
a mapping unit that vectorizes the behavior history and maps it into a vector space ;
a calculation unit that calculates , using the mapped behavior history, one or both of the temporal proximity between the first behavior and the last behavior in the behavior history and the number of stays in the behavior history;
a classification unit that classifies the behavior history into behavior transition patterns based on one or both of the proximity and the number of stays.
前記情報処理装置の制御を行うためのプログラムを格納する記憶部と、
前記プログラムに従って前記情報処理装置の制御を行う演算部と、
人の行動を含むデータから、個人を識別する識別子毎に、前記行動の開始から終了までの時間的に連続する行動履歴を抽出する抽出部と、
前記行動履歴を地理空間にマッピングするマッピング部と、
前記マッピングされた前記行動履歴を用いて、前記行動履歴において時間的に最初の前記行動と最後の前記行動の近さと、前記行動履歴における滞在数の一方又は両方を算出する算出部と、
前記近さと前記滞在数の一方又は両方に基づいて、前記行動履歴を行動遷移パターンに分類する分類部と、を有することを特徴とする、情報処理装置。 An information processing device,
a storage unit that stores a program for controlling the information processing device;
a calculation unit that controls the information processing device in accordance with the program;
an extraction unit that extracts, from data including human behavior, a time-sequential behavior history from the start to the end of the behavior for each identifier that identifies an individual;
a mapping unit that maps the behavior history into a geographical space ;
a calculation unit that calculates , using the mapped behavior history, one or both of the temporal proximity between the first behavior and the last behavior in the behavior history and the number of stays in the behavior history;
a classification unit that classifies the behavior history into behavior transition patterns based on one or both of the proximity and the number of stays.
前記分類部は、前記近さと前記滞在数に基づいて、前記行動履歴を形状により行動遷移パターンに分類することを特徴とする、請求項12又は13に記載の情報処理装置。 The calculation unit calculates both the proximity and the number of stays,
The information processing device according to claim 12 or 13 , wherein the classifying unit classifies the behavior history into behavior transition patterns according to shapes, based on the proximity and the number of stays.
時間的に連続する2つの前記行動の近さと、当該2つの行動間の時間の一方又は両方を算出し、
前記2つの行動の近さと前記2つの行動間の時間の一方又は両方に基づいて、前記2つの行動間を滞在と移動に判定し、
前記滞在の数を算出することを特徴とする、請求項12~16のいずれか一項に記載の情報処理装置。 The calculation unit
Calculating one or both of the proximity of two consecutive actions and the time between the two actions;
determining whether the two activities are a stay or a move based on one or both of the proximity of the two activities and the time between the two activities;
The information processing device according to claim 12 , wherein the number of stays is calculated.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021072665A JP7715328B2 (en) | 2021-04-22 | 2021-04-22 | Information processing method, program, storage medium, and information processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021072665A JP7715328B2 (en) | 2021-04-22 | 2021-04-22 | Information processing method, program, storage medium, and information processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022167110A JP2022167110A (en) | 2022-11-04 |
| JP7715328B2 true JP7715328B2 (en) | 2025-07-30 |
Family
ID=83852850
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021072665A Active JP7715328B2 (en) | 2021-04-22 | 2021-04-22 | Information processing method, program, storage medium, and information processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7715328B2 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012203496A (en) | 2011-03-24 | 2012-10-22 | Hitachi Ltd | Ic card system and data collection method |
| JP2013210969A (en) | 2012-03-30 | 2013-10-10 | Zenrin Datacom Co Ltd | Information processing system and information processing method |
| WO2018066251A1 (en) | 2016-10-07 | 2018-04-12 | シャープ株式会社 | Information processing device, information processing device control method, and control program |
| JP2019028488A (en) | 2017-07-25 | 2019-02-21 | ヤフー株式会社 | Extraction apparatus, extraction method, extraction program, learning data, and model |
| JP2022069198A (en) | 2020-10-23 | 2022-05-11 | 株式会社日立製作所 | Behavior analysis apparatus, guidance information provision system, and method of the same |
-
2021
- 2021-04-22 JP JP2021072665A patent/JP7715328B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012203496A (en) | 2011-03-24 | 2012-10-22 | Hitachi Ltd | Ic card system and data collection method |
| JP2013210969A (en) | 2012-03-30 | 2013-10-10 | Zenrin Datacom Co Ltd | Information processing system and information processing method |
| WO2018066251A1 (en) | 2016-10-07 | 2018-04-12 | シャープ株式会社 | Information processing device, information processing device control method, and control program |
| JP2019028488A (en) | 2017-07-25 | 2019-02-21 | ヤフー株式会社 | Extraction apparatus, extraction method, extraction program, learning data, and model |
| JP2022069198A (en) | 2020-10-23 | 2022-05-11 | 株式会社日立製作所 | Behavior analysis apparatus, guidance information provision system, and method of the same |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022167110A (en) | 2022-11-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12346941B2 (en) | Method, apparatus, and computer program product for determining closing metrics | |
| US20180046925A1 (en) | Method, apparatus, and computer program product for determining closing metrics | |
| Dursun et al. | Using data mining techniques for profiling profitable hotel customers: An application of RFM analysis | |
| US12326339B2 (en) | Generation of clusters based on plural user data relevant to travel stops | |
| US10657560B2 (en) | Method, apparatus, and computer program product for classifying user search data | |
| US20190012682A1 (en) | Method, apparatus, and computer program product for forecasting demand using real time demand | |
| US20140278688A1 (en) | Guest movement and behavior prediction within a venue | |
| US9940635B1 (en) | Method, apparatus, and computer program product for calculating a supply based on travel propensity | |
| JP5356100B2 (en) | Information processing system and method | |
| JP5414562B2 (en) | Information processing apparatus and information processing system | |
| JP6745925B2 (en) | Data processing device, data processing method and program | |
| US20160132908A1 (en) | Methods And Apparatus For Transaction Prediction | |
| US12387228B2 (en) | Method, apparatus, and computer program product for forecasting demand using real time demand | |
| JP6366529B2 (en) | Flow line processing system and flow line processing method | |
| Gutama et al. | Analysis of the effect of website sales quality on purchasing decisions on e-commerce websites | |
| WO2021117430A1 (en) | Generation apparatus, generation method, and generation program | |
| JP2020537220A (en) | Computer system for optimizing retail garment inventory based on user profile | |
| JP7715328B2 (en) | Information processing method, program, storage medium, and information processing device | |
| Hakami | Identification of customers satisfaction with popular online shopping apps in Saudi Arabia using sentiment analysis and topic modelling | |
| US20150019290A1 (en) | Systems and methods for representing consumer behavior | |
| JP7773723B2 (en) | Information processing method, program, storage medium, and information processing device | |
| JP7102320B2 (en) | Data management system and method | |
| JP5638115B2 (en) | User behavior analysis device | |
| JP7189654B2 (en) | Program, apparatus and method for estimating commercial value of real estate | |
| JP2019117108A (en) | Visit-destination recommendation device, visit-destination recommendation method and visit-destination recommendation program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240410 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20241226 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250121 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250321 |
|
| 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: 20250617 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250708 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7715328 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |