JP2020107148A - Moving body management device, terminal device, data structure, control method, program and storage medium - Google Patents

Moving body management device, terminal device, data structure, control method, program and storage medium Download PDF

Info

Publication number
JP2020107148A
JP2020107148A JP2018246507A JP2018246507A JP2020107148A JP 2020107148 A JP2020107148 A JP 2020107148A JP 2018246507 A JP2018246507 A JP 2018246507A JP 2018246507 A JP2018246507 A JP 2018246507A JP 2020107148 A JP2020107148 A JP 2020107148A
Authority
JP
Japan
Prior art keywords
information
vehicle
state
cloud server
job
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.)
Pending
Application number
JP2018246507A
Other languages
Japanese (ja)
Inventor
片多 啓二
Keiji Katada
啓二 片多
幸田 健志
Kenji Koda
健志 幸田
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.)
Pioneer Corp
Original Assignee
Pioneer Electronic 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 Pioneer Electronic Corp filed Critical Pioneer Electronic Corp
Priority to JP2018246507A priority Critical patent/JP2020107148A/en
Publication of JP2020107148A publication Critical patent/JP2020107148A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a moving body management device capable of suitably acquiring statistical data regarding a state of a process in which a vehicle is instructed to execute.SOLUTION: A vehicle cloud server 30 generates a job request JR2 and transmits the job request JR2 to on-vehicle terminals 20 of a plurality of vehicles. Then, the vehicle cloud server 30 receives upload data UD2 including acquired data for the job request JR2, and status count information or status history information or status information and counts at least one of the number of active vehicles and a total number of active vehicles based on the status count information or status history information or status information. Then, the vehicle cloud server 30 transmits upload data UD1 based on the above-mentioned counting result to the service cloud server 40.SELECTED DRAWING: Figure 17

Description

本発明は、データ収集における状態管理の技術に関する。 The present invention relates to a state management technique in data collection.

従来から、車両に設置されたセンサの情報をサーバ装置において収集する技術が知られている。例えば、特許文献1には、車両等の移動体に設置されたセンサの出力に基づいて部分地図の変化点を検出した場合に、当該変化点に関する変化点情報をサーバ装置に送信する運転支援装置が開示されている。 2. Description of the Related Art Conventionally, a technique is known in which information of sensors installed in a vehicle is collected by a server device. For example, in Patent Document 1, when a change point of a partial map is detected based on an output of a sensor installed in a moving body such as a vehicle, a driving assistance device that transmits change point information regarding the change point to a server device. Is disclosed.

特開2016−156973号公報JP, 2016-156973, A

車両に関する種々のサービスを提供する会社がそれぞれサーバを運営することで、車両に対してアップロードすべきデータを指定し、車両を管理するサーバ(車両管理サーバ)を介して、サービス提供に必要な車両に関する様々な情報を収集することが今後想定される。このようなシステムでは、車両は、指示されたデータを所定の実行条件を満たすときにアップロードすることをジョブとして認識し、当該ジョブを上述の実行条件が満たされたときに実行することが求められる。 Companies that provide various services related to vehicles operate their own servers to specify the data to be uploaded to the vehicles and to provide the vehicles required for service provision via a server (vehicle management server) that manages the vehicles. It is envisaged to collect various information on the future. In such a system, the vehicle is required to recognize as uploading the instructed data when a predetermined execution condition is satisfied, and to execute the job when the execution condition described above is satisfied. ..

一方、サービス会社のサーバが生成したデータ収集依頼は、車両に配信される保証はなく、車両管理サーバが高負荷である場合や、収集条件を満たす車両がなくデータ収集依頼を配信すべき車両が存在しない場合などでは、車両に配信されない。また、車両側が高負荷となり車両からデータ収集依頼が削除された場合などでは、データ収集依頼は車両により適切に実行されない。以上を勘案した場合、データ収集依頼の有効性やコスト効率、収集データの信頼性などを的確に把握するには、各車両に実行を指示した処理の状態を適切に管理する必要がある。 On the other hand, the data collection request generated by the server of the service company is not guaranteed to be delivered to the vehicle, and when the vehicle management server has a high load or there is no vehicle that satisfies the collection condition and the vehicle to which the data collection request should be delivered is. If it does not exist, it will not be delivered to the vehicle. In addition, when the vehicle side has a high load and the data collection request is deleted from the vehicle, the data collection request is not properly executed by the vehicle. In consideration of the above, it is necessary to appropriately manage the state of the process instructed to execute each vehicle in order to accurately grasp the effectiveness, cost efficiency, reliability of the collected data, etc. of the data collection request.

本発明は、上記のような課題を解決するためになされたものであり、車両に実行を指示した処理の状態に関する統計データを好適に取得することが可能な移動体管理装置を提供することを主な目的とする。 The present invention has been made to solve the above problems, and provides a moving object management apparatus capable of suitably acquiring statistical data regarding the state of a process instructing a vehicle to execute. The main purpose is.

請求項に記載の発明は、移動体管理装置であって、情報管理装置が発した要求信号を受信する第1受信部と、前記要求信号に応じた指令情報と、前記指令情報の状態が、所定条件が満たされた場合に前記指令情報が示す指令を実行する状態である実行状態になった回数を計数するための計数情報を送信することを示すフラグ情報と、を含む送信情報を生成する生成部と、複数の移動体に対して前記送信情報を送信する第1送信部と、前記指令情報に対する応答情報と前記計数情報とを受信する第2受信部と、前記計数情報に基づき、前記指令情報が前記実行状態となった移動体の数と、移動体毎の前記指令情報が前記実行状態となった回数と、の少なくとも一方を計数する計数部と、前記計数部の計数結果に基づく情報を前記情報管理装置に送信する第2送信部と、を備える。 According to another aspect of the present invention, there is provided a mobile management device, wherein a first receiving unit that receives a request signal issued by an information management device, command information according to the request signal, and a status of the command information are: Generating transmission information including flag information indicating transmission of count information for counting the number of times of execution, which is a state of executing the command indicated by the command information when a predetermined condition is satisfied. A generation unit, a first transmission unit that transmits the transmission information to a plurality of moving bodies, a second reception unit that receives the response information to the command information and the count information, and based on the count information, Based on the counting result of the counting unit, and a counting unit that counts at least one of the number of mobile units whose command information is in the execution state and the number of times the command information of each mobile unit is in the execution state. A second transmitting unit that transmits information to the information management device.

また、請求項に記載の発明は、移動体管理装置が移動体ごとに送信する送信データのデータ構造であって、前記移動体に実行させる指令の内容を示す指令情報と、前記指令情報の状態が、所定条件が満たされた場合に前記指令情報が示す指令を実行する状態である実行状態になった回数を計数するための計数情報を送信することを示すフラグ情報と、を有する送信データのデータ構造である。 Further, the invention described in the claims is a data structure of transmission data transmitted by the mobile management device for each mobile, and includes command information indicating the content of a command to be executed by the mobile, and a state of the command information. Is the flag information indicating that the count information for counting the number of times the execution state, which is the state of executing the command indicated by the command information, is transmitted when a predetermined condition is satisfied, and transmission data having It is a data structure.

また、請求項に記載の発明は、移動体管理装置が実行する制御方法であって、情報管理装置が発した要求信号を受信する第1受信工程と、前記要求信号に応じた指令情報と、前記指令情報の状態が、所定条件が満たされた場合に前記指令情報が示す指令を実行する状態である実行状態になった回数を計数するための計数情報を送信することを示すフラグ情報と、を含む送信情報を生成する生成工程と、複数の移動体に対して前記送信情報を送信する第1送信工程と、前記指令情報に対する応答情報と前記計数情報とを受信する第2受信工程と、前記計数情報に基づき、前記指令情報が前記実行状態となった移動体の数と、移動体毎の前記指令情報が前記実行状態となった回数と、の少なくとも一方を計数する計数工程と、前記計数部の計数結果に基づく情報を前記情報管理装置に送信する第2送信工程と、を有する。 Further, the invention described in the claims is a control method executed by a mobile management device, the first receiving step of receiving a request signal issued by the information management device, and command information according to the request signal, The state of the command information, flag information indicating that to transmit the count information for counting the number of times the execution state is a state of executing the command indicated by the command information when a predetermined condition is satisfied, A generation step of generating transmission information including: a first transmission step of transmitting the transmission information to a plurality of moving bodies; a second reception step of receiving response information to the command information and the count information; A counting step of counting at least one of the number of moving bodies in which the command information is in the execution state and the number of times in which the command information for each moving body is in the execution state based on the counting information; A second transmitting step of transmitting information based on the counting result of the counting section to the information management device.

また、請求項に記載の発明は、移動体に搭載される端末装置であって、情報管理装置が発した要求信号に応じて移動体管理装置が発した指令情報と、前記指令情報の状態が、所定条件を満たした場合に前記指令情報が示す指令を実行する状態である実行状態になった回数を計数するための計数情報を前記移動体管理装置に送信することを示すフラグ情報と、を含む送信情報を移動体管理装置から受信する受信部と、前記フラグ情報に基づき前記計数情報を生成する生成部と、前記計数情報と、前記指令情報に対する応答情報と、を前記移動体管理装置に送信する送信部と、を備える。 Further, the invention described in the claims is a terminal device mounted on a mobile body, wherein the command information issued by the mobile body management device in response to a request signal issued by the information management device and the state of the command information are A flag information indicating that the count information for counting the number of times of execution in which the command indicated by the command information is executed when a predetermined condition is satisfied is transmitted to the mobile management device. A receiving unit that receives transmission information including the receiving unit from the mobile management device, a generation unit that generates the count information based on the flag information, the count information, and response information to the command information, to the mobile management device. And a transmitting unit for transmitting.

第1実施例に係るジョブ配信システムの概略構成を示す。1 shows a schematic configuration of a job distribution system according to a first example. 車載端末と、ビークルクラウドサーバと、サービスクラウドサーバとの間のデータの流れを概略的に示した図である。It is the figure which showed roughly the flow of the data between an in-vehicle terminal, a vehicle cloud server, and a service cloud server. 車載端末の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a vehicle-mounted terminal. ジョブに対する車載端末の状態遷移を概略的に示した図である。It is a figure which showed roughly the state transition of the in-vehicle terminal to a job. ビークルクラウドサーバ及びサービスクラウドサーバの内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a vehicle cloud server and a service cloud server. ジョブリクエストのデータ構造の一例である。It is an example of a data structure of a job request. 送信履歴情報のデータ構造の一例である。It is an example of a data structure of transmission history information. 車載端末がジョブリクエストに基づきビークルクラウドサーバに対して送信するアップロードデータのデータ構造の一例である。It is an example of a data structure of upload data that the vehicle-mounted terminal transmits to the vehicle cloud server based on a job request. ビークルクラウドサーバがジョブリクエストに基づきサービスクラウドサーバに対して送信するアップロードデータのデータ構造の一例である。It is an example of the data structure of upload data which a vehicle cloud server transmits to a service cloud server based on a job request. 有効な状態管理フラグが含まれるジョブリクエストを受信した場合に車載端末が実行する処理手順を示すフローチャートである。It is a flow chart which shows a processing procedure which an in-vehicle terminal performs, when a job request containing a valid state management flag is received. 有効な状態管理フラグを含むジョブリクエストを受信したビークルクラウドサーバが実行する処理手順を示すフローチャートを示す。9 is a flowchart showing a processing procedure executed by a vehicle cloud server that receives a job request including a valid state management flag. 適用例におけるジョブ配信システムの構成例を示す。The structural example of the job distribution system in an application example is shown. A駅の駅前通りを示した俯瞰図である。It is the bird's-eye view which showed the station front street of A station. 第2実施例に係る車載端末の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the vehicle-mounted terminal which concerns on 2nd Example. 第2実施例に係るアップロードデータのデータ構造の一例である。It is an example of a data structure of upload data according to the second embodiment. 有効な状態管理フラグが含まれるジョブリクエストを受信した場合に第2実施例に係る車載端末が実行する処理手順を示すフローチャートである。It is a flowchart which shows the process procedure which the vehicle-mounted terminal which concerns on 2nd Example performs, when the job request containing the effective state management flag is received. 有効な状態管理フラグを含むジョブリクエストを受信した第2実施例に係るビークルクラウドサーバが実行する処理手順を示すフローチャートを示す。9 is a flowchart showing a processing procedure executed by the vehicle cloud server according to the second embodiment which receives a job request including a valid status management flag. 第3実施例に係るアップロードデータのデータ構造の一例である。It is an example of a data structure of upload data according to the third embodiment. 第3実施例に係るビークルクラウドサーバの内部構成を概略的に示した図である。It is the figure which showed roughly the internal structure of the vehicle cloud server which concerns on 3rd Example. 有効な状態管理フラグを含むジョブリクエストを受信した第3実施例に係る車載端末が実行する処理手順を示すフローチャートである。It is a flowchart which shows the process procedure which the vehicle-mounted terminal which concerns on 3rd Example which received the job request containing the effective state management flag. 有効な状態管理フラグを含むジョブリクエストを受信した第3実施例に係るビークルクラウドサーバが実行する処理手順を示すフローチャートを示す。9 is a flowchart showing a processing procedure executed by the vehicle cloud server according to the third embodiment which receives a job request including a valid status management flag.

1つの好適な実施形態は、移動体管理装置は、情報管理装置が発した要求信号を受信する第1受信部と、前記要求信号に応じた指令情報と、前記指令情報の状態が、所定条件が満たされた場合に前記指令情報が示す指令を実行する状態である実行状態になった回数を計数するための計数情報を送信することを示すフラグ情報と、を含む送信情報を生成する生成部と、複数の移動体に対して前記送信情報を送信する第1送信部と、前記指令情報に対する応答情報と前記計数情報とを受信する第2受信部と、前記計数情報に基づき、前記指令情報が前記実行状態となった移動体の数と、移動体毎の前記指令情報が前記実行状態となった回数と、の少なくとも一方を計数する計数部と、前記計数部の計数結果に基づく情報を前記情報管理装置に送信する第2送信部と、を備える。この態様により、移動体管理装置は、指令情報が実行状態となった移動体の数と、移動体毎の指令情報が実行状態となった回数と、の少なくとも一方を計数するための計数情報を移動体から受信し、計数情報を用いた計数結果に基づく情報を情報管理装置に送信することができる。この計数結果に基づく情報は、例えば、要求信号に基づくデータ収集に関する種々の分析等に好適に利用される。 In a preferred embodiment, the mobile management device includes a first receiving unit that receives a request signal issued by an information management device, command information according to the request signal, and a state of the command information that meets a predetermined condition. And a flag information indicating that the count information for counting the number of times of execution, which is a state of executing the command indicated by the command information, is transmitted, and a generation unit that generates transmission information including A first transmitting unit that transmits the transmission information to a plurality of moving bodies, a second receiving unit that receives response information for the command information and the count information, and the command information based on the count information. A count unit for counting at least one of the number of mobile units in the execution state and the number of times the command information for each mobile unit has been in the execution state, and information based on the counting result of the count unit. A second transmitting unit for transmitting to the information management device. According to this aspect, the mobile management device provides the counting information for counting at least one of the number of mobiles whose command information is in the execution state and the number of times the command information of each mobile is in the execution state. Information based on the counting result using the counting information, which is received from the mobile body, can be transmitted to the information management device. The information based on the counting result is suitably used for various analyzes related to data collection based on the request signal, for example.

上記移動体管理装置の一態様では、移動体管理装置は、前記計数情報は、前記指令情報の状態が、前記実行状態と、前記条件が満たされない場合に前記指令が実行されない状態である非実行状態と、の状態に変化した履歴を示す履歴情報を含み、前記計数部は、前記複数の移動体から受信する前記履歴情報に基づき、前記指令情報が前記実行状態となった移動体の数と、移動体毎の前記指令情報が前記実行状態となった回数と、の少なくとも一方を計数する。この態様によれば、移動体管理情報は、指令情報が実行状態となった移動体の数と、移動体毎の指令情報が実行状態となった回数と、の少なくとも一方を好適に計数することができる。 In one aspect of the mobile management device, the mobile management device is configured such that the count information is in a state in which the instruction information is in the execution state and the instruction is not executed when the condition is not satisfied. A state, including history information indicating a history of changes to the state, the counting unit, based on the history information received from the plurality of mobile bodies, the command information, the number of mobile bodies in the execution state and , And the number of times the command information for each moving body has entered the execution state. According to this aspect, the mobile unit management information preferably counts at least one of the number of mobile units whose command information is in the execution state and the number of times the command information of each mobile unit is in the execution state. You can

上記移動体管理装置の他の一態様では、前記計数情報は、前記指令情報の状態が、前記実行状態となった回数と、前記条件が満たされない場合に前記指令が実行されない状態である非実行状態となった回数と、を示す回数情報を含み、前記計数部は、前記複数の移動体から受信する前記回数情報に基づき、前記指令情報が前記実行状態となった移動体の数と、移動体毎の前記指令情報が前記実行状態となった回数と、の少なくとも一方を計数する。この態様によっても、移動体管理装置は、指令情報が実行状態となった移動体の数と、移動体毎の指令情報が実行状態となった回数と、の少なくとも一方を好適に計数することができる。 In another aspect of the mobile unit management apparatus, the count information is a state in which the state of the instruction information is the number of times the execution state is set, and the instruction is not executed when the condition is not satisfied. The number of times the state has been reached, and the number of times indicating the number of moving bodies, and the counting unit, based on the number of times information received from the plurality of moving bodies, the number of moving bodies in which the command information is in the execution state, At least one of the number of times the command information for each body is in the execution state is counted. Also according to this aspect, the mobile unit management apparatus can preferably count at least one of the number of mobile units whose command information is in the execution state and the number of times the command information of each mobile unit is in the execution state. it can.

上記移動体管理装置の他の一態様では、前記フラグ情報は、前記計数情報を所定時間ごとに前記移動体管理装置に送信することを示す情報を含み、前記計数情報は、前記フラグ情報が示す前記計数情報の送信タイミングにおける前記指令情報の状態が、前記実行状態と、前記条件が満たされない場合に前記指令が実行されない状態である非実行状態と、のうちの一方であることを示す状態情報を含み、前記計数部は、前記複数の移動体から受信する前記状態情報に基づき、前記指令情報が前記実行状態となった移動体の数と、移動体毎の前記指令情報が前記実行状態となった回数と、の少なくとも一方を計数する。この態様によっても、移動体管理装置は、指令情報が実行状態となった移動体の数と、移動体毎の指令情報が実行状態となった回数と、の少なくとも一方を好適に計数することができる。 In another aspect of the mobile management device, the flag information includes information indicating that the count information is transmitted to the mobile management device at predetermined time intervals, and the count information is indicated by the flag information. The state information indicating that the state of the command information at the transmission timing of the count information is one of the execution state and a non-execution state in which the command is not executed when the condition is not satisfied. Including, the counting unit, based on the state information received from the plurality of moving bodies, the number of moving bodies in which the instruction information is in the execution state, and the instruction information for each moving body is the execution state. And/or at least one of Also according to this aspect, the mobile unit management apparatus can preferably count at least one of the number of mobile units whose command information is in the execution state and the number of times the command information of each mobile unit is in the execution state. it can.

上記移動体管理装置の他の一態様では、前記計数部は、前記指令情報が前記非実行状態となった移動体の数と、移動体毎の前記指令情報が前記非実行状態となった回数と、の少なくとも一方を計数する。この態様により、移動体管理装置は、要求信号に基づくデータ収集に関する分析に利用可能な指標となる情報を好適に取得することができる。 In another aspect of the mobile unit management apparatus, the counting unit may include the number of mobile units in which the command information is in the non-execution state and the number of times the command information for each mobile unit is in the non-execution state. At least one of and is counted. According to this aspect, the mobile management device can suitably acquire information that serves as an index that can be used for analysis related to data collection based on the request signal.

他の好適な実施形態では、移動体管理装置が移動体ごとに送信する送信データのデータ構造であって、前記移動体に実行させる指令の内容を示す指令情報と、前記指令情報の状態が、所定条件が満たされた場合に前記指令情報が示す指令を実行する状態である実行状態になった回数を計数するための計数情報を送信することを示すフラグ情報と、を有する送信データのデータ構造である。移動体管理装置は、このようなデータ構造を有する送信データを移動体ごとに送信することで、指令情報が示す指令を実行する状態である実行状態になった回数を計数するための計数情報を、移動体から好適に収集することができる。 In another preferred embodiment, the mobile object management device has a data structure of transmission data transmitted for each mobile object, and the command information indicating the content of the command to be executed by the mobile object and the state of the command information are: A data structure of transmission data having flag information indicating transmission of counting information for counting the number of times of execution, which is a state of executing the command indicated by the command information when a predetermined condition is satisfied Is. The mobile object management device transmits the transmission data having such a data structure for each mobile object, thereby providing the count information for counting the number of times of the execution state in which the command indicated by the command information is executed. , Can be suitably collected from a mobile body.

さらに別の好適な実施形態では、移動体管理装置が実行する制御方法であって、情報管理装置が発した要求信号を受信する第1受信工程と、前記要求信号に応じた指令情報と、前記指令情報の状態が、所定条件が満たされた場合に前記指令情報が示す指令を実行する状態である実行状態になった回数を計数するための計数情報を送信することを示すフラグ情報と、を含む送信情報を生成する生成工程と、複数の移動体に対して前記送信情報を送信する第1送信工程と、前記指令情報に対する応答情報と前記計数情報とを受信する第2受信工程と、前記計数情報に基づき、前記指令情報が前記実行状態となった移動体の数と、移動体毎の前記指令情報が前記実行状態となった回数と、の少なくとも一方を計数する計数工程と、前記計数部の計数結果に基づく情報を前記情報管理装置に送信する第2送信工程と、を有する。移動体管理装置は、この制御方法を実行することで、指令情報が実行状態となった移動体の数と、移動体毎の指令情報が実行状態となった回数と、の少なくとも一方を計数するための計数情報を移動体から好適に受信し、計数情報を用いた計数結果に基づく情報を情報管理装置に好適に送信することができる。 In still another preferred embodiment, a control method executed by a mobile management device, comprising: a first receiving step of receiving a request signal issued by an information management device; command information according to the request signal; The flag information indicating that the state of the command information is to transmit the count information for counting the number of times the command information indicated by the command information is in the execution state, which is the condition to execute the command when the predetermined condition is satisfied, and A generation step of generating transmission information including the first transmission step of transmitting the transmission information to a plurality of mobile bodies; a second reception step of receiving response information to the command information and the count information; A counting step of counting at least one of the number of moving bodies in which the command information is in the execution state and the number of times in which the command information for each moving body is in the execution state based on counting information; A second transmitting step of transmitting information based on the counting result of the set to the information management device. By executing this control method, the mobile management device counts at least one of the number of mobiles whose command information is in the execution state and the number of times the command information of each mobile is in the execution state. It is possible to preferably receive the count information for the use from the mobile body, and to appropriately send the information based on the count result using the count information to the information management device.

さらに別の好適な実施形態は、上記記載の制御方法を、コンピュータにより実行させるプログラムである。コンピュータは、このプログラムを実行することで、処理情報が示す処理の状態遷移の履歴情報の送信を、処理情報の送信先の端末装置に好適に指示することができる。好適には、上記プログラムは、記憶媒体に記憶される。 Yet another preferred embodiment is a program that causes a computer to execute the control method described above. By executing this program, the computer can suitably instruct the terminal device that is the transmission destination of the processing information to transmit the history information of the state transition of the processing indicated by the processing information. Preferably, the program is stored in a storage medium.

さらに別の好適な実施形態は、移動体に搭載される端末装置であって、情報管理装置が発した要求信号に応じて移動体管理装置が発した指令情報と、前記指令情報の状態が、所定条件を満たした場合に前記指令情報が示す指令を実行する状態である実行状態になった回数を計数するための計数情報を前記移動体管理装置に送信することを示すフラグ情報と、を含む送信情報を移動体管理装置から受信する受信部と、前記フラグ情報に基づき前記計数情報を生成する生成部と、前記計数情報と、前記指令情報に対する応答情報と、を前記移動体管理装置に送信する送信部と、を備える。この態様により、端末装置は、指令情報に対する応答情報と共に、指令情報が示す指令を実行する状態である実行状態になった回数を計数するための計数情報を、移動体管理装置に好適に供給することができる。 Yet another preferred embodiment is a terminal device mounted on a mobile body, wherein the command information issued by the mobile body management device in response to a request signal issued by the information management device and the state of the command information are: Flag information indicating that count information for counting the number of times of execution in which the command indicated by the command information is executed when a predetermined condition is satisfied is transmitted to the mobile management device. A reception unit that receives transmission information from the mobile management device, a generation unit that generates the count information based on the flag information, the count information, and response information to the command information are transmitted to the mobile management device. And a transmitting unit that does. According to this aspect, the terminal device preferably supplies to the mobile management device, together with the response information to the command information, the count information for counting the number of times of execution in which the command indicated by the command information is executed. be able to.

以下、図面を参照して本発明の好適な第1〜第3実施例について説明する。
<第1実施例>
(1)全体構成
図1は、第1実施例に係るジョブ配信システムの概略構成を示す。ジョブ配信システムは、車両のセンサが生成した種々の情報を収集するためのシステムであり、車両Vと、ビークル(VEHICLE)クラウドサーバ30と、サービスクラウドサーバ40とを備える。
Hereinafter, preferred first to third embodiments of the present invention will be described with reference to the drawings.
<First embodiment>
(1) Overall Configuration FIG. 1 shows a schematic configuration of a job distribution system according to the first embodiment. The job distribution system is a system for collecting various information generated by a vehicle sensor, and includes a vehicle V, a vehicle (VEHICLE) cloud server 30, and a service cloud server 40.

車両Vには、車載端末20が搭載されている。車載端末20は、車両Vの状態又は周辺環境に関する情報を取得するための種々のセンサと接続し、所定の処理を行う情報処理装置である。車載端末20は、これらのセンサの出力に基づき、サービスクラウドサーバ40から依頼された処理(単に「ジョブ」とも呼ぶ。)を実行する。本実施例では、ジョブは、主に、サービスクラウドサーバ40から指定された特定の車両Vの状態又は周辺環境に関する情報をセンサにより取得してサービスクラウドサーバ40にアップロードする処理を指す。車両V及び車載端末20は、「移動体」の一例である。また、車載端末20は、「端末装置」の一例である。尚、「移動体」は車両V及び車載端末20に限られず、自転車、車椅子、ドローン、船舶等の移動体であってもよい。 An in-vehicle terminal 20 is mounted on the vehicle V. The vehicle-mounted terminal 20 is an information processing device that is connected to various sensors for acquiring information about the state of the vehicle V or the surrounding environment and performs a predetermined process. The vehicle-mounted terminal 20 executes the processing requested by the service cloud server 40 (also simply referred to as “job”) based on the outputs of these sensors. In the present embodiment, the job mainly refers to a process of acquiring information about the state of the specific vehicle V designated by the service cloud server 40 or the surrounding environment from the sensor and uploading the information to the service cloud server 40. The vehicle V and the vehicle-mounted terminal 20 are examples of a “moving body”. The in-vehicle terminal 20 is an example of a “terminal device”. The “moving body” is not limited to the vehicle V and the in-vehicle terminal 20, and may be a moving body such as a bicycle, a wheelchair, a drone, or a ship.

ビークルクラウドサーバ30は、ビークルクラウドを構成するサーバ装置である。ビークルクラウドとは、例えば、ユーザに提供された車両(例えば自動運転車)を管理し、車両から各種の情報を収集する情報収集会社が運営するクラウドである。情報収集会社は、自動車メーカー自身がその役割を担ってもよく、また、自動車メーカーによって直接、または間接的に運営されてもよい。例えば、自動車メーカーとしてA社、B社、C社の3社が存在する場合、A社が運営する情報収集会社、B社が運営する情報収集会社、C社が運営する情報収集会社が個別に存在し、各情報収集会社は運営する自動車メーカーが製造した車両から各種の情報を収集する。あるいは、D社、E社、F社などの複数の自動車メーカーが共同で委託/運営する形態でもよい。ビークルクラウドサーバ30は、「移動体管理装置」の一例である。 The vehicle cloud server 30 is a server device that constitutes a vehicle cloud. The vehicle cloud is, for example, a cloud operated by an information collection company that manages a vehicle (for example, an autonomous vehicle) provided to a user and collects various kinds of information from the vehicle. The information collection company may be played by the automobile manufacturer itself, or may be directly or indirectly operated by the automobile manufacturer. For example, if there are three automobile manufacturers, A, B, and C, the information collection company operated by A, the information collection company operated by B, and the information collection company operated by C are individually Existing information collecting companies collect various kinds of information from vehicles manufactured by the operating automobile manufacturers. Alternatively, a form in which a plurality of automobile manufacturers such as D company, E company, and F company jointly commission/operate may be adopted. The vehicle cloud server 30 is an example of a “mobile body management device”.

サービスクラウドサーバ40は、サービスクラウドを構成するサーバ装置である。サービスクラウドとは、例えば、車両に関するサービスを提供するサービス提供会社が運営するクラウドである。サービス提供会社としては、保険に関するサービスを提供する保険会社、地図に関するサービスを提供する地図サービス会社、駐車場に関するサービスを提供する駐車場サービス会社、経路探索に関するサービスを提供する経路探索サービス会社などが挙げられる。サービスクラウドサーバ40は、目的に応じて、車載端末20に実行させるジョブを指示する情報(「ジョブリクエスト」とも呼ぶ。)を生成し、ビークルクラウドサーバ30を介して車載端末20に配信する。サービスクラウドサーバ40は、「情報管理装置」の一例である。 The service cloud server 40 is a server device that constitutes a service cloud. The service cloud is, for example, a cloud operated by a service providing company that provides services related to vehicles. Service providers include insurance companies that provide insurance services, map service companies that provide map services, parking service companies that provide parking service, and route search service companies that provide route search service. Can be mentioned. The service cloud server 40 generates information (also referred to as “job request”) instructing a job to be executed by the vehicle-mounted terminal 20 according to the purpose, and delivers the information to the vehicle-mounted terminal 20 via the vehicle cloud server 30. The service cloud server 40 is an example of an “information management device”.

車両Vに搭載されている車載端末20と、ビークルクラウドサーバ30と、サービスクラウドサーバ40とは、ネットワーク5を通じて有線又は無線により通信が可能である。本実施例では、車載端末20と、ビークルクラウドサーバ30と、サービスクラウドサーバ40とは、サービスクラウドサーバ40が生成したジョブリクエストの授受、及び、ジョブリクエストに応じて車載端末20が生成したデータ(「アップロードデータ」とも呼ぶ。)の授受を行う。 The vehicle-mounted terminal 20 mounted in the vehicle V, the vehicle cloud server 30, and the service cloud server 40 can communicate with each other via the network 5 in a wired or wireless manner. In the present embodiment, the vehicle-mounted terminal 20, the vehicle cloud server 30, and the service cloud server 40 exchange the job request generated by the service cloud server 40, and the data (the data generated by the vehicle-mounted terminal 20 in response to the job request). Also referred to as "upload data").

なお、図1に示すジョブ配信システムの構成は一例であり、本発明が適用可能な構成はこれに限定されない。例えば、サービスクラウドとして、ジョブリクエストを生成するサービスクラウド(第1サービスクラウド)と、第1サービスクラウドに所定の情報の収集を依頼するサービスクラウド(第2サービスクラウド)とが存在してもよい。この場合、例えば、第1サービスクラウドは、第2サービスクラウドの依頼内容に応じてジョブリクエストを生成し、かつ、ジョブリクエストの送信先のビークルクラウドから受信したアップロードデータに基づいて、第2サービスクラウドが求める情報を第2サービスクラウドに送信する。 The configuration of the job distribution system shown in FIG. 1 is an example, and the configuration to which the present invention is applicable is not limited to this. For example, as the service cloud, there may be a service cloud that generates a job request (first service cloud) and a service cloud that requests the first service cloud to collect predetermined information (second service cloud). In this case, for example, the first service cloud generates a job request according to the request content of the second service cloud, and based on the upload data received from the vehicle cloud to which the job request is transmitted, the second service cloud. Sends the information requested by the second service cloud.

図2は、車載端末20と、ビークルクラウドサーバ30と、サービスクラウドサーバ40との間のデータの流れを概略的に示した図である。 FIG. 2 is a diagram schematically showing a data flow among the vehicle-mounted terminal 20, the vehicle cloud server 30, and the service cloud server 40.

図2に示すように、サービスクラウドサーバ40は、生成したジョブリクエスト「JR1」をビークルクラウドサーバ30に送信し、ビークルクラウドサーバ30は、サービスクラウドサーバ40から受信したジョブリクエストJR1に基づき生成したジョブリクエスト「JR2」を、車載端末20に送信する。なお、ジョブリクエストJR1には、ジョブを実行すべき車両を示す車両IDやドライバIDなどを含めることが可能となっており、サービスクラウドサーバ40は、必要に応じて、送信対象とする車両IDやドライバIDをジョブリクエストJR1に含める。これにより、ビークルクラウドサーバ30は、対応する車両の車載端末20に対してジョブリクエストJR2を送信する。 As shown in FIG. 2, the service cloud server 40 transmits the generated job request “JR1” to the vehicle cloud server 30, and the vehicle cloud server 30 generates the job based on the job request JR1 received from the service cloud server 40. The request “JR2” is transmitted to the vehicle-mounted terminal 20. It should be noted that the job request JR1 can include a vehicle ID indicating a vehicle on which the job should be executed, a driver ID, and the like. The service cloud server 40 can transmit the vehicle ID to be transmitted and the vehicle ID to be transmitted, as necessary. The driver ID is included in the job request JR1. Thereby, the vehicle cloud server 30 transmits the job request JR2 to the vehicle-mounted terminal 20 of the corresponding vehicle.

ジョブリクエストJR2を受信した車載端末20は、ジョブリクエストJR2において指定されたデータをセンサより収集し、収集したデータをアップロードデータ「UD2」としてビークルクラウドサーバ30に送信する。ビークルクラウドサーバ30は、車載端末20からアップロードデータUD2を受信した場合、受信したアップロードデータUD2に基づきアップロードデータ「UD1」を生成し、生成したアップロードデータUD1を依頼元のサービスクラウドサーバ40へ送信する。ジョブリクエストJR1、JR2及びアップロードデータUD1、UD2のデータ構造については、「(5)データ構造」のセクションにて詳しく説明する。サービスクラウドサーバ40がビークルクラウドサーバ30へ送信するジョブリクエストJR1は、「要求信号」の一例であり、ビークルクラウドサーバ30から車載端末20に送信するジョブリクエストJR2は、「送信情報」の一例であり、アップロードデータUD2は、「受信結果」の一例である。 The vehicle-mounted terminal 20 that has received the job request JR2 collects the data specified in the job request JR2 from the sensor, and transmits the collected data to the vehicle cloud server 30 as upload data “UD2”. When the vehicle cloud server 30 receives the upload data UD2 from the vehicle-mounted terminal 20, the vehicle cloud server 30 generates the upload data “UD1” based on the received upload data UD2, and transmits the generated upload data UD1 to the service cloud server 40 of the request source. .. The data structures of the job requests JR1 and JR2 and the upload data UD1 and UD2 will be described in detail in the section “(5) Data structure ”. The job request JR1 transmitted from the service cloud server 40 to the vehicle cloud server 30 is an example of a “request signal”, and the job request JR2 transmitted from the vehicle cloud server 30 to the vehicle-mounted terminal 20 is an example of “transmission information”. The upload data UD2 is an example of “reception result”.

(2)車載端末の構成
図3は、車載端末20の内部構成を示すブロック図である。図示のように、車載端末20は、主に、通信部21と、記憶部22と、入力部23と、制御部24と、インターフェース25と、出力部26とを有する。車載端末20内の各要素は、バスライン29を介して相互に接続されている。また、インターフェース25は、センサ部27と接続されている。
(2) Configuration of In-Vehicle Terminal FIG. 3 is a block diagram showing the internal configuration of the in-vehicle terminal 20. As illustrated, the vehicle-mounted terminal 20 mainly includes a communication unit 21, a storage unit 22, an input unit 23, a control unit 24, an interface 25, and an output unit 26. Each element in the vehicle-mounted terminal 20 is connected to each other via a bus line 29. The interface 25 is also connected to the sensor unit 27.

通信部21は、制御部24の制御に基づき、アップロードデータをビークルクラウドサーバ30へ送信したり、地図DBを更新するための地図データをビークルクラウドサーバ30から受信したりする。また、通信部21は、車両を制御するための信号を車両に送信する処理、車両の状態に関する信号を車両から受信する処理を行ってもよい。 Under the control of the control unit 24, the communication unit 21 transmits the upload data to the vehicle cloud server 30 and receives the map data for updating the map DB from the vehicle cloud server 30. The communication unit 21 may also perform a process of transmitting a signal for controlling the vehicle to the vehicle and a process of receiving a signal related to the state of the vehicle from the vehicle.

記憶部22は、制御部24が実行するプログラムや、制御部24が所定の処理を実行する為に必要な情報を記憶する。記憶部22は、不揮発性メモリ(内部ストレージ)を含んでいる。本実施例では、記憶部22は、地図DBと、センサデータキャッシュと、車両属性情報と、通信部21によりビークルクラウドサーバ30から受信したジョブリクエストJR2と、状態カウント情報と、を記憶する。 The storage unit 22 stores a program executed by the control unit 24 and information necessary for the control unit 24 to execute a predetermined process. The storage unit 22 includes a non-volatile memory (internal storage). In this embodiment, the storage unit 22 stores a map DB, a sensor data cache, vehicle attribute information, a job request JR2 received from the vehicle cloud server 30 by the communication unit 21, and state count information.

地図DBは、例えば、道路データ、施設データ、及び、道路周辺の地物データなどを含むデータベースである。道路データには、経路探索用の車道/車線ネットワークデータ、道路形状データ、交通法規データなどが含まれる。地物データは、道路標識等の看板や停止線等の道路標示、センターライン等の道路区画線や道路沿いの構造物等の情報を含む。また、地物データは、自車位置推定に用いるための地物の高精度な点群情報などを含んでもよい。その他、地図DBには、位置推定に必要な種々のデータが記憶されてもよい。 The map DB is a database including, for example, road data, facility data, and feature data around the road. Road data includes road/lane network data for route search, road shape data, traffic regulation data, and the like. The feature data includes information such as signboards such as road signs and road markings such as stop lines, road marking lines such as center lines and structures along the road. Further, the feature data may include highly accurate point cloud information of the feature for use in estimating the vehicle position. In addition, various data required for position estimation may be stored in the map DB.

センサデータキャッシュは、センサ部27の出力データを一時的に保持するキャッシュメモリである。車両属性情報は、車両の種別、車両ID、車両長さ、車幅、車高などの車両サイズ、車両の燃料タイプなど、車載端末20を搭載した車両Vの属性に関する情報を示す。 The sensor data cache is a cache memory that temporarily holds the output data of the sensor unit 27. The vehicle attribute information indicates information on attributes of the vehicle V equipped with the on-vehicle terminal 20, such as vehicle type, vehicle ID, vehicle size such as vehicle length, vehicle width, vehicle height, and fuel type of the vehicle.

状態カウント情報は、ジョブリクエストJR2により依頼されたジョブが有効な期間における当該ジョブの状態ごとの累積の遷移回数を示す情報である。状態カウント情報は、例えば、ジョブが取り得る状態ごとに、当該状態への遷移回数が関連付けられた情報である。制御部24は、上述の状態の遷移を検知する毎に、状態カウント情報を更新する。ジョブの状態遷移については、図4を用いて後述する。状態カウント情報は、「計数情報」の一例である。 The state count information is information indicating the cumulative number of transitions for each state of the job requested by the job request JR2 during a valid period. The state count information is, for example, information in which the number of transitions to the state is associated with each possible state of the job. The control unit 24 updates the state count information every time the above-mentioned state transition is detected. The job state transition will be described later with reference to FIG. The state count information is an example of “count information”.

入力部23は、ユーザが操作するためのボタン、タッチパネル、リモートコントローラ、音声入力装置等であり、例えば、経路探索のための目的地を指定する入力、自動運転のオン及びオフを指定する入力などを受け付け、生成した入力信号を制御部24へ供給する。出力部26は、例えば、制御部24の制御に基づき出力を行うディスプレイやスピーカ等である。 The input unit 23 is a button for a user to operate, a touch panel, a remote controller, a voice input device, or the like, and for example, an input for designating a destination for route search, an input for designating ON/OFF of automatic driving, and the like. Is received, and the generated input signal is supplied to the control unit 24. The output unit 26 is, for example, a display, a speaker, or the like that outputs under the control of the control unit 24.

インターフェース25は、センサ部27の出力データを制御部24やセンサデータキャッシュに供給するためのインターフェース動作を行う。センサ部27は、ライダやカメラなどの車両の周辺環境を認識するための複数の外界センサと、GPS受信機、ジャイロセンサ、ポジションセンサ、3軸センサなどの内界センサを含む。ライダは、外界に存在する物体までの距離を離散的に測定し、当該物体の表面を3次元の点群として認識し、点群データを生成する。カメラは、車両から撮影した画像データを生成する。ポジションセンサは、各外界センサの位置を検出するために設けられ、3軸センサは、各外界センサの姿勢を検出するために設けられている。なお、センサ部27は、図3に示した外界センサ及び内界センサ以外の任意の外界センサ及び内界センサを有してもよい。例えば、センサ部27は、外界センサとして、超音波センサ、赤外線センサ、マイクなどを含んでもよい。 The interface 25 performs an interface operation for supplying the output data of the sensor unit 27 to the control unit 24 and the sensor data cache. The sensor unit 27 includes a plurality of external sensors such as a rider and a camera for recognizing the surrounding environment of the vehicle, and internal sensors such as a GPS receiver, a gyro sensor, a position sensor, and a three-axis sensor. The lidar discretely measures the distance to an object existing in the external world, recognizes the surface of the object as a three-dimensional point cloud, and generates point cloud data. The camera generates image data taken from the vehicle. The position sensor is provided to detect the position of each external sensor, and the triaxial sensor is provided to detect the attitude of each external sensor. The sensor unit 27 may include any external sensor and internal sensor other than the external sensor and the internal sensor shown in FIG. For example, the sensor unit 27 may include an ultrasonic sensor, an infrared sensor, a microphone, or the like as the external sensor.

制御部24は、1または複数のプラットフォーム上で所定のプログラムを実行するCPUなどを含み、車載端末20の全体を制御する。制御部24は、機能的には、位置推定部と、オブジェクト検出部と、アップロードデータ生成部とを含む。制御部24は、プログラムを実行するコンピュータとして機能する。制御部24は、「生成部」及びプログラムを実行するコンピュータの一例であり、通信部21及び制御部24は、「受信部」及び「送信部」の一例である。 The control unit 24 includes a CPU that executes a predetermined program on one or more platforms, and controls the entire vehicle-mounted terminal 20. The control unit 24 functionally includes a position estimation unit, an object detection unit, and an upload data generation unit. The control unit 24 functions as a computer that executes a program. The control unit 24 is an example of a computer that executes a “generation unit” and a program, and the communication unit 21 and the control unit 24 are examples of a “reception unit” and a “transmission unit”.

位置推定部は、センサデータキャッシュに保持されているセンサ部27の出力データ及び地図DBに基づき、自車位置(車両の姿勢も含む)を推定する。位置推定部は、種々の位置推定方法を実行可能となっている。位置推定部は、例えば、GPS受信機及びジャイロセンサ等の自立測位センサの出力に基づくデッドレコニング(自律航法)による自車位置推定方法、自律航法に地図DBの道路データなどをさらに照合する処理(マップマッチング)を行う自車位置推定方法、周囲に存在する所定のオブジェクト(ランドマーク)を基準としてライダやカメラなどの外界センサの出力データと地図DBの地物情報が示すランドマークの位置情報とに基づく自車位置推定方法などを実行する。そして、位置推定部は、現在実行可能な位置推定方法の中から最も高い推定精度となる位置推定方法を実行し、実行した位置推定方法に基づき得られた自車位置等を示した自車位置情報を、アップロードデータ生成部へ供給する。 The position estimation unit estimates the vehicle position (including the vehicle attitude) based on the output data of the sensor unit 27 and the map DB held in the sensor data cache. The position estimation unit can execute various position estimation methods. The position estimation unit further compares the vehicle position estimation method by dead reckoning (autonomous navigation) based on the output of a self-contained positioning sensor such as a GPS receiver and a gyro sensor, and the road data of the map DB with the autonomous navigation ( A vehicle position estimation method for performing map matching), output data of an external sensor such as a rider or a camera based on a predetermined object (landmark) existing around, and position information of the landmark indicated by the feature information of the map DB. A vehicle position estimation method based on the above is executed. Then, the position estimation unit executes the position estimation method having the highest estimation accuracy among the currently-executable position estimation methods, and the vehicle position indicating the vehicle position etc. obtained based on the executed position estimation method. The information is supplied to the upload data generation unit.

オブジェクト検出部は、センサ部27が出力する点群情報、画像データ、音声データ等に基づき、所定のオブジェクトを検出する。この場合、例えば、オブジェクト検出部は、位置推定部が推定した自車位置に基づき、センサ部27により検出したオブジェクトに対応する地物データを地図DBから抽出する。そして、オブジェクト検出部は、例えば、センサ部27により検出したオブジェクトの位置及び形状等と、地図DBから抽出した地物データが示すオブジェクトの位置及び形状等とに違いがある場合、又は、地図DBに該当する地物データが存在しない場合などに、センサ部27により検出したオブジェクトに関する情報を、アップロードデータ生成部へ供給する。 The object detection unit detects a predetermined object based on the point cloud information, image data, audio data, etc. output by the sensor unit 27. In this case, for example, the object detection unit extracts the feature data corresponding to the object detected by the sensor unit 27 from the map DB based on the vehicle position estimated by the position estimation unit. Then, the object detection unit, for example, when there is a difference between the position and shape of the object detected by the sensor unit 27 and the position and shape of the object indicated by the feature data extracted from the map DB, or the map DB When there is no feature data corresponding to the above, the information about the object detected by the sensor unit 27 is supplied to the upload data generation unit.

アップロードデータ生成部は、位置推定部から供給される自車位置情報、オブジェクト検出部から供給されるオブジェクトデータ、及びセンサデータキャッシュから供給されるセンサ部27の出力データなどに基づき、アップロードデータUD2を生成する。本実施例では、アップロードデータ生成部は、記憶部22に記憶されたジョブリクエストJR2が指定する条件を満たすときに同データが指定するデータをアップロードデータUD2に含め、通信部21によりビークルクラウドサーバ30へアップロードデータUD2を送信する。 The upload data generation unit generates the upload data UD2 based on the vehicle position information supplied from the position estimation unit, the object data supplied from the object detection unit, the output data of the sensor unit 27 supplied from the sensor data cache, and the like. To generate. In the present embodiment, the upload data generation unit includes the data specified by the data when the condition specified by the job request JR2 stored in the storage unit 22 is included in the upload data UD2, and the communication unit 21 causes the vehicle cloud server 30 to perform the upload. The upload data UD2 is transmitted to.

ここで、ジョブリクエストJR2が示すジョブの状態(単に「ジョブ状態」とも呼ぶ。)の遷移について説明する。 Here, the transition of the job state (also simply referred to as “job state”) indicated by the job request JR2 will be described.

図4は、ジョブ状態の遷移を概略的に示した図である。図4には、ジョブリクエストJR2が示すジョブの実行条件を満たさないジョブ状態であるインアクティブ状態(非実行状態)と、ジョブの実行条件を満たすジョブ状態であるアクティブ状態(実行状態)と、例外的な場合に遷移するフェール(Failed)とが記されている。 FIG. 4 is a diagram schematically showing the transition of job states. In FIG. 4, an inactive state (non-execution state) that is a job state that does not satisfy the job execution condition indicated by the job request JR2, an active state (execution state) that is a job state that satisfies the job execution condition, and an exception Failing that transitions in a specific case is described.

ここで、車載端末20は、ジョブリクエストJR2を受信した場合には、所定の認証処理を行い、ジョブリクエストJR2を受け付けることが適切であるか否かを判定する。例えば、車載端末20は、認証処理として、ジョブリクエストJR2において指定された車両ID又は/及びドライバIDが車両Vの車両ID又は/及び車両VのドライバのドライバIDとが一致するか否か判定する。 Here, when receiving the job request JR2, the vehicle-mounted terminal 20 performs a predetermined authentication process and determines whether it is appropriate to accept the job request JR2. For example, the vehicle-mounted terminal 20 determines whether the vehicle ID or/and the driver ID specified in the job request JR2 matches the vehicle ID of the vehicle V or/and the driver ID of the driver of the vehicle V as the authentication process. ..

そして、認証処理が成功した場合には、ジョブはインアクティブ状態に自動的に遷移する。その後、ジョブリクエストJR2が示すジョブの実行条件を満たすと判断した場合には、当該ジョブはアクティブ状態に遷移し、アクティブ状態に遷移後に上述の実行条件を満たさないと判断した場合には、当該ジョブはインアクティブ状態に遷移する。 Then, when the authentication process is successful, the job automatically transits to the inactive state. After that, if it is determined that the execution condition of the job indicated by the job request JR2 is satisfied, the job transitions to the active state, and if it is determined that the above execution condition is not satisfied after transitioning to the active state, the job is determined. Transitions to the inactive state.

一方、認証処理が失敗した場合には、ジョブはフェールに移行する。そして、車載端末20は、この場合、フェールとなった旨のアップロードデータUD2をビークルクラウドサーバ30へ送信する。なお、所定の例外が発生した場合には、ジョブをアクティブ状態又はインアクティブ状態からフェールに移行してもよい。そして、車載端末20は、ジョブの有効期限等が終了した場合又はフェールになった場合などにジョブを終了し、ジョブリクエストJR2を記憶部22から削除する。フェールとなった旨のアップロードデータUD2は、「フェール情報」の一例である。 On the other hand, if the authentication process fails, the job shifts to fail. Then, in this case, the vehicle-mounted terminal 20 transmits the upload data UD2 indicating that the failure has occurred to the vehicle cloud server 30. When a predetermined exception occurs, the job may be transferred from the active state or the inactive state to fail. Then, the vehicle-mounted terminal 20 terminates the job when the expiration date of the job has expired or when the job has failed, and deletes the job request JR2 from the storage unit 22. The upload data UD2 indicating that a failure has occurred is an example of “failure information”.

(3)ビークルクラウドサーバの構成
次に、ビークルクラウドサーバ30について詳しく説明する。図5(A)はビークルクラウドサーバ30の内部構成を示すブロック図である。図示のように、ビークルクラウドサーバ30は、通信部31と、記憶部32と、制御部33とを備える。ビークルクラウドサーバ30内の各要素は、バスライン39を介して相互に接続されている。
(3) Configuration of Vehicle Cloud Server Next, the vehicle cloud server 30 will be described in detail. FIG. 5A is a block diagram showing the internal configuration of the vehicle cloud server 30. As illustrated, the vehicle cloud server 30 includes a communication unit 31, a storage unit 32, and a control unit 33. The respective elements in the vehicle cloud server 30 are connected to each other via a bus line 39.

通信部31は、制御部33の制御に基づき、車両Vの車載端末20及びサービスクラウドサーバ40と通信する。具体的には、通信部31は、サービスクラウドサーバ40からジョブリクエストJR1を受信したり、当該ジョブリクエストJR1に基づき生成されたジョブリクエストJR2を車載端末20へ送信したりする。また、通信部31は、車載端末20からアップロードデータUD2を受信したり、当該アップロードデータUD2に基づき生成したアップロードデータUD1をサービスクラウドサーバ40へ送信したりする。 The communication unit 31 communicates with the vehicle-mounted terminal 20 of the vehicle V and the service cloud server 40 under the control of the control unit 33. Specifically, the communication unit 31 receives the job request JR1 from the service cloud server 40 and transmits the job request JR2 generated based on the job request JR1 to the vehicle-mounted terminal 20. Further, the communication unit 31 receives the upload data UD2 from the vehicle-mounted terminal 20 and transmits the upload data UD1 generated based on the upload data UD2 to the service cloud server 40.

記憶部32は、ROM、RAMなどを含み、ビークルクラウドサーバ30が実行する各種の処理のためのプログラムが記憶されている。また、記憶部32は、各種の処理が実行される際の作業メモリとしても使用される。また、記憶部32は、車両情報と、送信履歴情報Ihとを記憶している。車両情報は、ビークルクラウドが管理する車両に関する情報である。車両情報は、例えば、車両ごとに、車両ID又は/及びドライバIDと、対応する車両の車載端末20へデータを送信するための通信アドレス情報と、車両が利用しているサービスに関する情報とを対応付けたテーブル情報である。送信履歴情報Ihは、ジョブリクエストJR2を各車両の車載端末20に送信した履歴を示すテーブルであり、詳細なデータ構造については後述する。 The storage unit 32 includes ROM, RAM, and the like, and stores programs for various processes executed by the vehicle cloud server 30. The storage unit 32 is also used as a work memory when various processes are executed. The storage unit 32 also stores vehicle information and transmission history information Ih. The vehicle information is information about vehicles managed by the vehicle cloud. The vehicle information corresponds to, for example, a vehicle ID or/and a driver ID for each vehicle, communication address information for transmitting data to the in-vehicle terminal 20 of the corresponding vehicle, and information regarding a service used by the vehicle. It is attached table information. The transmission history information Ih is a table showing the history of transmitting the job request JR2 to the vehicle-mounted terminal 20 of each vehicle, and the detailed data structure will be described later.

また、記憶部32は、ビークルクラウドサーバ30がサービスクラウドサーバ40から受信したジョブリクエストJR1、及び、ビークルクラウドサーバ30が車載端末20から取得したアップロードデータUD2の履歴データをさらに記憶してもよい。この場合、例えば、記憶部32には、各車載端末20から受信したアップロードデータUD2が、車載端末20を搭載している車両Vの車両IDや受信時刻などと関連付けて記憶される。同様に、記憶部32には、サービスクラウドサーバ40から受信したジョブリクエストJR1が、送信元のサービスクラウドサーバ40を特定する情報及び受信時刻などと関連付けて記憶されてもよい。 Further, the storage unit 32 may further store the job request JR1 received by the vehicle cloud server 30 from the service cloud server 40 and the history data of the upload data UD2 obtained by the vehicle cloud server 30 from the vehicle-mounted terminal 20. In this case, for example, the upload data UD2 received from each in-vehicle terminal 20 is stored in the storage unit 32 in association with the vehicle ID of the vehicle V in which the in-vehicle terminal 20 is mounted, the reception time, and the like. Similarly, the job request JR1 received from the service cloud server 40 may be stored in the storage unit 32 in association with the information specifying the service cloud server 40 of the transmission source, the reception time, and the like.

制御部33は、CPUなどのコンピュータにより構成され、ビークルクラウドサーバ30の全体を制御する。具体的には、制御部33は、記憶部32に記憶された各種のプログラムを実行することにより、各種の処理を行う。制御部33は、「生成部」、「計数部」、「第1計数部」、「第2計数部」の一例である。また、通信部31及び制御部33は、「第1受信部」、「第1送信部」、「第2受信部」、「第3受信部」、「第2送信部」の一例である。 The control unit 33 includes a computer such as a CPU, and controls the entire vehicle cloud server 30. Specifically, the control unit 33 performs various processes by executing various programs stored in the storage unit 32. The control unit 33 is an example of a “generation unit”, a “counting unit”, a “first counting unit”, and a “second counting unit”. Further, the communication unit 31 and the control unit 33 are examples of the “first receiving unit”, the “first transmitting unit”, the “second receiving unit”, the “third receiving unit”, and the “second transmitting unit”.

(4)サービスクラウドサーバの構成
次に、サービスクラウドサーバ40について詳しく説明する。図5(B)はサービスクラウドサーバ40の内部構成を示すブロック図である。図示のように、サービスクラウドサーバ40は、通信部41と、記憶部42と、制御部43とを備える。サービスクラウドサーバ40内の各要素は、バスライン49を介して相互に接続されている。
(4) Configuration of Service Cloud Server Next, the service cloud server 40 will be described in detail. FIG. 5B is a block diagram showing the internal configuration of the service cloud server 40. As illustrated, the service cloud server 40 includes a communication unit 41, a storage unit 42, and a control unit 43. The respective elements in the service cloud server 40 are connected to each other via a bus line 49.

通信部41は、制御部43の制御に基づき、ビークルクラウドサーバ30と通信する。具体的には、通信部41は、後述する提供情報に該当する情報をビークルクラウドサーバ30から受信する。 The communication unit 41 communicates with the vehicle cloud server 30 under the control of the control unit 43. Specifically, the communication unit 41 receives, from the vehicle cloud server 30, information corresponding to the provided information described below.

記憶部42は、不揮発性メモリであるROM及び揮発性メモリであるRAMなどを含み、サービスクラウドサーバ40が実行する各種の処理のためのプログラムが記憶されている。また、記憶部42は、各種の処理が実行される際の作業メモリとしても使用される。また、記憶部42は、サービスクラウドサーバ40がビークルクラウドサーバ30に対して送信したジョブリクエストJR1、及び、サービスクラウドサーバ40がビークルクラウドサーバ30から取得したアップロードデータUD1の履歴を記憶してもよい。この場合、例えば、ジョブリクエストJR1及びアップロードデータUD1は、送信先又は送信元のビークルクラウドサーバ30を特定する情報及び送受信時刻などと関連付けられて記憶部42に記憶される。 The storage unit 42 includes a ROM which is a non-volatile memory, a RAM which is a volatile memory, and the like, and stores programs for various processes executed by the service cloud server 40. The storage unit 42 is also used as a working memory when various processes are executed. Further, the storage unit 42 may store the job request JR1 transmitted from the service cloud server 40 to the vehicle cloud server 30 and the history of the upload data UD1 acquired by the service cloud server 40 from the vehicle cloud server 30. .. In this case, for example, the job request JR1 and the upload data UD1 are stored in the storage unit 42 in association with information specifying the transmission destination or transmission source vehicle cloud server 30 and the transmission/reception time.

制御部43は、CPUなどのコンピュータにより構成され、サービスクラウドサーバ40の全体を制御する。具体的には、制御部43は、記憶部42に記憶された各種のプログラムを実行することにより、各種の処理を行う。 The control unit 43 includes a computer such as a CPU and controls the entire service cloud server 40. Specifically, the control unit 43 performs various processes by executing various programs stored in the storage unit 42.

(5)データ構造
次に、各種データのデータ構造について説明する。以後では、ジョブリクエストJR1とジョブリクエストJR2とを区別しない場合には、単に「ジョブリクエスト」と表記し、アップロードデータUD1とアップロードデータUD2とを区別しない場合には、単に「アップロードデータ」と表記する。
(5−1)ジョブリクエスト
図6は、ジョブリクエストのデータ構造の一例である。図示のように、ジョブリクエストは、「バージョン情報」と、「リクエスト識別情報」と、「属性情報」と、「データ収集条件情報」と、「状態管理フラグ」と、「収集データ指定情報」とを含む。
(5) Data Structure Next, the data structure of various data will be described. Hereinafter, when the job request JR1 and the job request JR2 are not distinguished, they are simply described as “job request”, and when the upload data UD1 and the upload data UD2 are not distinguished, they are simply described as “upload data”. ..
(5-1) Job Request FIG. 6 shows an example of the data structure of a job request. As shown in the figure, the job request includes “version information”, “request identification information”, “attribute information”, “data collection condition information”, “state management flag”, and “collection data designation information”. including.

「バージョン情報」は、ジョブリクエストを規定した仕様のバージョン等を識別する情報である。「属性情報」は、対象のジョブリクエストの取り扱いを規定した情報である。 The “version information” is information for identifying the version of the specifications that specify the job request. The “attribute information” is information that defines the handling of the target job request.

「リクエスト識別情報」は、サービスクラウドサーバ40が生成するジョブリクエストJR1に固有の識別情報である。サービスクラウドサーバ40は、ジョブリクエストJR1を生成する度に、ユニークなリクエスト識別情報を生成してジョブリクエストJR1に含める。なお、ジョブリクエストJR2の「リクエスト識別情報」は、ジョブリクエストJR1の「リクエスト識別情報」と同一であってもよく、異なっていてもよい。後者の場合、ビークルクラウドサーバ30は、車載端末20に送信するジョブリクエストJR2ごとに固有の識別情報をジョブリクエストJR2の「リクエスト識別情報」として設定する。この場合、例えば、ビークルクラウドサーバ30は、ジョブリクエストJR1の「リクエスト識別情報」と当該ジョブリクエストJR1に基づき生成したジョブリクエストJR2の「リクエスト識別情報」とを対応付けるテーブル等を記憶しておく。本実施例において、ジョブリクエストJR1の「リクエスト識別情報」は、ジョブを識別する情報(ジョブID)として用いられる。 The “request identification information” is identification information unique to the job request JR1 generated by the service cloud server 40. Each time the service cloud server 40 generates the job request JR1, the service cloud server 40 generates unique request identification information and includes it in the job request JR1. The "request identification information" of the job request JR2 may be the same as or different from the "request identification information" of the job request JR1. In the latter case, the vehicle cloud server 30 sets unique identification information for each job request JR2 transmitted to the vehicle-mounted terminal 20 as "request identification information" of the job request JR2. In this case, for example, the vehicle cloud server 30 stores a table or the like that associates the “request identification information” of the job request JR1 with the “request identification information” of the job request JR2 generated based on the job request JR1. In this embodiment, the "request identification information" of the job request JR1 is used as information (job ID) for identifying the job.

「データ収集条件情報」は、データを収集する条件を示す情報である。例えば、「データ収集条件情報」は、車載端末20がアップロードデータUD2を生成する地理的条件、アップロードデータUD2を生成する時間的条件、イベント、車両Vの車両ID、又は/及び車両Vの運転者のドライバIDを示す情報である。ここで、上述のアップロードデータUD2を生成する地理的条件とは、例えば、アップロードデータUD2を生成する道路又はエリアを指定する条件であり、アップロードデータUD2を生成する時間的条件とは、例えば、アップロードデータUD2を生成する時間帯やインターバルなど、時間的な制約を指定する条件である。また、イベントとは、アップロードデータUD2を生成する契機となるイベント等を示し、例えば、所定度合以上の衝撃(即ち事故)の発生や急ブレーキの発生などが上述のイベントとして指定される。データ収集条件情報は、「条件情報」の一例である。 The “data collection condition information” is information indicating conditions for collecting data. For example, the “data collection condition information” is the geographical condition for the vehicle-mounted terminal 20 to generate the upload data UD2, the temporal condition for generating the upload data UD2, the event, the vehicle ID of the vehicle V, and/or the driver of the vehicle V. Is information indicating the driver ID of. Here, the geographical condition for generating the upload data UD2 is, for example, a condition for specifying a road or an area for generating the upload data UD2, and the temporal condition for generating the upload data UD2 is, for example, uploading. It is a condition for specifying a time constraint such as a time zone or an interval for generating the data UD2. In addition, the event indicates an event or the like that triggers the generation of the upload data UD2, and, for example, the occurrence of a shock (that is, an accident) of a predetermined degree or more, the occurrence of sudden braking, or the like is designated as the above-mentioned event. The data collection condition information is an example of “condition information”.

「収集データ指定情報」は、データ収集条件情報が示すジョブの実行条件を満たす場合にアップロードデータとして含めるべき収集データを指定する情報である。収集データ指定情報は、例えば、車両の加減速に関する情報、車速に関する情報、車両の走行軌跡(即ち時系列での自車位置・姿勢)の情報、出発地及び目的地の情報、事故発生前後所定時間におけるカメラの撮影情報などである。データ収集条件情報及び収集データ指定情報として指定される内容は、ジョブリクエストを生成するサービスクラウドサーバ40が運営するサービス会社によって夫々任意に設定される。データ収集条件情報及び収集データ指定情報は、「指令情報」の一例である。 The “collected data designation information” is information that designates collected data to be included as upload data when the job execution condition indicated by the data collection condition information is satisfied. The collected data designation information is, for example, information about acceleration/deceleration of a vehicle, information about a vehicle speed, information about a traveling locus of a vehicle (that is, a position/orientation of the vehicle in time series), information about a departure place and a destination, predetermined information before and after an accident. For example, the shooting information of the camera in time. The contents designated as the data collection condition information and the collection data designation information are arbitrarily set by the service company operated by the service cloud server 40 that generates the job request. The data collection condition information and the collection data designation information are examples of “command information”.

「状態管理フラグ」は、状態カウント情報のアップロードの要否を指定するフラグ(「状態管理フラグFs」とも呼ぶ。)である。例えば、状態管理フラグFsは、無効であることを示す「0」または有効であることを示す「1」のいずれかの値となり、1(有効)である場合には、状態カウント情報のアップロードが必要であることを示し、0(無効)である場合には、状態カウント情報のアップロードが不要であることを示す。状態管理フラグFsは、フラグ情報の一例である。なお、状態管理フラグFsは、ジョブリクエスト内の単独のフィールドに設けられる代わりに、データ収集条件情報、属性情報又は収集データ指定情報のいずれかのフィールドに含まれてもよい。 The “state management flag” is a flag (also referred to as “state management flag Fs”) that specifies the necessity of uploading the state count information. For example, the status management flag Fs has a value of either "0" indicating that it is invalid or "1" indicating that it is valid, and if it is 1 (valid), the status count information is uploaded. It indicates that it is necessary, and if 0 (invalid), it indicates that uploading of the status count information is unnecessary. The state management flag Fs is an example of flag information. The state management flag Fs may be included in any field of the data collection condition information, the attribute information, or the collection data designation information, instead of being provided in a single field in the job request.

ここで、サービスクラウドサーバ40からビークルクラウドサーバ30に送信されるジョブリクエストJR1に、有効な状態管理フラグFsが含まれる場合には、ビークルクラウドサーバ30は、ジョブリクエストJR1が示すジョブに対し、ジョブ状態に関する車両数の集計を行う。そして、ビークルクラウドサーバ30は、その集計結果をアップロードデータUD1としてサービスクラウドサーバ40に送信する。上述の集計結果を含むアップロードデータUD1のデータ構造については、図9を参照して後述する。 Here, when the job request JR1 transmitted from the service cloud server 40 to the vehicle cloud server 30 includes a valid state management flag Fs, the vehicle cloud server 30 sends a job to the job indicated by the job request JR1. The number of vehicles related to the condition is totaled. Then, the vehicle cloud server 30 transmits the totalized result to the service cloud server 40 as upload data UD1. The data structure of the upload data UD1 including the above-mentioned aggregation result will be described later with reference to FIG.

また、ビークルクラウドサーバ30から各車載端末20に送信されるジョブリクエストJR2に、有効な状態管理フラグFsが含まれる場合には、車載端末20は、ビークルクラウドサーバ30が上述のジョブ状態に関する車両数の集計に必要な情報を生成する。そして、車載端末20は、生成した情報をアップロードデータUD2に含めてビークルクラウドサーバ30に送信する。車載端末20が送信するアップロードデータUD2のデータ構造については、図8を参照して後述する。 Further, when the job request JR2 transmitted from the vehicle cloud server 30 to each in-vehicle terminal 20 includes the valid state management flag Fs, the in-vehicle terminal 20 indicates that the vehicle cloud server 30 is the number of vehicles related to the above-mentioned job state. Generate the information required for the aggregation of. Then, the vehicle-mounted terminal 20 includes the generated information in the upload data UD2 and transmits it to the vehicle cloud server 30. The data structure of the upload data UD2 transmitted by the vehicle-mounted terminal 20 will be described later with reference to FIG.

なお、ジョブリクエストは、図6に示した情報以外の任意の情報を含んでもよい。例えば、ジョブリクエストには、ジョブリクエストの生成元であるサービスクラウドサーバ40又はビークルクラウドサーバ30へアップロードデータを送信するための送信先を指定したアドレス情報などが含まれてもよい。他の例では、ジョブリクエストには、リクエスト識別情報とは別に、ジョブを識別するためのジョブIDが含まれてもよい。例えば、サービスクラウドサーバ40が同一内容のジョブを示すジョブリクエストJR1を複数のビークルクラウドサーバ30に送信する場合には、各ジョブリクエストJR1には、ジョブリクエストJR1ごとに異なるリクエスト識別情報と、全てのジョブリクエストJR1で共通のジョブIDとが含まれてもよい。 The job request may include arbitrary information other than the information shown in FIG. For example, the job request may include address information that specifies a transmission destination for transmitting the upload data to the service cloud server 40 or the vehicle cloud server 30 that is the generation source of the job request. In another example, the job request may include a job ID for identifying the job, in addition to the request identification information. For example, when the service cloud server 40 transmits a job request JR1 indicating a job having the same content to a plurality of vehicle cloud servers 30, each job request JR1 includes different request identification information for each job request JR1 and all the job request JR1. A job ID common to the job request JR1 may be included.

(5−2)送信履歴情報
図7は、送信履歴情報Ihのデータ構造の一例である。送信履歴情報Ihは、ジョブリクエストJR2の送信履歴に相当し、図7の例では、「車両ID」と、「ジョブID」とを少なくとも含んでいる。
(5-2) Transmission History Information FIG. 7 is an example of the data structure of the transmission history information Ih. The transmission history information Ih corresponds to the transmission history of the job request JR2, and in the example of FIG. 7, includes at least a “vehicle ID” and a “job ID”.

「車両ID」は、送信履歴情報Ihを保持するビークルクラウドサーバ30がジョブリクエストJR2を送信した送信先の車載端末20に対応する車両IDである。「ジョブID」は、車載端末20へ送信したジョブリクエストJR2により依頼したジョブの識別情報である。例えば、ビークルクラウドサーバ30は、送信履歴情報Ihの「ジョブID」として、ジョブリクエストJR2の生成に用いたジョブリクエストJR1のリクエスト識別情報を記録してもよい。 The “vehicle ID” is a vehicle ID corresponding to the vehicle-mounted terminal 20 of the transmission destination to which the vehicle cloud server 30 holding the transmission history information Ih has transmitted the job request JR2. The “job ID” is identification information of the job requested by the job request JR2 transmitted to the vehicle-mounted terminal 20. For example, the vehicle cloud server 30 may record the request identification information of the job request JR1 used to generate the job request JR2 as the “job ID” of the transmission history information Ih.

ビークルクラウドサーバ30は、ジョブリクエストJR2を車載端末20に送信するごとに、自身が保持する送信履歴情報Ihに、車両ID及びジョブIDを関連付けたレコードを追加する。なお、送信履歴情報Ihには、車両ID及びジョブID以外の任意の項目を含んでもよい。例えば、送信履歴情報Ihには、車載端末20へ送信したジョブリクエストJR2を生成するのに用いたジョブリクエストJR1の生成元のサービスクラウドの識別情報がさらに含まれてもよい。この識別情報は、サービスクラウドを識別するための任意の情報(例えば通信アドレス等)であってもよい。 Each time the vehicle cloud server 30 transmits the job request JR2 to the vehicle-mounted terminal 20, the vehicle cloud server 30 adds a record in which the vehicle ID and the job ID are associated with the transmission history information Ih held by itself. The transmission history information Ih may include any item other than the vehicle ID and the job ID. For example, the transmission history information Ih may further include the identification information of the service cloud that is the generation source of the job request JR1 used to generate the job request JR2 transmitted to the vehicle-mounted terminal 20. This identification information may be arbitrary information (for example, a communication address or the like) for identifying the service cloud.

また、ビークルクラウドサーバ30は、ジョブリクエストJR2を正常に受け付けることができなかったこと(即ちフェールとなったこと)を示すアップロードデータUD2を車載端末20から受信した場合には、対応するレコードを送信履歴情報Ihから削除する。即ち、ビークルクラウドサーバ30は、この場合、アップロードデータUD2の送信元の車載端末20に対応する車両IDと、フェールとなったジョブを示すジョブIDと含むレコードを、送信履歴情報Ihから削除する。これにより、送信履歴情報Ihには、ジョブリクエストJR2が正常に受け取った車載端末20の車両IDとジョブリクエストJR2により指示されたジョブに対応するジョブIDとの組み合わせを示すレコードのみが記録されることになる。 Further, when the vehicle cloud server 30 receives from the vehicle-mounted terminal 20 the upload data UD2 indicating that the job request JR2 could not be normally received (that is, a failure has occurred), the vehicle cloud server 30 transmits a corresponding record. Delete from the history information Ih. That is, in this case, the vehicle cloud server 30 deletes the record including the vehicle ID corresponding to the vehicle-mounted terminal 20 that is the transmission source of the upload data UD2 and the job ID indicating the failed job from the transmission history information Ih. As a result, only the record indicating the combination of the vehicle ID of the vehicle-mounted terminal 20 that has normally received the job request JR2 and the job ID corresponding to the job instructed by the job request JR2 is recorded in the transmission history information Ih. become.

ここで、図7に示す送信履歴情報Ihの用途について説明する。ビークルクラウドサーバ30は、送信履歴情報Ihを参照することで、インアクティブになった車両数(「インアクティブ車両数」とも呼ぶ。)を好適に算出することが可能である。 Here, the use of the transmission history information Ih shown in FIG. 7 will be described. The vehicle cloud server 30 can suitably calculate the number of inactive vehicles (also referred to as “inactive vehicle number”) by referring to the transmission history information Ih.

具体的には、ビークルクラウドサーバ30は、受信したジョブリクエストJR1に対応するジョブIDが記録された送信履歴情報Ihのレコード数を、ジョブリクエストJR2を送信した車両数として計算する。ここで、図4に示したように、ジョブ状態は、認証処理が成功した場合には自動的にインアクティブ状態となるため、車載端末20において認証処理が成功したジョブリクエストJR2が示すジョブは、必ずインアクティブ状態となる。なお、認証処理が失敗してフェールとなった場合には、フェールとなった旨を示すアップロードデータUD2がビークルクラウドサーバ30に送信され、ビークルクラウドサーバ30によって対応するレコードが送信履歴情報Ihから削除される。よって、ビークルクラウドサーバ30は、送信履歴情報Ihを参照し、ジョブごとにジョブリクエストJR2を送信した車両数をカウントすることで、当該ジョブが認証されて受け入れられた車両の数(インアクティブ車両数)をジョブごとに好適に特定することができる。なお、後述するように、特定したインアクティブ車両数の情報は、アップロードデータUD1に含めてサービスクラウドサーバ40に送信される。 Specifically, the vehicle cloud server 30 calculates the number of records of the transmission history information Ih in which the job ID corresponding to the received job request JR1 is recorded, as the number of vehicles that transmitted the job request JR2. Here, as shown in FIG. 4, since the job state is automatically set to the inactive state when the authentication process is successful, the job indicated by the job request JR2 for which the authentication process is successful in the in-vehicle terminal 20 is It is always inactive. If the authentication process fails and a failure occurs, the upload data UD2 indicating the failure is transmitted to the vehicle cloud server 30, and the vehicle cloud server 30 deletes the corresponding record from the transmission history information Ih. To be done. Therefore, the vehicle cloud server 30 refers to the transmission history information Ih, and counts the number of vehicles that have transmitted the job request JR2 for each job, so that the number of vehicles that the job is authenticated and accepted (the number of inactive vehicles). ) Can be suitably specified for each job. As will be described later, the information on the specified number of inactive vehicles is included in the upload data UD1 and transmitted to the service cloud server 40.

(5−3)アップロードデータ
次に、アップロードデータUD1、UD2のそれぞれのデータ構造について具体的に説明する。
(5-3) Upload Data Next, the respective data structures of the upload data UD1 and UD2 will be specifically described.

図8は、車載端末20がジョブリクエストJR2に基づきビークルクラウドサーバ30に対して送信するアップロードデータUD2のデータ構造の一例である。図示のように、アップロードデータUD2は、「バージョン情報」と、「リクエスト識別情報」と、「収集データ」と、「状態カウント情報」とを含む。 FIG. 8 is an example of the data structure of the upload data UD2 transmitted from the vehicle-mounted terminal 20 to the vehicle cloud server 30 based on the job request JR2. As illustrated, the upload data UD2 includes “version information”, “request identification information”, “collected data”, and “state count information”.

「バージョン情報」は、アップロードデータUD2を規定した仕様のバージョン等を識別する情報である。この「バージョン情報」には、例えば、先に受信したジョブリクエストJR2に含まれる「バージョン情報」と同一内容が指定される。「リクエスト識別情報」は、先に受信したジョブリクエストJR2のリクエスト識別情報を示す。 The “version information” is information that identifies the version of the specification that defines the upload data UD2. For this "version information", for example, the same content as the "version information" included in the previously received job request JR2 is specified. The “request identification information” indicates the request identification information of the job request JR2 received earlier.

「収集データ」は、先に受信したジョブリクエストJR2に基づき車載端末20が収集したデータであり、依頼されたジョブの実行結果に相当する。この収集データは、先に受信したジョブリクエストJR2の「収集データ指定情報」により指定されたデータである。収集データは、「応答情報」の一例である。 The “collected data” is data collected by the vehicle-mounted terminal 20 based on the previously received job request JR2 and corresponds to the execution result of the requested job. This collected data is data designated by the "collected data designation information" of the job request JR2 received earlier. The collected data is an example of “response information”.

「状態カウント情報」は、先に受信したジョブリクエストJR2に基づき車載端末20が記憶部22に記憶した状態カウント情報であり、「アクティブ遷移回数」と、「インアクティブ遷移回数」とを含む。「アクティブ遷移回数」は、先に受信したジョブリクエストJR2により依頼されたジョブの有効期間においてジョブがアクティブ状態へ遷移した回数(即ちアクティブ状態になった回数)を示す。「インアクティブ遷移回数」は、先に受信したジョブリクエストJR2により依頼されたジョブの有効期間においてジョブがインアクティブ状態へ遷移した回数(即ちインアクティブ状態になった回数)を示す。状態カウント情報は、「回数情報」の一例である。 The “state count information” is state count information stored in the storage unit 22 by the vehicle-mounted terminal 20 based on the previously received job request JR2, and includes “active transition count” and “inactive transition count”. The “number of active transitions” indicates the number of times the job has transitioned to the active state (that is, the number of times the active state has been reached) during the valid period of the job requested by the previously received job request JR2. The “number of times of transition to inactivity” indicates the number of times the job has transitioned to the inactive state (that is, the number of times of transition to the inactive state) during the valid period of the job requested by the previously received job request JR2. The state count information is an example of “number of times information”.

ここで、状態カウント情報の生成方法について補足説明する。 Here, a supplementary description will be given of the method of generating the state count information.

車載端末20は、先に受信したジョブリクエストJR2に有効な状態管理フラグFsが含まれる場合に、対象のジョブに対するアクティブ状態及びインアクティブ状態の各遷移回数のカウントを開始し、これらの遷移回数の情報を状態カウント情報として記憶部22に記憶する。そして、車載端末20は、状態カウント情報を、対象のジョブに対するジョブ状態の変更がある度に更新する。そして、車載端末20は、アップロードデータUD2の生成時に、記憶部22に記憶した状態カウント情報をアップロードデータUD2に含める。 When the previously received job request JR2 includes the valid state management flag Fs, the vehicle-mounted terminal 20 starts counting the number of transitions of the active state and the inactive state for the target job, and detects the number of these transitions. The information is stored in the storage unit 22 as state count information. Then, the in-vehicle terminal 20 updates the status count information each time the job status of the target job is changed. Then, the in-vehicle terminal 20 includes the state count information stored in the storage unit 22 in the upload data UD2 when the upload data UD2 is generated.

図9は、ビークルクラウドサーバ30がジョブリクエストJR1に基づきサービスクラウドサーバ40に対して送信するアップロードデータUD1のデータ構造の一例である。図示のように、アップロードデータUD2は、「バージョン情報」と、「リクエスト識別情報」と、「収集データ」と、「インアクティブ車両数」と、「アクティブ車両数」と、「アクティブ延べ車両数」と、「データ収集車両数」とを含む。 FIG. 9 is an example of a data structure of upload data UD1 that the vehicle cloud server 30 transmits to the service cloud server 40 based on the job request JR1. As illustrated, the upload data UD2 includes “version information”, “request identification information”, “collected data”, “inactive vehicle number”, “active vehicle number”, and “active total vehicle number”. And “the number of data collection vehicles”.

「バージョン情報」は、アップロードデータUD1を規定した仕様のバージョン等を識別する情報である。この「バージョン情報」には、例えば、先に受信したジョブリクエストJR1に含まれる「バージョン情報」と同一内容が指定される。「リクエスト識別情報」は、先に受信したジョブリクエストJR1のリクエスト識別情報を示す。 The “version information” is information for identifying the version of the specification that defines the upload data UD1. For this "version information", for example, the same content as the "version information" included in the previously received job request JR1 is specified. The “request identification information” indicates the request identification information of the job request JR1 received earlier.

「収集データ」は、ジョブリクエストJR1により依頼されたジョブの実行結果に相当し、ジョブリクエストJR1の「収集データ指定情報」により指定されたデータである。ビークルクラウドサーバ30は、ジョブリクエストJR1に基づき生成したジョブリクエストJR2を複数の車載端末20へ送信し、その応答であるアップロードデータUD2を各車載端末20から受信することで、「収集データ」としてアップロードデータUD1に含めるデータを収集する。この場合、ビークルクラウドサーバ30は、各車載端末20から受信したアップロードデータUD2に含まれる収集データをそのまま抽出したデータを「収集データ」としてアップロードデータUD1に含めてもよく、各アップロードデータUD2に含まれる収集データに対して所定の統計処理を行うことで算出した統計データを「収集データ」としてアップロードデータUD1に含めてもよい。 The “collected data” corresponds to the execution result of the job requested by the job request JR1, and is the data designated by the “collected data designation information” of the job request JR1. The vehicle cloud server 30 transmits the job request JR2 generated based on the job request JR1 to the plurality of vehicle-mounted terminals 20, and receives the upload data UD2 which is the response from each vehicle-mounted terminal 20 to upload it as “collected data”. Collect the data to be included in the data UD1. In this case, the vehicle cloud server 30 may include the data obtained by directly extracting the collected data included in the upload data UD2 received from each vehicle-mounted terminal 20 as “collected data” in the upload data UD1 and included in each upload data UD2. The statistical data calculated by performing a predetermined statistical process on the collected data to be collected may be included in the upload data UD1 as “collected data”.

「インアクティブ車両数」は、ジョブリクエストJR1により依頼されたジョブの状態がインアクティブ状態となった車両数である。本実施例では、第1の例では、ビークルクラウドサーバ30は、送信履歴情報Ihを参照することで、ジョブリクエストJR1により依頼されたジョブに対するインアクティブ車両数を算出する。具体的には、ビークルクラウドサーバ30は、送信履歴情報Ihに記録されたレコードのうち、ジョブリクエストJR1により依頼されたジョブの識別情報(例えばリクエスト識別情報)が「ジョブID」として記録されたレコードの数を、インアクティブ車両数として算出する。上述したように、ジョブリクエストJR2を受信した車載端末20において、ジョブリクエストJR2の認証が成功した場合、ジョブリクエストJR2により依頼されたジョブの状態は必ずインアクティブ状態となり、かつ、ジョブリクエストJR2の認証が失敗した場合には、当該ジョブリクエストJR2の送信履歴に相当する送信履歴情報Ihのレコードはビークルクラウドサーバ30により削除される。よって、ビークルクラウドサーバ30は、送信履歴情報Ihを参照することで、ジョブリクエストJR1により依頼されたジョブに対するインアクティブ車両数を好適に算出することができる。第2の例では、ビークルクラウドサーバ30は、アップロードデータUD2に含まれる状態カウント情報に基づき算出する。この場合、ビークルクラウドサーバ30は、上述の状態カウント情報が示すインアクティブ遷移回数が1回以上となるアップロードデータUD2の送信元の車載端末20の数を、当該ジョブに対するインアクティブ車両数として算出する。 The “number of inactive vehicles” is the number of vehicles in which the status of the job requested by the job request JR1 is inactive. In this embodiment, in the first example, the vehicle cloud server 30 calculates the number of inactive vehicles for the job requested by the job request JR1 by referring to the transmission history information Ih. Specifically, the vehicle cloud server 30 records, in the records recorded in the transmission history information Ih, identification information (for example, request identification information) of a job requested by the job request JR1 as a “job ID”. Is calculated as the number of inactive vehicles. As described above, when the in-vehicle terminal 20 that receives the job request JR2 succeeds in the authentication of the job request JR2, the status of the job requested by the job request JR2 is always inactive, and the authentication of the job request JR2 is performed. Is failed, the record of the transmission history information Ih corresponding to the transmission history of the job request JR2 is deleted by the vehicle cloud server 30. Therefore, the vehicle cloud server 30 can suitably calculate the number of inactive vehicles for the job requested by the job request JR1 by referring to the transmission history information Ih. In the second example, the vehicle cloud server 30 calculates based on the state count information included in the upload data UD2. In this case, the vehicle cloud server 30 calculates, as the number of inactive vehicles for the job, the number of in-vehicle terminals 20 from which the upload data UD2 having the number of inactive transitions indicated by the above-described state count information is one or more. ..

「アクティブ車両数」は、ジョブリクエストJR1により依頼されたジョブの状態がアクティブ状態となった車両数である。本実施例では、ビークルクラウドサーバ30は、ジョブリクエストJR1に基づき生成したジョブリクエストJR2の応答として各車載端末20から受信したアップロードデータUD2の状態カウント情報が示すアクティブ遷移回数を参照することで、ジョブリクエストJR1により依頼されたジョブに対するアクティブ車両数を算出する。具体的には、ビークルクラウドサーバ30は、当該ジョブのアクティブ遷移回数が1回以上となるアップロードデータUD2を送信した車載端末20の数を、当該ジョブのアクティブ車両数として算出する。このように、ビークルクラウドサーバ30は、ジョブリクエストJR2の送信先となる車載端末20から受信したアップロードデータUD2に含まれる状態カウント情報が示すアクティブ遷移回数を参照することで、ジョブリクエストJR2により依頼されたジョブに対するアクティブ車両数を好適に算出することができる。 The “number of active vehicles” is the number of vehicles in which the status of the job requested by the job request JR1 has become active. In the present embodiment, the vehicle cloud server 30 refers to the number of active transitions indicated by the state count information of the upload data UD2 received from each in-vehicle terminal 20 as a response to the job request JR2 generated based on the job request JR1 to obtain the job. The number of active vehicles for the job requested by the request JR1 is calculated. Specifically, the vehicle cloud server 30 calculates, as the number of active vehicles of the job, the number of vehicle-mounted terminals 20 that have transmitted the upload data UD2 in which the number of active transitions of the job is 1 or more. As described above, the vehicle cloud server 30 is requested by the job request JR2 by referring to the number of active transitions indicated by the status count information included in the upload data UD2 received from the vehicle-mounted terminal 20 that is the transmission destination of the job request JR2. The number of active vehicles for each job can be calculated appropriately.

「アクティブ延べ車両数」は、ジョブリクエストJR1により依頼されたジョブの状態がアクティブ状態となった延べ車両数である。本実施例では、ビークルクラウドサーバ30は、ジョブリクエストJR1に基づき生成したジョブリクエストJR2の応答として各車載端末20から受信したアップロードデータUD2に含まれる状態カウント情報が示すアクティブ遷移回数を積算することで、ジョブリクエストJR1により依頼されたジョブに対するアクティブ延べ車両数を算出する。このように、ビークルクラウドサーバ30は、ジョブリクエストJR2の送信先となる車載端末20から受信したアップロードデータUD2に含まれる状態カウント情報が示すアクティブ遷移回数を参照することで、ジョブリクエストJR2により依頼されたジョブに対するアクティブ延べ車両数を好適に算出することができる。インアクティブ車両数、アクティブ車両数、及びアクティブ延べ車両数は、「移動体数情報」の一例である。 The “number of active vehicles” is the total number of vehicles whose status of the job requested by the job request JR1 has become active. In this embodiment, the vehicle cloud server 30 accumulates the number of active transitions indicated by the state count information included in the upload data UD2 received from each vehicle-mounted terminal 20 as a response to the job request JR2 generated based on the job request JR1. , The total number of active vehicles for the job requested by the job request JR1 is calculated. As described above, the vehicle cloud server 30 is requested by the job request JR2 by referring to the number of active transitions indicated by the state count information included in the upload data UD2 received from the vehicle-mounted terminal 20 that is the destination of the job request JR2. It is possible to preferably calculate the total number of active vehicles for each job. The number of inactive vehicles, the number of active vehicles, and the total number of active vehicles are examples of the “moving body number information”.

「データ収集車両数」は、ジョブリクエストJR1により依頼されたジョブに対して収集データをアップロードした車両数である。本実施例では、ビークルクラウドサーバ30は、ジョブリクエストJR1に基づき生成したジョブリクエストJR2の応答として各車載端末20から受信したアップロードデータUD2のうち、収集データが含まれていたアップロードデータUD2の送信元の車両数を、データ収集車両数として算出する。 The “number of data collection vehicles” is the number of vehicles that have uploaded collection data for the job requested by the job request JR1. In this embodiment, the vehicle cloud server 30 transmits the upload data UD2 including the collected data among the upload data UD2 received from each vehicle-mounted terminal 20 as a response to the job request JR2 generated based on the job request JR1. The number of vehicles is calculated as the number of data collection vehicles.

次に、アップロードデータUD1の用途について補足説明する。 Next, a supplementary description will be given of the usage of the upload data UD1.

ジョブリクエストJR1の応答として図9に示すようなデータ構造を有するアップロードデータUD1を受信したサービスクラウドサーバ40は、アップロードデータUD1に含まれる各車両数の統計に基づき、返信された収集データの信頼性の判定、データ収集依頼の有効性やコスト効率の判定などを行うことができる。 The service cloud server 40, which has received the upload data UD1 having the data structure shown in FIG. 9 as a response to the job request JR1, receives the reliability of the collected data based on the statistics of the number of vehicles included in the upload data UD1. And the effectiveness of data collection request and cost efficiency can be determined.

例えば、サービスクラウドサーバ40は、インアクティブ車両数に対するアクティブ車両数又は/及びデータ収集車両数の割合を示す割合情報を生成することで、ジョブリクエストJR1に基づくデータ収集依頼の有効性やコスト効率を示す指標を好適に算出することができる。例えば、サービスクラウドサーバ40は、上述の割合情報が示す割合が高いほど、データ収集依頼の有効性やコスト効率が高いと判定することができる。また、サービスクラウドサーバ40は、アクティブ車両数、アクティブ延べ車両数、データ収集車両数などを参照することで、ビークルクラウドサーバ30から受信したアップロードデータUD1に含まれる収集データの信頼性を好適に判定することができる。例えば、サービスクラウドサーバ40は、アクティブ車両数、アクティブ延べ車両数、及びデータ収集車両数が高いほど、ビークルクラウドサーバ30から受信した収集データの信頼性が高いと判定することができる。 For example, the service cloud server 40 generates the ratio information indicating the ratio of the number of active vehicles or/and the number of data collection vehicles to the number of inactive vehicles, thereby improving the effectiveness and cost efficiency of the data collection request based on the job request JR1. The index shown can be calculated appropriately. For example, the service cloud server 40 can determine that the higher the ratio indicated by the ratio information, the higher the effectiveness and cost efficiency of the data collection request. Further, the service cloud server 40 suitably determines the reliability of the collected data included in the upload data UD1 received from the vehicle cloud server 30 by referring to the number of active vehicles, the total number of active vehicles, the number of data collection vehicles, and the like. can do. For example, the service cloud server 40 can determine that the higher the number of active vehicles, the total number of active vehicles, and the number of data collection vehicles, the higher the reliability of the collected data received from the vehicle cloud server 30.

なお、アップロードデータUD1のデータ構造例は、図9に示すものに限定されない。例えば、アップロードデータUD1には、インアクティブ状態となった車両の延べ数を示すインアクティブ延べ車両数が含まれてもよい。この場合、ビークルクラウドサーバ30は、各車載端末20から受信したアップロードデータUD1に含まれる状態カウント情報が示すインアクティブ遷移回数を積算することで、上述のインアクティブ延べ車両数を決定する。 Note that the data structure example of the upload data UD1 is not limited to that shown in FIG. For example, the upload data UD1 may include an inactive total vehicle number indicating the total number of vehicles in the inactive state. In this case, the vehicle cloud server 30 determines the above-mentioned total number of inactive vehicles by integrating the number of inactive transitions indicated by the state count information included in the upload data UD1 received from each vehicle-mounted terminal 20.

(6)処理フロー
次に、有効な状態管理フラグFsを含むジョブリクエストJR1及びジョブリクエストJR2が生成された場合に車載端末20及びビークルクラウドサーバ30が実行する処理について、図10及び図11のフローチャートを参照して具体的に説明する。
(6) Processing Flow Next, regarding the processing executed by the vehicle-mounted terminal 20 and the vehicle cloud server 30 when the job request JR1 and the job request JR2 including the valid state management flag Fs are generated, the flowcharts of FIGS. This will be specifically described with reference to.

(6−1)車載端末の処理
図10は、有効な状態管理フラグFsが含まれるジョブリクエストJR2を受信した場合に車載端末20が実行する処理手順を示すフローチャートである。車載端末20は、図10に示すフローチャートの処理を繰り返し実行する。
(6-1) Processing of In-Vehicle Terminal FIG. 10 is a flowchart showing a processing procedure executed by the in-vehicle terminal 20 when the job request JR2 including the valid state management flag Fs is received. The in-vehicle terminal 20 repeatedly executes the process of the flowchart shown in FIG.

まず、車載端末20は、ビークルクラウドサーバ30から有効な状態管理フラグFsを含むジョブリクエストJR2を受信する(ステップS101)。そして、車載端末20は、ジョブリクエストJR2に対して所定の認証処理を行い、受信したジョブリクエストJR2を認証できたか否か判定する(ステップS102)。 First, the vehicle-mounted terminal 20 receives the job request JR2 including the valid state management flag Fs from the vehicle cloud server 30 (step S101). Then, the vehicle-mounted terminal 20 performs a predetermined authentication process on the job request JR2 and determines whether or not the received job request JR2 has been authenticated (step S102).

そして、車載端末20は、受信したジョブリクエストJR2の認証処理が成功した場合(ステップS102;Yes)、ジョブリクエストJR2に有効な状態管理フラグFsが含まれていることから、ジョブリクエストJR2に対する状態カウント情報を生成する(ステップS103)。ここで、ジョブリクエストJR2の認証処理が成功した場合、車載端末20は、ジョブ状態が自動的にインアクティブ状態となるため、アクティブ遷移回数を0、インアクティブ遷移回数を1とした状態カウント情報を生成する。 Then, when the authentication process of the received job request JR2 is successful (step S102; Yes), the in-vehicle terminal 20 includes the valid state management flag Fs in the job request JR2, and therefore the state count for the job request JR2 is counted. Information is generated (step S103). Here, when the authentication process of the job request JR2 is successful, the in-vehicle terminal 20 automatically changes the job state to the inactive state, and therefore the state count information in which the number of active transitions is 0 and the number of inactive transitions is 1 is displayed. To generate.

一方、車載端末20は、受信したジョブリクエストJR2の認証処理が失敗した場合(ステップS102;No)、認証が失敗した旨(即ちフェールとなった旨)のアップロードデータUD2をビークルクラウドサーバ30へ送信する(ステップS110)。 On the other hand, when the authentication process of the received job request JR2 fails (step S102; No), the vehicle-mounted terminal 20 transmits the upload data UD2 indicating that the authentication has failed (that is, a failure) to the vehicle cloud server 30. (Step S110).

ステップS103で状態カウント情報の生成後、車載端末20は、受信したジョブリクエストJR2に含まれる「データ収集条件情報」が示すジョブの実行条件を満たすか否か判定する(ステップS104)。そして、車載端末20は、ジョブの実行条件を満たすと判定した場合(ステップS104;Yes)、センサ部27が出力するデータを用いて、ジョブリクエストJR2に含まれる「収集データ指定情報」により指定されたデータの収集を行う(ステップS105)。この場合、ジョブのジョブ状態は、アクティブ状態となる。一方、車載端末20は、ジョブの実行条件を満たさないと判定した場合(ステップS104;No)、ステップS105の処理を行うことなくステップS106へ移行する。この場合、ジョブのジョブ状態は、インアクティブ状態となる。 After generating the state count information in step S103, the vehicle-mounted terminal 20 determines whether or not the job execution condition indicated by the "data collection condition information" included in the received job request JR2 is satisfied (step S104). Then, when the vehicle-mounted terminal 20 determines that the job execution condition is satisfied (step S104; Yes), the data output from the sensor unit 27 is used to specify the “collected data specification information” included in the job request JR2. The collected data is collected (step S105). In this case, the job status of the job is active. On the other hand, when the in-vehicle terminal 20 determines that the job execution condition is not satisfied (step S104; No), the process proceeds to step S106 without performing the process of step S105. In this case, the job status of the job is inactive.

次に、車載端末20は、ジョブ状態の遷移の有無に応じて状態カウント情報を更新する(ステップS106)。具体的には、車載端末20は、ステップS104の判定処理に基づきジョブがインアクティブ状態からアクティブ状態へ遷移したと判定した場合には、当該ジョブに対するアクティブ遷移回数を1だけ増加させるように状態カウント情報を更新する。一方、車載端末20は、ステップS104の判定処理に基づきジョブがアクティブ状態からインアクティブ状態へ遷移したと判定した場合には、当該ジョブに対するインアクティブ遷移回数を1だけ増加させるように状態カウント情報を更新する。 Next, the vehicle-mounted terminal 20 updates the status count information according to the presence/absence of a job status transition (step S106). Specifically, when the in-vehicle terminal 20 determines that the job has transitioned from the inactive state to the active state based on the determination process of step S104, the in-vehicle terminal 20 counts the state so as to increase the number of active transitions for the job by one. Update information. On the other hand, when the vehicle-mounted terminal 20 determines that the job has transitioned from the active state to the inactive state based on the determination process of step S104, the in-vehicle terminal 20 displays the state count information so as to increase the number of inactive transitions for the job by one. Update.

次に、車載端末20は、アップロードデータUD2の送信タイミングであるか否か判定する(ステップS107)。アップロードデータUD2の送信タイミングは、種々の規則により定められてもよい。例えば、車載端末20は、ジョブの有効期限の終了時に1度限りアップロードデータUD2を送信するものであってもよく、ステップS105でデータ収集を行った都度アップロードデータUD2を送信するものであってもよく、所定時間間隔ごとにアップロードデータUD2を送信するものであってもよい。具体的なアップロードデータUD2の送信タイミングは、例えば、ビークルクラウドサーバ30から受信したジョブリクエストJR2に含まれるデータ収集条件情報により指定されたタイミングに設定される。 Next, the vehicle-mounted terminal 20 determines whether or not it is the transmission timing of the upload data UD2 (step S107). The transmission timing of the upload data UD2 may be determined by various rules. For example, the vehicle-mounted terminal 20 may transmit the upload data UD2 only once at the end of the job expiration date, or may transmit the upload data UD2 each time data collection is performed in step S105. Alternatively, the upload data UD2 may be transmitted at predetermined time intervals. The specific transmission timing of the upload data UD2 is set to, for example, the timing specified by the data collection condition information included in the job request JR2 received from the vehicle cloud server 30.

そして、車載端末20は、アップロードデータUD2の送信タイミングである場合(ステップS107;Yes)、ステップS105で収集した収集データ及びインアクティブ遷移回数とアクティブ遷移回数とを示す状態カウント情報を含むアップロードデータUD2(図8参照)をビークルクラウドサーバ30へ送信する(ステップS108)。なお、車載端末20は、アップロードデータUD2を複数タイミングで送信する態様では、最後の送信タイミングで送信するアップロードデータUD2にのみ状態カウント情報を含めてもよい。また、車載端末20は、ジョブの有効期間における最終的なアクティブ遷移回数及びインアクティブ遷移回数をアップロードデータUD2に含めるため、少なくともジョブの有効期限の終了時点での状態カウント情報を含むアップロードデータUD2をビークルクラウドサーバ30に送信してもよい。この場合のアップロードデータUD2には、収集データが含まれなくともよい。即ち、この場合、車載端末20は、収集データと状態カウント情報との送信タイミングを必ずしも一致させなくともよい。 Then, when it is the transmission timing of the upload data UD2 (step S107; Yes), the in-vehicle terminal 20 includes the collected data collected in step S105 and the upload data UD2 including the state count information indicating the number of inactive transitions and the number of active transitions. (See FIG. 8) is transmitted to the vehicle cloud server 30 (step S108). In the mode in which the in-vehicle terminal 20 transmits the upload data UD2 at a plurality of timings, the state count information may be included only in the upload data UD2 transmitted at the last transmission timing. In addition, since the vehicle-mounted terminal 20 includes the final number of active transitions and the number of inactive transitions in the valid period of the job in the upload data UD2, the in-vehicle terminal 20 stores the upload data UD2 including at least the state count information at the end of the job valid period. It may be transmitted to the vehicle cloud server 30. The upload data UD2 in this case may not include the collected data. That is, in this case, the vehicle-mounted terminal 20 does not necessarily have to match the transmission timings of the collected data and the state count information.

次に、車載端末20は、ジョブが終了したか否か判定する(ステップS109)。例えば、受信したジョブリクエストJR2に含まれる「データ収集条件情報」にジョブの有効期限が示されている場合には、当該ジョブの有効期限が徒過したか否か判定する。そして、車載端末20は、ジョブが終了したと判定した場合(ステップS109;Yes)、フローチャートの処理を終了する。一方、車載端末20は、アップロードデータUD2の送信タイミングではないと判定した場合(ステップS107;No)、または、ジョブが終了していないと判定した場合(ステップS109;No)、ステップS104へ処理を戻す。 Next, the vehicle-mounted terminal 20 determines whether the job is completed (step S109). For example, when the expiration date of the job is indicated in the “data collection condition information” included in the received job request JR2, it is determined whether or not the expiration date of the job has expired. Then, when the in-vehicle terminal 20 determines that the job is completed (step S109; Yes), the process of the flowchart is completed. On the other hand, when the vehicle-mounted terminal 20 determines that it is not the transmission timing of the upload data UD2 (step S107; No) or determines that the job has not ended (step S109; No), the process proceeds to step S104. return.

(6−2)ビークルクラウドサーバの処理
図11は、有効な状態管理フラグFsを含むジョブリクエストJR1を受信したビークルクラウドサーバ30が実行する処理手順を示すフローチャートを示す。
(6-2) Processing of Vehicle Cloud Server FIG. 11 is a flowchart showing a processing procedure executed by the vehicle cloud server 30 which has received the job request JR1 including the valid state management flag Fs.

まず、ビークルクラウドサーバ30は、有効な状態管理フラグFsを含むジョブリクエストJR1をサービスクラウドサーバ40から受信する(ステップS201)。そして、ビークルクラウドサーバ30は、記憶部32に記憶された車両情報を参照し、ビークルクラウドサーバ30が管理する車両の車載端末20に対して、ジョブリクエストJR1に基づき生成したジョブリクエストJR2を送信する(ステップS202)。 First, the vehicle cloud server 30 receives the job request JR1 including the valid state management flag Fs from the service cloud server 40 (step S201). Then, the vehicle cloud server 30 refers to the vehicle information stored in the storage unit 32, and transmits the job request JR2 generated based on the job request JR1 to the vehicle-mounted terminal 20 of the vehicle managed by the vehicle cloud server 30. (Step S202).

その後、ビークルクラウドサーバ30は、ジョブリクエストJR2の送信先である車載端末20からアップロードデータUD2を受信し、記憶部32に記憶する(ステップS203)。そして、ビークルクラウドサーバ30は、予め定めたアップロードデータUD2の収集期間が終了するまで(ステップS204;No)、ステップS203においてアップロードデータUD2の受信及び記憶を繰り返し行う。これにより、ビークルクラウドサーバ30は、複数の車両の車載端末20から供給されるアップロードデータUD2を記憶する。 After that, the vehicle cloud server 30 receives the upload data UD2 from the vehicle-mounted terminal 20 that is the transmission destination of the job request JR2, and stores it in the storage unit 32 (step S203). Then, the vehicle cloud server 30 repeatedly receives and stores the upload data UD2 in step S203 until the predetermined collection period of the upload data UD2 ends (step S204; No). Thereby, the vehicle cloud server 30 stores the upload data UD2 supplied from the vehicle-mounted terminals 20 of the plurality of vehicles.

また、フローチャートに図示しない態様として、例えば、ある程度リアルタイム性が要求される情報などについては、ビークルクラウドサーバ30は、アップロードデータUD2の収集期間内において、定期的、あるいは断続的に受信したアップロードデータUD2を記憶部32に蓄積することなく、そのままサービスクラウドサーバ40にアップロードデータUD1として逐次送信するようにしてもよい。この場合、ビークルクラウドサーバ30は、アップロードデータUD2の収集期間終了後に、後述するステップS205で集計した状態カウント情報のみをサービスクラウドサーバ40に送信する。 In addition, as an aspect not shown in the flowchart, for example, for information that requires a certain degree of real-time property, the vehicle cloud server 30 receives the upload data UD2 that is received periodically or intermittently within the collection period of the upload data UD2. May be sequentially transmitted to the service cloud server 40 as the upload data UD1 without being stored in the storage unit 32. In this case, the vehicle cloud server 30 transmits to the service cloud server 40 only the state count information aggregated in step S205 described below after the collection period of the upload data UD2 ends.

そして、ビークルクラウドサーバ30は、アップロードデータUD2の収集期間が終了したと判定した場合(ステップS204;Yes)、インアクティブ車両数、アクティブ車両数、アクティブ延べ車両数、データ収集車両数等の集計を行う(ステップS205)。例えば、ビークルクラウドサーバ30は、アクティブ車両数及びアクティブ延べ車両数については、ステップS203で受信及び記憶したアップロードデータUD2に含まれる状態カウント情報が示すアクティブ遷移回数に基づき算出する。また、ビークルクラウドサーバ30は、インアクティブ車両数については、送信履歴情報Ih又は状態カウント情報が示すインアクティブ遷移回数のいずれかに基づき算出し、データ収集車両数については、収集データを含むアップロードデータUD2の送信元の車載端末20を数えることで算出する。なお、ビークルクラウドサーバ30は、同一の車載端末20から同一のジョブに関するアップロードデータUD2を複数回受信していた場合には、最後に受信したアップロードデータUD2に含まれる状態カウント情報に基づき、上述の集計を行うとよい。 When the vehicle cloud server 30 determines that the collection period of the upload data UD2 has ended (step S204; Yes), the vehicle cloud server 30 collects the number of inactive vehicles, the number of active vehicles, the total number of active vehicles, the number of data collection vehicles, and the like. Perform (step S205). For example, the vehicle cloud server 30 calculates the number of active vehicles and the total number of active vehicles based on the number of active transitions indicated by the state count information included in the upload data UD2 received and stored in step S203. Further, the vehicle cloud server 30 calculates the number of inactive vehicles based on either the transmission history information Ih or the number of inactive transitions indicated by the state count information, and regarding the number of data collection vehicles, upload data including collected data. It is calculated by counting the in-vehicle terminals 20 that are the senders of UD2. When the vehicle cloud server 30 receives the upload data UD2 related to the same job from the same vehicle-mounted terminal 20 a plurality of times, the vehicle cloud server 30 receives the above-described status count information included in the upload data UD2 that is received last. It is good to do a tally.

次に、ビークルクラウドサーバ30は、ステップS205での集計結果を含むアップロードデータUD1(図9参照)を、ジョブリクエストJR1の要求元であるサービスクラウドサーバ40へ送信する(ステップS206)。その後、ジョブリクエストJR1を生成したサービスクラウドサーバ40は、ビークルクラウドサーバ30からアップロードデータUD1を受信する。この場合、サービスクラウドサーバ40は、受信したアップロードデータUD1に基づき、返信された収集データの信頼性の判定、データ収集依頼の有効性やコスト効率の判定などを行う。 Next, the vehicle cloud server 30 transmits the upload data UD1 (see FIG. 9) including the aggregation result in step S205 to the service cloud server 40 that is the request source of the job request JR1 (step S206). After that, the service cloud server 40 that has generated the job request JR1 receives the upload data UD1 from the vehicle cloud server 30. In this case, the service cloud server 40 determines the reliability of the returned collection data, the validity of the data collection request, and the cost efficiency based on the received upload data UD1.

(7)適用例
次に、本実施例の適用例について説明する。ここでは、市町村などの自治体が、街づくり・道路利用解析の一環として、渋滞情報や道路利用状況を詳細に把握するためにジョブ配信システムを利用する例について説明する。
(7) Application Example Next, an application example of this embodiment will be described. Here, an example will be described in which a municipality such as a municipality uses a job distribution system in order to grasp traffic congestion information and road use conditions in detail as part of a town planning/road use analysis.

図12は、本適用例におけるジョブ配信システムの構成例を示す。図12に示すジョブ配信システムは、地図会社が運営する第1サービスクラウドサーバ40Aと、自治体が運営する第1サービスクラウドサーバ40Aと、タクシー会社が運営するビークルクラウドサーバ30と、車載端末20が搭載されたタクシー車両Vとを有する。ここで、第1サービスクラウドサーバ40Aは、実施例のサービスクラウドサーバ40として機能し、第2サービスクラウドサーバ40Bは、第1サービスクラウドサーバ40Aが収集したデータを第1サービスクラウドサーバ40Aから受信するものとする。 FIG. 12 shows a configuration example of the job distribution system in this application example. The job distribution system shown in FIG. 12 is equipped with a first service cloud server 40A operated by a map company, a first service cloud server 40A operated by a local government, a vehicle cloud server 30 operated by a taxi company, and an in-vehicle terminal 20. A taxi vehicle V that has been driven. Here, the first service cloud server 40A functions as the service cloud server 40 of the embodiment, and the second service cloud server 40B receives the data collected by the first service cloud server 40A from the first service cloud server 40A. I shall.

自治体には2つの鉄道の駅(A駅とB駅)があり、各駅前の通りが渋滞するので、駅前通りの拡充を必要とし、計画的に駅前通りを拡充するため、渋滞データを取得する。タクシー車両Vは、2つの鉄道駅の駅前通りを頻繁に走る車両であり、合計80台存在する。また、各駅には、タクシープールが存在する。 There are two railway stations (A station and B station) in the municipality, and the streets in front of each station are congested, so it is necessary to expand the station front streets, and to obtain the congestion data in order to systematically expand the station front streets. .. The taxi vehicle V is a vehicle that frequently runs on the front street of two railway stations, and there are a total of 80 taxi vehicles. There is a taxi pool at each station.

図13は、A駅の駅前通りを示した俯瞰図である。図示のように、A駅付近には、基幹道路50と、基幹道路50から分岐した駅前道路51と、駅前道路51に合流可能なタクシープール52と、が存在する。駅前道路51には、タクシープール52へつながる交差点53と、基幹道路50への入り口となる交差点54とが存在する。 FIG. 13 is a bird's-eye view showing the street in front of the station A. As shown in the figure, a trunk road 50, a station road 51 branched from the trunk road 50, and a taxi pool 52 that can join the station road 51 exist near the A station. On the road 51 in front of the station, there are an intersection 53 connected to the taxi pool 52 and an intersection 54 which is an entrance to the main road 50.

ここで、第1サービスクラウドサーバ40Aは、図6に示す「収集データ指定情報」として、タクシープール52から出て交差点53から交差点54までの駅前道路51を通過する際の走行時間と滞留(停止)時間、及び、交差点54からタクシープール52に入るまでの走行時間と滞留時間を指定したジョブリクエストJR1を生成する。このジョブリクエストJR1には、次の月曜日から日曜日までの1週間をジョブの有効期限と定め、かつ、朝6時から夜7時までをジョブの実行時間帯と定めた「データ収集条件情報」(図6参照)をさらに含める。そして、第1サービスクラウドサーバ40Aは、ジョブリクエストJR1の応答としてビークルクラウドサーバ30から受信するアップロードデータUD1に基づき、10分間隔に区切られた各時間帯の平均走行時間及び平均滞留時間の算出を行う。そして、第1サービスクラウドサーバ40Aは、算出した平均走行時間及び平均滞留時間をアップロードデータとして第2サービスクラウドサーバ40Bに送信する。この場合、第2サービスクラウドサーバ40Bは、第1サービスクラウドサーバ40Aから受信したアップロードデータに基づき、渋滞情報の内容を吟味する。また、第1サービスクラウドサーバ40Aは、B駅に関しても同様に、ビークルクラウドサーバ30から受信するアップロードデータUD1に基づき、駅前道路に関する平均走行時間及び平均滞留時間の算出を行い、第2サービスクラウドサーバ40Bへその算出結果を含むアップロードデータを送信する。 Here, the first service cloud server 40A, as the “collected data designation information” shown in FIG. 6, travel time and retention (stop) when exiting the taxi pool 52 and passing through the station road 51 from the intersection 53 to the intersection 54. ) A job request JR1 is generated that specifies the time and the running time and the staying time from the intersection 54 to entering the taxi pool 52. In this job request JR1, "data collection condition information" (1 week from Monday to Sunday is set as the job expiration date, and 6 am to 7 pm is set as the job execution time period) ( (See FIG. 6) is further included. Then, the first service cloud server 40A calculates the average running time and the average residence time in each time zone divided into 10-minute intervals based on the upload data UD1 received from the vehicle cloud server 30 as a response to the job request JR1. To do. Then, the first service cloud server 40A transmits the calculated average travel time and average residence time as upload data to the second service cloud server 40B. In this case, the second service cloud server 40B examines the content of the traffic jam information based on the upload data received from the first service cloud server 40A. Similarly, for the B station, the first service cloud server 40A calculates the average running time and the average staying time for the road in front of the station based on the upload data UD1 received from the vehicle cloud server 30, and the second service cloud server 40A. The upload data including the calculation result is transmitted to 40B.

このような場合において、第1サービスクラウドサーバ40Aは、有効な状態管理フラグFsをジョブリクエストJR1に含めることで、ジョブ状態等に関する車両数の統計データをビークルクラウドサーバ30からアップロードデータUD1により受信し、第2サービスクラウドサーバ40Bに供給する。これにより、第2サービスクラウドサーバ40Bは、各駅前の渋滞情報の内容を吟味する際に、ジョブ状態等に関する車両数の統計データを考慮することができるため、渋滞情報の的確な検討を行うことができる。また、測定車両数がない又は非常に少ない(即ちアクティブ車両数が非常に少ない)時間帯については、ひどい渋滞のためにタクシーの駅前道路への流入がない時間帯、又は、タクシーの需要がない時間帯(即ち多くのタクシー車両Vがタクシープールで待機した時間帯)だった可能性があると推測することも可能となる。自治体は、収集データ及び上述の車両数の統計データに基づき、タクシー会社等と必要に応じて協議を行い、渋滞情報の取得条件と解析方法などについて調整を行う。 In such a case, the first service cloud server 40A includes the valid state management flag Fs in the job request JR1 to receive the statistical data of the number of vehicles related to the job state and the like from the vehicle cloud server 30 by the upload data UD1. , The second service cloud server 40B. As a result, the second service cloud server 40B can consider the statistical data of the number of vehicles related to the job status and the like when examining the contents of the traffic jam information in front of each station, and therefore the traffic jam information should be accurately examined. You can In addition, when there are no or very few measured vehicles (that is, very few active vehicles), there is no inflow of taxi to the road in front of the station due to severe traffic congestion, or there is no demand for taxis. It is also possible to infer that it may have been in the time zone (that is, the time zone in which many taxi vehicles V were waiting in the taxi pool). Based on the collected data and the statistical data on the number of vehicles described above, the local government will discuss with the taxi company etc., as necessary, and adjust the conditions for obtaining traffic congestion information and the analysis method.

<第2実施例>
第2実施例に係る車載端末20は、各ジョブ状態への遷移回数を示す状態カウント情報をビークルクラウドサーバ30へ送信する代わりに、ジョブ状態の遷移に関する履歴情報(「状態履歴情報」とも呼ぶ。)をビークルクラウドサーバ30へ送信する。以後では、ビークルクラウドサーバ30及びサービスクラウドサーバ40の構成、ジョブリクエストJR1、JR2のデータ構造、アップロードデータUD1のデータ構造等については、第1実施例と同一であるため、その説明を省略する。
<Second embodiment>
The vehicle-mounted terminal 20 according to the second embodiment, instead of transmitting the state count information indicating the number of transitions to each job state to the vehicle cloud server 30, history information regarding job state transitions (also referred to as “state history information”). ) Is transmitted to the vehicle cloud server 30. After that, the configurations of the vehicle cloud server 30 and the service cloud server 40, the data structures of the job requests JR1 and JR2, the data structure of the upload data UD1 and the like are the same as those in the first embodiment, and therefore the description thereof will be omitted.

図14は、第2実施例に係る車載端末20の内部構成を示すブロック図である。図示のように、車載端末20の記憶部22は、状態履歴情報を記憶している。状態履歴情報は、ジョブリクエストJR2により依頼されたジョブが有効な期間における当該ジョブの状態遷移の履歴情報である。状態履歴情報は、例えば、ジョブが遷移した状態と、遷移した時刻とを、依頼されたジョブごとに(例えばリクエスト識別情報ごとに)関連付けたテーブル情報である。車載端末20は、有効な状態管理フラグFsが先に受信したジョブリクエストJR2に含まれる場合に、対象のジョブに対するジョブ状態の遷移を状態履歴情報として記憶部22に記憶する。 FIG. 14 is a block diagram showing the internal configuration of the vehicle-mounted terminal 20 according to the second embodiment. As illustrated, the storage unit 22 of the vehicle-mounted terminal 20 stores the state history information. The state history information is history information of the state transition of the job requested by the job request JR2 during a valid period. The state history information is, for example, table information in which a transition state of a job and a transition time are associated with each requested job (for example, with each request identification information). When the valid state management flag Fs is included in the previously received job request JR2, the vehicle-mounted terminal 20 stores the transition of the job state for the target job in the storage unit 22 as the state history information.

図15は、第2実施例に係るアップロードデータUD2のデータ構造の一例である。図15に示すように、第2実施例に係るアップロードデータUD2は、状態カウント情報に代えて、「状態履歴情報」を含んでいる。車載端末20は、有効な状態管理フラグFsが対応するジョブリクエストJR2に含まれていた場合に、当該ジョブリクエストJR2により依頼されたジョブの実行結果である収集データと共に、当該ジョブに対応する状態履歴情報を、アップロードデータUD2に含めてビークルクラウドサーバ30に送信する。これにより、アップロードデータUD2を受信したビークルクラウドサーバ30は、状態履歴情報を参照することで、アップロードデータUD2の送信元の車載端末20のインアクティブ遷移回数及びアクティブ遷移回数を好適に算出することが可能となる。状態履歴情報は、「計数情報」の一例である。 FIG. 15 is an example of the data structure of the upload data UD2 according to the second embodiment. As shown in FIG. 15, the upload data UD2 according to the second embodiment includes “state history information” instead of the state count information. When the valid state management flag Fs is included in the corresponding job request JR2, the vehicle-mounted terminal 20 collects the collected data, which is the execution result of the job requested by the job request JR2, and the state history corresponding to the job. The information is included in the upload data UD2 and transmitted to the vehicle cloud server 30. Accordingly, the vehicle cloud server 30 that has received the upload data UD2 can suitably calculate the number of inactive transitions and the number of active transitions of the in-vehicle terminal 20 that is the transmission source of the upload data UD2 by referring to the state history information. It will be possible. The state history information is an example of “counting information”.

図16は、有効な状態管理フラグFsが含まれるジョブリクエストJR2を受信した場合に第2実施例に係る車載端末20が実行する処理手順を示すフローチャートである。車載端末20は、図16に示すフローチャートの処理を繰り返し実行する。 FIG. 16 is a flowchart showing a processing procedure executed by the vehicle-mounted terminal 20 according to the second embodiment when the job request JR2 including the valid state management flag Fs is received. The in-vehicle terminal 20 repeatedly executes the process of the flowchart shown in FIG.

車載端末20は、ビークルクラウドサーバ30から有効な状態管理フラグFsを含むジョブリクエストJR2を受信し(ステップS301)、受信したジョブリクエストJR2の認証処理が成功した場合(ステップS302;Yes)、ジョブリクエストJR2により依頼されたジョブに対する状態履歴情報を生成する(ステップS303)。この場合、ジョブ状態が自動的にインアクティブ状態となるため、車載端末20は、インアクティブ状態への遷移を記録した状態履歴情報を生成する。 When the vehicle-mounted terminal 20 receives the job request JR2 including the valid state management flag Fs from the vehicle cloud server 30 (step S301) and the authentication processing of the received job request JR2 is successful (step S302; Yes), the job request is issued. The state history information for the job requested by JR2 is generated (step S303). In this case, since the job state is automatically set to the inactive state, the vehicle-mounted terminal 20 generates the state history information recording the transition to the inactive state.

そして、車載端末20は、受信したジョブリクエストJR2に含まれる「データ収集条件情報」が示すジョブの実行条件を満たす場合(ステップS304;Yes)、センサ部27が出力するデータを用いて、ジョブリクエストJR2に含まれる「収集データ指定情報」により指定されたデータの収集を行う(ステップS305)。この場合、ジョブのジョブ状態は、アクティブ状態となる。一方、車載端末20は、ジョブの実行条件を満たさないと判定した場合(ステップS304;No)、ステップS305の処理を行うことなくステップS306へ移行する。この場合、ジョブのジョブ状態は、インアクティブ状態となる。 When the vehicle execution condition satisfies the job execution condition indicated by the “data collection condition information” included in the received job request JR2 (step S304; Yes), the in-vehicle terminal 20 uses the data output from the sensor unit 27 to request the job. The data designated by the “collected data designation information” included in JR2 is collected (step S305). In this case, the job status of the job is active. On the other hand, when the vehicle-mounted terminal 20 determines that the job execution condition is not satisfied (step S304; No), the process proceeds to step S306 without performing the process of step S305. In this case, the job status of the job is inactive.

次に、車載端末20は、ジョブ状態の遷移の有無に応じて状態履歴情報を更新する(ステップS306)。具体的には、車載端末20は、状態履歴情報が示す最新のジョブ状態と比較し、現在のジョブ状態がインアクティブ状態からアクティブ状態へ遷移していると判定した場合には、アクティブ状態への遷移を示すレコードを、対象のジョブに対する状態履歴情報に追加し、アクティブ状態からインアクティブ状態へ遷移していると判定した場合には、インアクティブ状態への遷移を示すレコードを、対象のジョブに対する状態履歴情報に追加する。 Next, the vehicle-mounted terminal 20 updates the state history information according to the presence/absence of a job state transition (step S306). Specifically, the in-vehicle terminal 20 compares with the latest job state indicated by the state history information, and when it determines that the current job state is transiting from the inactive state to the active state, the in-vehicle terminal 20 changes to the active state. If a record indicating the transition is added to the status history information for the target job and it is determined that the transition from the active status to the inactive status is made, the record indicating the transition to the inactive status is added to the target job. Add to status history information.

その後、第1実施例と同様に、車載端末20は、アップロードデータUD2の送信タイミングである場合(ステップS307;Yes)、ステップS305で収集した収集データ及び状態履歴情報を含むアップロードデータUD2(図15参照)をビークルクラウドサーバ30へ送信する(ステップS308)。また、車載端末20は、ジョブが終了したと判定した場合(ステップS309;Yes)、フローチャートの処理を終了する。一方、アップロードデータUD2の送信タイミングでない場合(ステップS307;No)、又は、ジョブが終了していない場合(ステップS309;No)、ステップS304へ処理を戻す。 After that, as in the first embodiment, when it is the transmission timing of the upload data UD2 (step S307; Yes), the vehicle-mounted terminal 20 uploads data UD2 including the collected data and the status history information collected in step S305 (FIG. 15). Reference) to the vehicle cloud server 30 (step S308). When the vehicle-mounted terminal 20 determines that the job is completed (step S309; Yes), the process of the flowchart is completed. On the other hand, if it is not the transmission timing of the upload data UD2 (step S307; No) or if the job is not completed (step S309; No), the process is returned to step S304.

図17は、有効な状態管理フラグFsを含むジョブリクエストJR1を受信した第2実施例に係るビークルクラウドサーバ30が実行する処理手順を示すフローチャートを示す。 FIG. 17 is a flowchart showing a processing procedure executed by the vehicle cloud server 30 according to the second embodiment which receives the job request JR1 including the valid state management flag Fs.

まず、ビークルクラウドサーバ30は、有効な状態管理フラグFsを含むジョブリクエストJR1をサービスクラウドサーバ40から受信する(ステップS401)。そして、ビークルクラウドサーバ30は、記憶部32に記憶された車両情報を参照し、ビークルクラウドサーバ30が管理する車両の車載端末20に対して、ジョブリクエストJR1に基づき生成したジョブリクエストJR2を送信する(ステップS402)。 First, the vehicle cloud server 30 receives the job request JR1 including the valid state management flag Fs from the service cloud server 40 (step S401). Then, the vehicle cloud server 30 refers to the vehicle information stored in the storage unit 32, and transmits the job request JR2 generated based on the job request JR1 to the vehicle-mounted terminal 20 of the vehicle managed by the vehicle cloud server 30. (Step S402).

その後、ビークルクラウドサーバ30は、状態履歴情報を含むアップロードデータUD2を車載端末20から受信し、記憶部32に記憶する(ステップS403)。そして、ビークルクラウドサーバ30は、予め定めたアップロードデータUD2の収集期間が終了するまで(ステップS404;No)、ステップS403においてアップロードデータUD2の受信及び記憶を繰り返し行う。 After that, the vehicle cloud server 30 receives the upload data UD2 including the state history information from the vehicle-mounted terminal 20 and stores it in the storage unit 32 (step S403). Then, the vehicle cloud server 30 repeatedly receives and stores the upload data UD2 in step S403 until the predetermined collection period of the upload data UD2 ends (step S404; No).

そして、ビークルクラウドサーバ30は、アップロードデータUD2の収集期間が終了したと判定した場合(ステップS404;Yes)、ステップS403で受信及び記憶したアップロードデータUD2に含まれる状態履歴情報に基づき、車両ごとのアクティブ遷移回数などを算出する(ステップS405)。この場合、ビークルクラウドサーバ30は、アクティブ遷移回数に加えて、インアクティブ遷移回数などについても状態履歴情報に基づき算出してもよい。なお、ビークルクラウドサーバ30は、同一の車載端末20から同一のジョブに関するアップロードデータUD2を複数回受信していた場合には、最後に受信したアップロードデータUD2に含まれる状態履歴情報に基づき、上述の算出を行うとよい。 Then, when the vehicle cloud server 30 determines that the collection period of the upload data UD2 has ended (step S404; Yes), it is determined for each vehicle based on the state history information included in the upload data UD2 received and stored in step S403. The number of active transitions is calculated (step S405). In this case, the vehicle cloud server 30 may calculate the number of inactive transitions in addition to the number of active transitions based on the state history information. When the vehicle cloud server 30 has received the upload data UD2 relating to the same job from the same vehicle-mounted terminal 20 a plurality of times, the vehicle cloud server 30 determines whether or not the above-mentioned status history information included in the upload data UD2 received last is used. It is good to calculate.

そして、ビークルクラウドサーバ30は、インアクティブ車両数、アクティブ車両数、アクティブ延べ車両数、データ収集車両数等の集計を行う(ステップS406)。例えば、ビークルクラウドサーバ30は、アクティブ車両数及びアクティブ延べ車両数については、ステップS405で算出した車両ごとのアクティブ遷移回数に基づき算出する。また、ビークルクラウドサーバ30は、インアクティブ車両数については、送信履歴情報Ih又はステップS405で算出したインアクティブ遷移回数のいずれかに基づき算出し、データ収集車両数については、収集データを含むアップロードデータUD2の送信元の車載端末20を数えることで算出する。 Then, the vehicle cloud server 30 totals the number of inactive vehicles, the number of active vehicles, the total number of active vehicles, the number of data collection vehicles, etc. (step S406). For example, the vehicle cloud server 30 calculates the number of active vehicles and the total number of active vehicles based on the number of active transitions for each vehicle calculated in step S405. Further, the vehicle cloud server 30 calculates the number of inactive vehicles based on either the transmission history information Ih or the number of inactive transitions calculated in step S405, and regarding the number of data collection vehicles, upload data including collected data. It is calculated by counting the in-vehicle terminals 20 that are the senders of UD2.

次に、ビークルクラウドサーバ30は、ステップS405での集計結果を含むアップロードデータUD1(図9参照)を、ジョブリクエストJR1の要求元であるサービスクラウドサーバ40へ送信する(ステップS407)。その後、ジョブリクエストJR1を生成したサービスクラウドサーバ40は、ビークルクラウドサーバ30からアップロードデータUD1を受信する。この場合、サービスクラウドサーバ40は、受信したアップロードデータUD1に基づき、返信された収集データの信頼性の判定、データ収集依頼の有効性やコスト効率の判定などを行う。 Next, the vehicle cloud server 30 transmits the upload data UD1 (see FIG. 9) including the aggregation result in step S405 to the service cloud server 40 that is the request source of the job request JR1 (step S407). After that, the service cloud server 40 that has generated the job request JR1 receives the upload data UD1 from the vehicle cloud server 30. In this case, the service cloud server 40 determines the reliability of the returned collection data, the validity of the data collection request, and the cost efficiency based on the received upload data UD1.

<第3実施例>
第3実施例に係る車載端末20は、状態カウント情報又は状態履歴情報に代えて、現在のジョブ状態を示す情報(単に「状態情報」とも呼ぶ。)をビークルクラウドサーバ30へ送信する。以後では、サービスクラウドサーバ40の構成、ジョブリクエストJR1、JR2のデータ構造、アップロードデータUD1のデータ構造等については、第1及び第2実施例と同一であるため、その説明を省略する。
<Third embodiment>
The vehicle-mounted terminal 20 according to the third embodiment transmits information indicating the current job state (also simply referred to as “state information”) to the vehicle cloud server 30 instead of the state count information or the state history information. After that, the configuration of the service cloud server 40, the data structures of the job requests JR1 and JR2, the data structure of the upload data UD1 and the like are the same as those in the first and second embodiments, and therefore the description thereof will be omitted.

図18は、第3実施例に係るアップロードデータUD2のデータ構造の一例である。図18に示すように、第3実施例に係るアップロードデータUD2は、第1実施例の状態カウント情報又は第2実施例の状態履歴情報に代えて、「状態情報」を含んでいる。 FIG. 18 is an example of the data structure of the upload data UD2 according to the third embodiment. As shown in FIG. 18, the upload data UD2 according to the third embodiment includes “status information” instead of the status count information of the first embodiment or the status history information of the second embodiment.

車載端末20は、有効な状態管理フラグFsがジョブリクエストJR2に含まれていた場合に、当該ジョブリクエストJR2により依頼されたジョブの実行結果である収集データと共に、当該ジョブに対応する現在のジョブ状態を示す状態情報を、アップロードデータUD2に含めてビークルクラウドサーバ30に送信する。この場合、車載端末20は、ビークルクラウドサーバ30から受信したジョブリクエストJR2に含まれるデータ収集条件情報により指定された時間間隔によりアップロードデータUD2をビークルクラウドサーバ30へ送信する。なお、この場合のアップロードデータUD2の送信タイミングは、ジョブごとに定められてもよく、複数のジョブで一律であってもよい。状態情報は、「計数情報」の一例である。 When the effective request management flag Fs is included in the job request JR2, the vehicle-mounted terminal 20 collects the collected data which is the execution result of the job requested by the job request JR2 and the current job status corresponding to the job. Is included in the upload data UD2 and transmitted to the vehicle cloud server 30. In this case, the vehicle-mounted terminal 20 transmits the upload data UD2 to the vehicle cloud server 30 at a time interval designated by the data collection condition information included in the job request JR2 received from the vehicle cloud server 30. The transmission timing of the upload data UD2 in this case may be determined for each job, or may be uniform for a plurality of jobs. The state information is an example of “count information”.

図19は、第3実施例に係るビークルクラウドサーバ30の内部構成を概略的に示した図である。図19に示すように、ビークルクラウドサーバ30は、状態履歴情報を記憶部32に記憶している。ここで、ビークルクラウドサーバ30は、例えば、状態履歴情報を、車載端末20から受信するアップロードデータUD2に含まれる状態情報に基づき、ジョブごと及び車両IDごとに生成する。この場合、例えば、状態履歴情報は、リクエスト識別情報及び車両IDごとに、状態情報が示すジョブ状態と、状態情報の受信時刻又は生成時刻とを関連付けた情報である。ビークルクラウドサーバ30は、このような状態履歴情報を保持することで、第1実施例及び第2実施例と同様、インアクティブ車両数、アクティブ車両数、アクティブ延べ車両数、データ収集車両数等の集計を好適に行うことができる。 FIG. 19 is a diagram schematically showing the internal configuration of the vehicle cloud server 30 according to the third embodiment. As shown in FIG. 19, the vehicle cloud server 30 stores state history information in the storage unit 32. Here, the vehicle cloud server 30 generates, for example, state history information for each job and each vehicle ID based on the state information included in the upload data UD2 received from the vehicle-mounted terminal 20. In this case, for example, the status history information is information that associates the job status indicated by the status information with the reception time or generation time of the status information for each request identification information and vehicle ID. By holding such state history information, the vehicle cloud server 30 stores the number of inactive vehicles, the number of active vehicles, the total number of active vehicles, the number of data collection vehicles, etc., as in the first and second embodiments. The tabulation can be performed appropriately.

図20は、有効な状態管理フラグFsが含まれるジョブリクエストJR2を受信した場合に第3実施例に係る車載端末20が実行する処理手順を示すフローチャートである。車載端末20は、図20に示すフローチャートの処理を繰り返し実行する。 FIG. 20 is a flowchart showing a processing procedure executed by the vehicle-mounted terminal 20 according to the third embodiment when the job request JR2 including the valid state management flag Fs is received. The vehicle-mounted terminal 20 repeatedly executes the process of the flowchart shown in FIG.

車載端末20は、ビークルクラウドサーバ30から有効な状態管理フラグFsを含むジョブリクエストJR2を受信し(ステップS501)、受信したジョブリクエストJR2の認証処理が成功した場合(ステップS502;Yes)、受信したジョブリクエストJR2が示すジョブの実行条件を満たすか否か判定する(ステップS503)。そして、ジョブの実行条件を満たす場合(ステップS503;Yes)、センサ部27が出力するデータを用いて、ジョブリクエストJR2により指定されたデータの収集を行う(ステップS504)。一方、車載端末20は、ジョブの実行条件を満たさないと判定した場合(ステップS503;No)、ステップS504の処理を行うことなくステップS505へ移行する。 The vehicle-mounted terminal 20 receives the job request JR2 including the valid state management flag Fs from the vehicle cloud server 30 (step S501), and when the received job request JR2 is successfully authenticated (step S502; Yes), the vehicle-mounted terminal 20 receives the job request JR2. It is determined whether or not the execution condition of the job indicated by the job request JR2 is satisfied (step S503). When the job execution condition is satisfied (step S503; Yes), the data output by the sensor unit 27 is used to collect the data specified by the job request JR2 (step S504). On the other hand, when the vehicle-mounted terminal 20 determines that the job execution condition is not satisfied (step S503; No), the process proceeds to step S505 without performing the process of step S504.

次に、車載端末20は、アップロードデータUD2の送信タイミングであるか否か判定する(ステップS505)。この場合のアップロードデータUD2の送信タイミングは、ジョブごとに定められてもよく、複数のジョブで一律であってもよい。そして、車載端末20は、アップロードデータUD2の送信タイミングである場合(ステップS505;Yes)、現在のジョブ状態を示す状態情報を生成する(ステップS505)。具体的には、車載端末20は、ジョブの実行条件を満たしていない場合には、当該ジョブがインアクティブ状態であることを示す状態情報を生成し、ジョブの実行条件を満たしている場合には、当該ジョブがアクティブ状態であることを示す状態情報を生成する。 Next, the vehicle-mounted terminal 20 determines whether or not it is the transmission timing of the upload data UD2 (step S505). In this case, the transmission timing of the upload data UD2 may be determined for each job, or may be uniform for a plurality of jobs. Then, when it is the transmission timing of the upload data UD2 (step S505; Yes), the in-vehicle terminal 20 generates status information indicating the current job status (step S505). Specifically, the in-vehicle terminal 20 generates status information indicating that the job is in the inactive state when the execution condition of the job is not satisfied, and when the execution condition of the job is satisfied, , Generates status information indicating that the job is in the active status.

そして、車載端末20は、ステップS506で生成した状態情報と、ステップS504で収集した収集データとを含むアップロードデータUD2をビークルクラウドサーバ30に送信する(ステップS507)。そして、車載端末20は、ジョブを終了すべきと判定した場合(ステップS508;Yes)、フローチャートの処理を終了する。 Then, the vehicle-mounted terminal 20 transmits the upload data UD2 including the state information generated in step S506 and the collected data collected in step S504 to the vehicle cloud server 30 (step S507). Then, when the in-vehicle terminal 20 determines that the job should be ended (step S508; Yes), the process of the flowchart is ended.

一方、車載端末20は、アップロードデータUD2の送信タイミングでない場合(ステップS505;No)、又は、ジョブが終了していない場合(ステップS508;No)、ステップS503へ処理を戻す。これにより、車載端末20は、ステップS503〜ステップS507の処理を、ジョブの有効期限が終了するまで繰り返し実行する。 On the other hand, when it is not the transmission timing of the upload data UD2 (step S505; No) or when the job is not completed (step S508; No), the vehicle-mounted terminal 20 returns the process to step S503. As a result, the in-vehicle terminal 20 repeatedly executes the processes of steps S503 to S507 until the expiration date of the job ends.

図21は、有効な状態管理フラグFsを含むジョブリクエストJR1を受信した第3実施例に係るビークルクラウドサーバ30が実行する処理手順を示すフローチャートを示す。 FIG. 21 is a flowchart showing a processing procedure executed by the vehicle cloud server 30 according to the third embodiment which receives the job request JR1 including the valid state management flag Fs.

まず、ビークルクラウドサーバ30は、有効な状態管理フラグFsを含むジョブリクエストJR1をサービスクラウドサーバ40から受信する(ステップS601)。そして、ビークルクラウドサーバ30は、記憶部32に記憶された車両情報を参照し、ビークルクラウドサーバ30が管理する車両の車載端末20に対して、ジョブリクエストJR1に基づき生成したジョブリクエストJR2を送信する(ステップS602)。 First, the vehicle cloud server 30 receives the job request JR1 including the valid state management flag Fs from the service cloud server 40 (step S601). Then, the vehicle cloud server 30 refers to the vehicle information stored in the storage unit 32, and transmits the job request JR2 generated based on the job request JR1 to the vehicle-mounted terminal 20 of the vehicle managed by the vehicle cloud server 30. (Step S602).

その後、ビークルクラウドサーバ30は、状態情報を含むアップロードデータUD2を車載端末20から受信し、記憶部32に記憶する(ステップS603)。そして、ビークルクラウドサーバ30は、受信したアップロードデータUD2が示すジョブ及び車両IDに対応する状態履歴情報を更新する(ステップS604)。例えば、ビークルクラウドサーバ30は、対象の状態履歴情報に対し、受信したアップロードデータUD2の状態情報が示すジョブ状態と、時刻情報とを含むレコードを追加する。そして、ビークルクラウドサーバ30は、予め定めたアップロードデータUD2の収集期間が終了するまで(ステップS605;No)、ステップS603及びステップS604を繰り返し行う。 After that, the vehicle cloud server 30 receives the upload data UD2 including the status information from the vehicle-mounted terminal 20 and stores it in the storage unit 32 (step S603). Then, the vehicle cloud server 30 updates the status history information corresponding to the job and vehicle ID indicated by the received upload data UD2 (step S604). For example, the vehicle cloud server 30 adds a record including the job status indicated by the status information of the received upload data UD2 and the time information to the target status history information. Then, the vehicle cloud server 30 repeats step S603 and step S604 until the predetermined collection period of the upload data UD2 ends (step S605; No).

そして、ビークルクラウドサーバ30は、アップロードデータUD2の収集期間が終了したと判定した場合(ステップS605;Yes)、記憶部32に記憶した状態履歴情報に基づき、車両ごとのアクティブ遷移回数などを算出する(ステップS606)。この場合、ビークルクラウドサーバ30は、アクティブ遷移回数に加えて、インアクティブ遷移回数などについても状態履歴情報に基づき算出してもよい。 When the vehicle cloud server 30 determines that the collection period of the upload data UD2 has ended (step S605; Yes), the vehicle cloud server 30 calculates the number of active transitions for each vehicle based on the state history information stored in the storage unit 32. (Step S606). In this case, the vehicle cloud server 30 may calculate the number of inactive transitions in addition to the number of active transitions based on the state history information.

そして、ビークルクラウドサーバ30は、インアクティブ車両数、アクティブ車両数、アクティブ延べ車両数、データ収集車両数等の集計を行う(ステップS607)。例えば、ビークルクラウドサーバ30は、アクティブ車両数及びアクティブ延べ車両数については、ステップS605で算出した車両ごとのアクティブ遷移回数に基づき算出する。また、ビークルクラウドサーバ30は、インアクティブ車両数については、送信履歴情報Ih又はステップS605で算出したインアクティブ遷移回数のいずれかに基づき算出し、データ収集車両数については、収集データを含むアップロードデータUD2の送信元の車載端末20を数えることで算出する。 Then, the vehicle cloud server 30 totals the number of inactive vehicles, the number of active vehicles, the total number of active vehicles, the number of data collection vehicles, etc. (step S607). For example, the vehicle cloud server 30 calculates the number of active vehicles and the total number of active vehicles based on the number of active transitions for each vehicle calculated in step S605. Further, the vehicle cloud server 30 calculates the number of inactive vehicles based on either the transmission history information Ih or the number of inactive transitions calculated in step S605, and regarding the number of data collecting vehicles, upload data including collected data. It is calculated by counting the in-vehicle terminals 20 that are the senders of UD2.

次に、ビークルクラウドサーバ30は、ステップS605での集計結果を含むアップロードデータUD1(図9参照)を、ジョブリクエストJR1の要求元であるサービスクラウドサーバ40へ送信する(ステップS608)。その後、ジョブリクエストJR1を生成したサービスクラウドサーバ40は、ビークルクラウドサーバ30からアップロードデータUD1を受信する。この場合、サービスクラウドサーバ40は、受信したアップロードデータUD1に基づき、返信された収集データの信頼性の判定、データ収集依頼の有効性やコスト効率の判定などを行う。 Next, the vehicle cloud server 30 transmits the upload data UD1 (see FIG. 9) including the aggregation result in step S605 to the service cloud server 40 that is the request source of the job request JR1 (step S608). After that, the service cloud server 40 that has generated the job request JR1 receives the upload data UD1 from the vehicle cloud server 30. In this case, the service cloud server 40 determines the reliability of the returned collection data, the validity of the data collection request, and the cost efficiency based on the received upload data UD1.

以上説明したように、ビークルクラウドサーバ30は、サービスクラウドサーバ40が発したジョブリクエストJR1を受信し、複数の車両の車載端末20に対してジョブリクエストJR1に応じたジョブリクエストJR2を送信する。また、ビークルクラウドサーバ30は、複数の車両の車載端末20が正常にジョブリクエストJR2を受信できたことを示す受信結果であるアップロードデータUD2を受信し、アップロードデータUD2に基づき、ジョブリクエストJR2を正常に受信できた車両数であるインアクティブ車両数を計数する。また、ビークルクラウドサーバ30は、ジョブのアクティブ遷移回数が1回以上となるアップロードデータUD2を受信し、当該アップロードデータUD2を送信した車両数及び延べ車両数を表すアクティプ車両数及びアクティブ延べ車両数を計数する。そして、ビークルクラウドサーバ30は、インアクティブ車両数、アクティプ車両数、アクティブ延べ車両数の情報を含むアップロードデータUD1をサービスクラウドサーバ40へ送信する。 As described above, the vehicle cloud server 30 receives the job request JR1 issued by the service cloud server 40 and transmits the job request JR2 corresponding to the job request JR1 to the vehicle-mounted terminals 20 of a plurality of vehicles. Further, the vehicle cloud server 30 receives the upload data UD2, which is a reception result indicating that the vehicle-mounted terminals 20 of a plurality of vehicles have successfully received the job request JR2, and normally executes the job request JR2 based on the upload data UD2. The number of inactive vehicles, which is the number of vehicles that can be received by the vehicle, is counted. In addition, the vehicle cloud server 30 receives the upload data UD2 in which the number of active transitions of the job is 1 or more, and indicates the number of active vehicles and the total number of active vehicles that represent the number of vehicles and the total number of vehicles that transmitted the upload data UD2. Count. Then, the vehicle cloud server 30 transmits, to the service cloud server 40, upload data UD1 including information on the number of inactive vehicles, the number of active vehicles, and the number of active total vehicles.

以上説明したように、ビークルクラウドサーバ30は、サービスクラウドサーバ40が発したジョブリクエストJR1を受信する。そして、ビークルクラウドサーバ30は、ジョブリクエストJR1に応じたデータ収集条件情報及び収集データ指定情報と、データ収集条件情報及び収集データ指定情報が示すジョブの状態が、所定条件が満たされた場合に当該ジョブを実行する状態であるアクティブ状態になった回数であるアクティブ遷移回数を計数するための状態カウント情報又は状態履歴情報若しくは状態情報を送信することを示す状態管理フラグFsと、を含むジョブリクエストJR2を生成する。そして、ビークルクラウドサーバ30は、複数の車両の車載端末20に対してジョブリクエストJR2を送信する。そして、ビークルクラウドサーバ30は、ジョブリクエストJR2に対する収集データと状態カウント情報又は状態履歴情報若しくは状態情報とを含むアップロードデータUD2を受信し、状態カウント情報又は状態履歴情報若しくは状態情報に基づき、アクティプ車両数又はアクティブ延べ車両数の少なくとも一方を計数する。そして、ビークルクラウドサーバ30は、上述の計数結果に基づくアップロードデータUD1をサービスクラウドサーバ40に送信する。 As described above, the vehicle cloud server 30 receives the job request JR1 issued by the service cloud server 40. Then, the vehicle cloud server 30 determines whether the data collection condition information and the collected data designation information corresponding to the job request JR1 and the job status indicated by the data collection condition information and the collected data designation information satisfy the predetermined condition. A job request JR2 including state count information for counting the number of active transitions, which is the number of times the job is in the active state, that is, the state history information, or a state management flag Fs indicating that the state information is transmitted. To generate. Then, the vehicle cloud server 30 transmits the job request JR2 to the vehicle-mounted terminals 20 of the plurality of vehicles. Then, the vehicle cloud server 30 receives the upload data UD2 including the collected data for the job request JR2 and the state count information or the state history information or the state information, and based on the state count information or the state history information or the state information, the active vehicle At least one of the number of vehicles and the number of active vehicles is counted. Then, the vehicle cloud server 30 transmits the upload data UD1 based on the above counting result to the service cloud server 40.

<変形例>
次に、上述の第1〜第3実施例に好適な変形例について説明する。以下の変形例は、任意に組み合わせて上述の実施例に適用してもよい。
<Modification>
Next, modified examples suitable for the above-described first to third embodiments will be described. The following modifications may be applied to the above-described embodiment in any combination.

(変形例1)
第1〜第3実施例において、車載端末20に相当する機能が車両Vに内蔵されていてもよい。この場合、車両の電子制御装置(ECU:Electronic Control Unit)は、車両のメモリに記憶されたプログラムを実行することで、車載端末20の制御部24に相当する処理を実行する。この場合、車両Vは、「移動体」の一例であり、車両Vの電子制御装置は、「端末装置」の一例である。
(Modification 1)
In the first to third examples, the function corresponding to the in-vehicle terminal 20 may be built in the vehicle V. In this case, an electronic control unit (ECU: Electronic Control Unit) of the vehicle executes a program stored in the memory of the vehicle to execute a process corresponding to the control unit 24 of the vehicle-mounted terminal 20. In this case, the vehicle V is an example of a “moving body”, and the electronic control device of the vehicle V is an example of a “terminal device”.

(変形例2)
第1実施例の状態カウント情報には、インアクティブ遷移回数に関する情報が含まれていた。これに代えて、状態カウント情報には、インアクティブ遷移回数に関する情報が含まれていなくともよい。
(Modification 2)
The state count information of the first embodiment includes information about the number of inactive transitions. Alternatively, the state count information may not include information regarding the number of inactive transitions.

この場合、車載端末20は、図10のステップS103及びステップS106において、アクティブ遷移回数のみをカウントし、カウントしたアクティブ遷移回数の情報をアップロードデータUD2に含めてビークルクラウドサーバ30に送信する。この場合、ビークルクラウドサーバ30は、図11のステップS205において、インアクティブ車両数を、送信履歴情報Ihに基づき算出する。また、ビークルクラウドサーバ30は、アップロードデータUD2の送信元となる車載端末20の数をカウントすることで、データ収集車両数を算出する。 In this case, in step S103 and step S106 of FIG. 10, the vehicle-mounted terminal 20 counts only the number of active transitions, includes the information of the counted number of active transitions in the upload data UD2, and transmits it to the vehicle cloud server 30. In this case, the vehicle cloud server 30 calculates the number of inactive vehicles based on the transmission history information Ih in step S205 of FIG. Further, the vehicle cloud server 30 calculates the number of data collection vehicles by counting the number of the vehicle-mounted terminals 20 that are the transmission sources of the upload data UD2.

同様に、第2実施例の状態履歴情報には、インアクティブ状態への遷移に関する情報が含まれていなくともよい。この場合においても、状態履歴情報を含むアップロードデータUD2を受信したビークルクラウドサーバ30は、図17のステップS406において、インアクティブ車両数を、送信履歴情報Ihに基づき算出すればよい。 Similarly, the state history information of the second embodiment may not include the information regarding the transition to the inactive state. Also in this case, the vehicle cloud server 30 that has received the upload data UD2 including the status history information may calculate the number of inactive vehicles based on the transmission history information Ih in step S406 of FIG.

(変形例3)
第1実施例において、車載端末20は、アップロードデータUD2の送信時に状態履歴情報から状態カウント情報を生成し、アップロードデータUD2に状態カウント情報を含めてもよい。この場合、車載端末20は、図14と同様、記憶部22に状態履歴情報を記憶する。そして、車載端末20は、アップロードデータUD2の送信タイミングにおいて、記憶部22に記憶した状態履歴情報を参照して状態カウント情報を生成し、収集データ等と共にアップロードデータUD2としてビークルクラウドサーバ30へ送信する。
(Modification 3)
In the first embodiment, the vehicle-mounted terminal 20 may generate the state count information from the state history information when transmitting the upload data UD2 and include the state count information in the upload data UD2. In this case, the vehicle-mounted terminal 20 stores the state history information in the storage unit 22, as in FIG. Then, at the transmission timing of the upload data UD2, the in-vehicle terminal 20 refers to the state history information stored in the storage unit 22 to generate the state count information, and transmits it to the vehicle cloud server 30 as the upload data UD2 together with the collected data and the like. ..

(変形例4)
第1〜第3実施例において、ジョブリクエストJR1、JR2に含まれるジョブは複数であってもよい。この場合、複数のジョブに共通の実行条件が設定されていてもよく、ジョブごとに異なる実行条件が設定されていてもよい。ジョブごとに異なる実行条件が設定されている場合、ジョブは個々のジョブ状態を持つ。例えば、インアクティブ状態からアクティブ状態への遷移は、実行条件を満たしたジョブが個別にアクティブ状態に遷移する。
(Modification 4)
In the first to third embodiments, the job requests JR1 and JR2 may include a plurality of jobs. In this case, common execution conditions may be set for a plurality of jobs, or different execution conditions may be set for each job. If different execution conditions are set for each job, the job has individual job status. For example, in the transition from the inactive state to the active state, jobs that satisfy the execution conditions individually transition to the active state.

(変形例5)
第1〜第3実施例において、ビークルクラウドサーバ30は、インアクティブ車両数に対するアクティブ車両数の割合、又は、インアクティブ車両数に対するデータ収集車両数の割合等を示す割合情報を生成し、当該割合情報をアップロードデータUD1に含めてサービスクラウドサーバ40へ送信してもよい。これにより、ビークルクラウドサーバ30は、データ収集依頼の有効性やコスト効率を判定するのに必要な情報をサービスクラウドサーバ40に対して好適に送信することができる。本変形例において、上述の割合情報は、「移動体数情報」の一例である。
(Modification 5)
In the first to third embodiments, the vehicle cloud server 30 generates ratio information indicating the ratio of the number of active vehicles to the number of inactive vehicles, or the ratio of the number of data collection vehicles to the number of inactive vehicles, and the ratio. The information may be included in the upload data UD1 and transmitted to the service cloud server 40. Thereby, the vehicle cloud server 30 can suitably transmit the information necessary for determining the validity and cost efficiency of the data collection request to the service cloud server 40. In the present modification, the above-mentioned ratio information is an example of “moving body number information”.

20 車載端末
27 センサ部
30 ビークルクラウドサーバ
40 サービスクラウドサーバ
20 In-vehicle terminal 27 Sensor section 30 Vehicle cloud server 40 Service cloud server

Claims (10)

情報管理装置が発した要求信号を受信する第1受信部と、
前記要求信号に応じた指令情報と、前記指令情報の状態が、所定条件が満たされた場合に前記指令情報が示す指令を実行する状態である実行状態になった回数を計数するための計数情報を送信することを示すフラグ情報と、を含む送信情報を生成する生成部と、
複数の移動体に対して前記送信情報を送信する第1送信部と、
前記指令情報に対する応答情報と前記計数情報とを受信する第2受信部と、
前記計数情報に基づき、前記指令情報が前記実行状態となった移動体の数と、移動体毎の前記指令情報が前記実行状態となった回数と、の少なくとも一方を計数する計数部と、
前記計数部の計数結果に基づく情報を前記情報管理装置に送信する第2送信部と、
を備えることを特徴とする移動体管理装置。
A first receiving unit for receiving a request signal issued by the information management device;
Count information for counting the number of times the command information corresponding to the request signal and the state of the command information are in the execution state, which is the state of executing the command indicated by the command information when a predetermined condition is satisfied. And flag information indicating that the transmission is performed, and a generation unit that generates transmission information including
A first transmission unit that transmits the transmission information to a plurality of mobile bodies;
A second receiver for receiving response information for the command information and the counting information;
A count unit that counts at least one of the number of mobile units in which the command information is in the execution state, and the number of times the command information in each mobile unit is in the execution state, based on the count information,
A second transmitting unit that transmits information based on the counting result of the counting unit to the information management device;
A mobile unit management apparatus comprising:
前記計数情報は、前記指令情報の状態が、前記実行状態と、前記条件が満たされない場合に前記指令が実行されない状態である非実行状態と、の状態に変化した履歴を示す履歴情報を含み、
前記計数部は、前記複数の移動体から受信する前記履歴情報に基づき、前記指令情報が前記実行状態となった移動体の数と、移動体毎の前記指令情報が前記実行状態となった回数と、の少なくとも一方を計数する、請求項1に記載の移動体管理装置。
The counting information, the state of the command information, the execution state, a non-execution state is a state in which the command is not executed when the condition is not satisfied, and history information indicating a history of changes to the state of,
The counting unit, based on the history information received from the plurality of mobile bodies, the number of mobile bodies in which the command information is in the execution state, and the number of times the command information for each mobile body is in the execution state. The mobile object management device according to claim 1, wherein at least one of the following items is counted.
前記計数情報は、前記指令情報の状態が、前記実行状態となった回数と、前記条件が満たされない場合に前記指令が実行されない状態である非実行状態となった回数と、を示す回数情報を含み、
前記計数部は、前記複数の移動体から受信する前記回数情報に基づき、前記指令情報が前記実行状態となった移動体の数と、移動体毎の前記指令情報が前記実行状態となった回数と、の少なくとも一方を計数する、請求項1に記載の移動体管理装置。
The count information is frequency information indicating the number of times the command information is in the execution state and the number of times the command is not executed when the condition is not satisfied. Including,
The counting unit, based on the number-of-times information received from the plurality of mobile units, the number of mobile units in which the command information is in the execution state and the number of times the command information for each mobile unit is in the execution state. The mobile object management device according to claim 1, wherein at least one of the following items is counted.
前記フラグ情報は、前記計数情報を所定時間ごとに前記移動体管理装置に送信することを示す情報を含み、
前記計数情報は、前記フラグ情報が示す前記計数情報の送信タイミングにおける前記指令情報の状態が、前記実行状態と、前記条件が満たされない場合に前記指令が実行されない状態である非実行状態と、のうちの一方であることを示す状態情報を含み、
前記計数部は、前記複数の移動体から受信する前記状態情報に基づき、前記指令情報が前記実行状態となった移動体の数と、移動体毎の前記指令情報が前記実行状態となった回数と、の少なくとも一方を計数する、請求項1に記載の移動体管理装置。
The flag information includes information indicating that the count information is transmitted to the mobile management device at predetermined time intervals,
The count information includes a state of the command information at the transmission timing of the count information indicated by the flag information, the execution state, and a non-execution state in which the command is not executed when the condition is not satisfied. Including status information that indicates one of them,
The counting unit, based on the state information received from the plurality of mobile bodies, the number of mobile bodies in which the command information is in the execution state, and the number of times the command information for each mobile body is in the execution state. The mobile object management device according to claim 1, wherein at least one of the following items is counted.
前記計数部は、前記指令情報が前記非実行状態となった移動体の数と、移動体毎の前記指令情報が前記非実行状態となった回数と、の少なくとも一方を計数する、請求項2〜4のいずれか一項に記載の移動体管理装置。 3. The counting unit counts at least one of the number of moving bodies in which the instruction information is in the non-execution state and the number of times in which the instruction information of each moving body is in the non-execution state. The mobile unit management device according to any one of items 1 to 4. 移動体管理装置が移動体ごとに送信する送信データのデータ構造であって、
前記移動体に実行させる指令の内容を示す指令情報と、
前記指令情報の状態が、所定条件が満たされた場合に前記指令情報が示す指令を実行する状態である実行状態になった回数を計数するための計数情報を送信することを示すフラグ情報と、を有する送信データのデータ構造。
The data structure of the transmission data transmitted by the mobile management device for each mobile,
Command information indicating the content of the command to be executed by the moving body,
The state of the command information, flag information indicating that to transmit the count information for counting the number of times the execution state is a state of executing the command indicated by the command information when a predetermined condition is satisfied, The data structure of the transmitted data having.
移動体管理装置が実行する制御方法であって、
情報管理装置が発した要求信号を受信する第1受信工程と、
前記要求信号に応じた指令情報と、前記指令情報の状態が、所定条件が満たされた場合に前記指令情報が示す指令を実行する状態である実行状態になった回数を計数するための計数情報を送信することを示すフラグ情報と、を含む送信情報を生成する生成工程と、
複数の移動体に対して前記送信情報を送信する第1送信工程と、
前記指令情報に対する応答情報と前記計数情報とを受信する第2受信工程と、
前記計数情報に基づき、前記指令情報が前記実行状態となった移動体の数と、移動体毎の前記指令情報が前記実行状態となった回数と、の少なくとも一方を計数する計数工程と、
前記計数部の計数結果に基づく情報を前記情報管理装置に送信する第2送信工程と、
を有することを特徴とする制御方法。
A control method executed by a mobile management device, comprising:
A first receiving step of receiving a request signal issued by the information management device,
Count information for counting the number of times the command information corresponding to the request signal and the state of the command information are in the execution state, which is the state of executing the command indicated by the command information when a predetermined condition is satisfied. Flag information indicating that the transmission is to be performed, and a generation step of generating transmission information including
A first transmitting step of transmitting the transmission information to a plurality of mobile bodies;
A second receiving step of receiving response information for the command information and the counting information;
A counting step of counting at least one of the number of mobile units in which the command information is in the execution state and the number of times the command information for each mobile unit is in the execution state based on the counting information,
A second transmitting step of transmitting information based on the counting result of the counting section to the information management device;
A control method comprising:
請求項7に記載の制御方法を、コンピュータにより実行させるプログラム。 A program that causes a computer to execute the control method according to claim 7. 請求項8に記載のプログラムを記憶したことを特徴とする記憶媒体。 A storage medium storing the program according to claim 8. 移動体に搭載される端末装置であって、
情報管理装置が発した要求信号に応じて移動体管理装置が発した指令情報と、前記指令情報の状態が、所定条件を満たした場合に前記指令情報が示す指令を実行する状態である実行状態になった回数を計数するための計数情報を前記移動体管理装置に送信することを示すフラグ情報と、を含む送信情報を移動体管理装置から受信する受信部と、
前記フラグ情報に基づき前記計数情報を生成する生成部と、
前記計数情報と、前記指令情報に対する応答情報と、を前記移動体管理装置に送信する送信部と、
を備えることを特徴とする端末装置。
A terminal device mounted on a mobile body,
Command information issued by the mobile object management device in response to a request signal issued by the information management device, and the state of the command information is an execution state in which the command indicated by the command information is executed when a predetermined condition is satisfied. A flag information indicating that the count information for counting the number of times the flag has been transmitted to the mobile management device, and a reception unit that receives transmission information including the flag information from the mobile management device,
A generation unit that generates the count information based on the flag information,
A transmission unit that transmits the count information and response information to the command information, to the mobile management device,
A terminal device comprising:
JP2018246507A 2018-12-28 2018-12-28 Moving body management device, terminal device, data structure, control method, program and storage medium Pending JP2020107148A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018246507A JP2020107148A (en) 2018-12-28 2018-12-28 Moving body management device, terminal device, data structure, control method, program and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018246507A JP2020107148A (en) 2018-12-28 2018-12-28 Moving body management device, terminal device, data structure, control method, program and storage medium

Publications (1)

Publication Number Publication Date
JP2020107148A true JP2020107148A (en) 2020-07-09

Family

ID=71449195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018246507A Pending JP2020107148A (en) 2018-12-28 2018-12-28 Moving body management device, terminal device, data structure, control method, program and storage medium

Country Status (1)

Country Link
JP (1) JP2020107148A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7449536B2 (en) 2020-07-10 2024-03-14 国立研究開発法人情報通信研究機構 Information collection system and method, mobile object

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008077143A (en) * 2006-09-19 2008-04-03 Kddi Corp Probe information collection device, probe information transmission device and probe information collection method
JP2009025184A (en) * 2007-07-20 2009-02-05 Xanavi Informatics Corp Route search system, data processor, data distribution apparatus, and navigation system
JP2014228526A (en) * 2013-05-27 2014-12-08 パイオニア株式会社 Information notification device, information notification system, information notification method and program for information notification device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008077143A (en) * 2006-09-19 2008-04-03 Kddi Corp Probe information collection device, probe information transmission device and probe information collection method
JP2009025184A (en) * 2007-07-20 2009-02-05 Xanavi Informatics Corp Route search system, data processor, data distribution apparatus, and navigation system
JP2014228526A (en) * 2013-05-27 2014-12-08 パイオニア株式会社 Information notification device, information notification system, information notification method and program for information notification device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7449536B2 (en) 2020-07-10 2024-03-14 国立研究開発法人情報通信研究機構 Information collection system and method, mobile object

Similar Documents

Publication Publication Date Title
WO2020137950A1 (en) Mobile body management apparatus, control method, program, and storage medium
JP6927088B2 (en) Driving data collection system, driving data collection center, and in-vehicle terminal
JP6708134B2 (en) Driving data collection system and driving data collection center
EP3994423B1 (en) Collecting user-contributed data relating to a navigable network
JP2019020928A (en) System, method and program for managing traffic information
JP2019053652A (en) Driverless transportation system
JP6951906B2 (en) Stop point management system, stop point notification system, stop point guidance system and stop point management program
JP2014066655A (en) Route search device and route search method
JP2019168993A (en) Data structure, information processing device, control method, program, and storage medium
JP2020027413A (en) Information processing device, control method, program, and storage medium
JP2020107148A (en) Moving body management device, terminal device, data structure, control method, program and storage medium
CN110113716B (en) Path state information acquisition method and device and storage medium
US20230112009A1 (en) Data structures, storage media, storage device and receiver
JP2023076483A (en) Information transmitting device, control method, program, and storage medium
JP2023001276A (en) Data structure, terminal device, data communication method, program and storage medium
JP4847853B2 (en) In-vehicle device
JP2004125429A (en) Navigation system, navigation center, on-board navigation system, and navigation method
WO2019181844A1 (en) Data structure, information processing device, data communication method, program, and storage medium
JP6847794B2 (en) Message delivery control system and telematics center
JP2019168607A (en) Map data structure, information processing device, and map data generator
JP6239331B2 (en) Information distribution system, information terminal device
JP2019174117A (en) Data structure, information transmitter, control method, program and storage medium
WO2019182083A1 (en) Data structure, information transmission device, control method, program, and storage medium
JP2019168437A (en) Data structure, information processing device, control method, program, and storage medium
JP2024014983A (en) Data structure, information transmitting device, control method, program and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221101

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230307

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20230912