JP2020003949A - Terminal program, server program and bicycle borrowing and lending method - Google Patents

Terminal program, server program and bicycle borrowing and lending method Download PDF

Info

Publication number
JP2020003949A
JP2020003949A JP2018121223A JP2018121223A JP2020003949A JP 2020003949 A JP2020003949 A JP 2020003949A JP 2018121223 A JP2018121223 A JP 2018121223A JP 2018121223 A JP2018121223 A JP 2018121223A JP 2020003949 A JP2020003949 A JP 2020003949A
Authority
JP
Japan
Prior art keywords
bicycle
information
server device
beacon
received
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
JP2018121223A
Other languages
Japanese (ja)
Inventor
憲治 安
Kenji Yasu
憲治 安
佐藤 祥
Sho Sato
祥 佐藤
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.)
Lamplight Inc
Original Assignee
Lamplight Inc
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 Lamplight Inc filed Critical Lamplight Inc
Priority to JP2018121223A priority Critical patent/JP2020003949A/en
Publication of JP2020003949A publication Critical patent/JP2020003949A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

To provide a terminal program, a server program, and a bicycle borrowing and lending method that make it possible to smoothly perform borrowing and lending of a bicycle between users.SOLUTION: In a bicycle borrowing and lending method according to the present embodiment, a server device stores bicycle information regarding a bicycle, beacon identification information of a beacon attached to the bicycle, and owner information of the bicycle by associating them with each other, a communication terminal device acquires beacon identification information included in a signal received from the beacon attached to the bicycle and transmits the acquired beacon identification information to the server device, the server device receives the beacon identification information from the communication terminal device and transmits the bicycle information stored associated with the received beacon identification information to the communication terminal device, the communication terminal device receives the bicycle information corresponding to the beacon identification information from the server device and transmits borrowing start information of the bicycle regarding the received bicycle information to the server device.SELECTED DRAWING: Figure 1

Description

本発明は、ユーザ間で自転車の貸し借りを行うための端末プログラム、サーバプログラム及び自転車貸借方法に関する。   The present invention relates to a terminal program, a server program, and a bicycle lending method for lending and lending a bicycle between users.

近年、自転車のシェア又はレンタル等の市場が急速に拡大している。従来、シェア又はレンタルに用いられる自転車は専用のものが大量生産され、同型の自転車が多数の人々に貸し出されている。例えば特許文献1においては、複数のシェアリング用の自転車と、それぞれが所定台数の自転車を停めることが可能な複数の駐輪エリアと、各駐輪エリアに設置された管理装置とを備える移動体シェアリングシステムが提案されている。特許文献1に記載の移動体シェアリングシステムでは、管理装置が駐輪エリアとほぼ同じ範囲を通信範囲とし、利用者ID及び移動体IDの入力を含む貸出処理によって該当する自転車に貸出通知を送信し、この通知を受信した自転車は管理装置の通信範囲外に出たときに作動する警報を停止する。   In recent years, the market for bicycle share or rental has been rapidly expanding. Conventionally, bicycles used exclusively for sharing or rental have been mass-produced, and bicycles of the same type have been lent to many people. For example, in Patent Literature 1, a mobile object including a plurality of sharing bicycles, a plurality of bicycle parking areas each capable of stopping a predetermined number of bicycles, and a management device installed in each bicycle parking area. Sharing systems have been proposed. In the mobile sharing system described in Patent Literature 1, the management device sets the communication range to be substantially the same as the bicycle parking area, and transmits a rental notification to the corresponding bicycle by a rental process including input of a user ID and a mobile ID. Then, the bicycle that has received the notification stops the alarm that is activated when the bicycle goes out of the communication range of the management device.

また特許文献2においては、駅やバス停近くの駐輪場に貸出用自転車を保管するとともに、鍵の貸出および返却を受け付ける改札装置を設置し、複数地域の改札装置を管理コンピュータで一括管理するシェアサイクルシステムが提案されている。改札装置には、キーホルダーを錠止するロック部材を備えた鍵保管庫と、利用者のICカードから利用者識別情報を読み取る第1読取器と、自転車の無線ICタグから自転車識別情報を読み取る第2読取器と、キーホルダーの非接触タグから鍵識別情報を読み取る第3読取器と、利用者識別情報、自転車識別情報及び鍵識別情報に基づいてロック部材を制御する制御部とが設けられる。   Further, in Patent Document 2, a bicycle for rent is stored in a bicycle parking lot near a station or a bus stop, a ticket gate device for receiving a key lending and return is installed, and a ticket management device in a plurality of regions is collectively managed by a management computer. Has been proposed. The ticket gate includes a key storage provided with a lock member for locking a key holder, a first reader for reading user identification information from a user's IC card, and a second reader for reading bicycle identification information from a wireless IC tag of the bicycle. A second reader, a third reader for reading key identification information from a non-contact tag of a key holder, and a control unit for controlling a lock member based on user identification information, bicycle identification information, and key identification information are provided.

特開2016−12291号公報JP-A-2006-12291 特開2016−45696号公報JP 2016-45696A

特許文献1又は特許文献2に記載のシステムでは、シェアリングのための専用の自転車が用いられる。大量生産された専用の自転車は、利用者にぞんざいに扱われことが多く、故障などにより廃棄された自転車が大量のゴミと化す、という問題を引き起こす可能性がある。   In the system described in Patent Literature 1 or Patent Literature 2, a dedicated bicycle for sharing is used. Dedicated bicycles mass-produced are often handled sloppyly by users, which may cause a problem that bicycles discarded due to breakdown or the like become large amounts of garbage.

本発明は、斯かる事情に鑑みてなされたものであって、その目的とするところは、ユーザ間での自転車の貸し借りを円滑に行うことを可能とする端末プログラム、サーバプログラム及び自転車貸借方法を提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a terminal program, a server program, and a bicycle lending method capable of smoothly lending and borrowing a bicycle between users. To provide.

本発明に係る端末プログラムは、ビーコンが発する信号を受信する受信部、及び、サーバ装置との間で通信を行う通信部を有する通信端末装置に、自転車に取り付けられたビーコンから前記受信部が受信した信号に含まれるビーコン識別情報を取得し、取得した前記ビーコン識別情報を前記サーバ装置へ送信し、前記サーバ装置から前記ビーコン識別情報に対応する自転車情報を受信し、受信した前記自転車情報に係る前記自転車の借用開始情報を前記サーバ装置へ送信する処理を行わせる。   A terminal program according to the present invention includes a receiving unit that receives a signal emitted by a beacon, and a communication terminal device that has a communication unit that performs communication with a server device, wherein the receiving unit receives the signal from a beacon attached to a bicycle. Acquiring the beacon identification information included in the received signal, transmitting the acquired beacon identification information to the server device, receiving bicycle information corresponding to the beacon identification information from the server device, and relating to the received bicycle information. A process of transmitting the bicycle borrowing start information to the server device is performed.

また、本発明に係る端末プログラムは、前記通信端末装置に、前記自転車に付された自転車識別情報を取得し、取得した自転車識別情報を前記サーバ装置へ送信する処理を行わせる。   Further, the terminal program according to the present invention causes the communication terminal device to perform processing of acquiring bicycle identification information attached to the bicycle and transmitting the acquired bicycle identification information to the server device.

また、本発明に係る端末プログラムは、前記通信端末装置に、前記サーバ装置から前記自転車識別情報に対応する利用条件情報を受信し、受信した利用条件情報を表示する処理を行わせる。   Further, the terminal program according to the present invention causes the communication terminal device to perform a process of receiving usage condition information corresponding to the bicycle identification information from the server device and displaying the received usage condition information.

また、本発明に係る端末プログラムは、前記通信端末装置に、前記借用開始情報を前記サーバ装置へ送信した後に、前記通信端末装置の位置情報を取得し、前記ビーコン識別情報を取得し、取得した位置情報、及び、取得した前記ビーコン識別情報を前記サーバ装置へ送信する処理を行わせる。   Further, the terminal program according to the present invention, to the communication terminal device, after transmitting the borrowing start information to the server device, obtain the position information of the communication terminal device, obtain the beacon identification information, obtained A process of transmitting the position information and the acquired beacon identification information to the server device is performed.

また、本発明に係る端末プログラムは、前記通信端末装置に、前記通信端末装置の位置情報を取得し、取得した位置情報、及び、前記自転車の借用終了情報を前記サーバ装置へ送信し、前記自転車の借用に係る料金を支払う処理を行わせる。   Further, the terminal program according to the present invention acquires the position information of the communication terminal device, transmits the acquired position information, and the borrowing end information of the bicycle to the server device to the communication terminal device. Payment processing for the borrowing of the refund.

また、本発明に係るサーバプログラムは、通信端末装置との間で通信を行う通信部を有するサーバ装置に、自転車に係る自転車情報及び前記自転車に取り付けられたビーコンのビーコン識別情報を対応付けて記憶し、前記自転車に取り付けられた前記ビーコンが発する信号を受信した前記通信端末装置から送信されるビーコン識別情報を受信し、受信した前記ビーコン識別情報に対応付けて記憶された前記自転車情報を前記通信端末装置へ送信する処理を行わせる。   Further, the server program according to the present invention stores bicycle information relating to a bicycle and beacon identification information of a beacon attached to the bicycle in a server device having a communication unit for performing communication with a communication terminal device. Receiving beacon identification information transmitted from the communication terminal device that has received the signal emitted by the beacon attached to the bicycle, and transmitting the bicycle information stored in association with the received beacon identification information to the communication terminal; A process for transmitting to the terminal device is performed.

また、本発明に係るサーバプログラムは、前記サーバ装置に、前記自転車情報及び前記ビーコン識別情報に対応付けて、前記自転車に付された自転車識別情報及び前記自転車の利用条件情報を記憶し、前記通信端末装置から前記自転車識別情報を受信し、受信した前記自転車識別情報に対応付けて記憶された前記利用条件情報を前記通信端末装置へ送信する処理を行わせる。   Further, the server program according to the present invention stores, in the server device, bicycle identification information attached to the bicycle and use condition information of the bicycle in association with the bicycle information and the beacon identification information, A process of receiving the bicycle identification information from the terminal device and transmitting the usage condition information stored in association with the received bicycle identification information to the communication terminal device is performed.

また、本発明に係るサーバプログラムは、前記サーバ装置に、前記通信端末装置から前記自転車の借用開始情報を受信し、前記通信端末装置から位置情報及び前記ビーコン識別情報を受信し、受信した前記位置情報を記憶する処理を行わせる。   Further, the server program according to the present invention, the server device, receiving the bicycle borrowing start information from the communication terminal device, receiving the position information and the beacon identification information from the communication terminal device, the received position A process for storing information is performed.

また、本発明に係るサーバプログラムは、前記サーバ装置に、前記通信端末装置から前記自転車の借用終了情報を受信し、前記自転車の借用に係る料金を算出する処理を行わせる。   Also, the server program according to the present invention causes the server device to receive the borrowing end information of the bicycle from the communication terminal device and perform a process of calculating a fee for borrowing the bicycle.

また、本発明に係るサーバプログラムは、前記サーバ装置に、受け取った前記料金の一部を、前記自転車の所有者に支払う処理を行わせる。   In addition, the server program according to the present invention causes the server device to perform a process of paying a part of the received fee to an owner of the bicycle.

また、本発明に係る自転車貸借方法は、自転車に係る自転車情報、及び、前記自転車に取り付けられたビーコンのビーコン識別情報を対応付けて記憶し、前記ビーコンが発する信号を受信した通信端末装置から送信されるビーコン識別情報を受信し、受信した前記ビーコン識別情報に対応付けて記憶された前記自転車情報を前記通信端末装置へ送信し、前記自転車情報を受信した前記通信端末装置から送信される借用開始情報を受信する。   Also, the bicycle lending method according to the present invention stores the bicycle information relating to the bicycle and the beacon identification information of the beacon attached to the bicycle in association with each other, and transmits the stored beacon information from the communication terminal device that has received the signal emitted by the beacon. Receiving the beacon identification information, transmitting the bicycle information stored in association with the received beacon identification information to the communication terminal device, and starting borrowing transmitted from the communication terminal device having received the bicycle information. Receive information.

本発明においては、自身の自転車の貸し出しを希望する自転車の所有者は、予め自転車にビーコンを取り付けると共に、サーバ装置に情報を登録しておく。サーバ装置は、自転車の型番及び写真等の自転車情報と、自転車に取り付けられたビーコンの識別情報と、自転車の所有者の名前及び口座番号等の情報とをデータベースに記憶する。自転車の所有者は、例えば駅などの駐輪場に自転車を駐輪し、サーバ装置に対して自転車の貸し出しの許可を与える。
自転車の借用を希望する利用者は、通信端末装置を利用して自転車のビーコンの信号を受信することによって、駐輪場などに駐輪された自転車の中から借用可能な自転車を探し出す。このときに通信端末装置は、自転車から受信したビーコンの信号に含まれるビーコン識別情報をサーバ装置へ送信する。通信端末装置からビーコン識別情報を受信したサーバ装置は、受信したビーコン識別情報に対応付けられた自転車情報を通信端末装置へ送信する。利用者は、通信端末装置が受信した自転車情報に基づいて、駐輪場などから所望の自転車を探し出すことができる。自転車を探し出した利用者は、通信端末装置からサーバ装置へ自転車の借用開始情報を送信することによって、この自転車の借用を開始する。
これらにより自転車の利用者は、自転車に取り付けられたビーコンと、サーバ装置から送信される自転車情報とに基づいて、借用可能な自転車を容易に探し出すことが可能となる。
In the present invention, a bicycle owner who wants to lend his own bicycle attaches a beacon to the bicycle in advance and registers information in the server device. The server device stores, in a database, bicycle information such as a model number and a photograph of the bicycle, identification information of a beacon attached to the bicycle, and information such as a name and an account number of the owner of the bicycle. The owner of the bicycle parks the bicycle in a bicycle parking lot such as a station, for example, and gives the server device permission to lend the bicycle.
A user who wants to borrow a bicycle searches for a borrowable bicycle from among bicycles parked in a bicycle parking lot by receiving a signal of a bicycle beacon using the communication terminal device. At this time, the communication terminal device transmits beacon identification information included in the beacon signal received from the bicycle to the server device. The server device that has received the beacon identification information from the communication terminal device transmits the bicycle information associated with the received beacon identification information to the communication terminal device. The user can search for a desired bicycle from a bicycle parking lot or the like based on the bicycle information received by the communication terminal device. The user who has searched for the bicycle starts borrowing the bicycle by transmitting the borrowing start information of the bicycle from the communication terminal device to the server device.
Thus, the bicycle user can easily find a borrowable bicycle based on the beacon attached to the bicycle and the bicycle information transmitted from the server device.

また本発明においては、自転車の所有者は、例えば識別番号又はバーコード等の印刷されたシールを自転車に貼り付けることによって、自転車に対して自転車識別情報を付しておく。自転車の借用を希望する利用者は、借用可能な自転車を探し出した後、自身の通信端末装置を利用して自転車に付された自転車識別情報を取得し、サーバ装置へ自転車識別情報を送信する。
サーバ装置は、自転車識別情報に対応付けてこの自転車の利用条件情報、例えば利用可能な時間帯及び利用金額等の情報を記憶している。通信端末装置から自転車識別情報を受信したサーバ装置は、受信した自転車識別情報に対応する利用条件情報を通信端末装置へ送信する。
借用可能な自転車が近くに複数台存在する場合、各自転車が発するビーコンの信号に基づく自転車情報のみでは、利用者がいずれの自転車を利用しようとしているかをサーバ装置が特定することが難しい場合がある。自転車に付された自転車識別情報を利用者が通信端末装置にて取得してサーバ装置へ送信する構成とすることによって、利用者が借用しようとする自転車をサーバ装置は確実に特定することが可能となる。
In the present invention, the bicycle owner attaches the bicycle identification information to the bicycle by attaching a printed seal such as an identification number or a bar code to the bicycle. A user who wishes to borrow a bicycle finds a bicycle that can be borrowed, acquires the bicycle identification information attached to the bicycle using his / her own communication terminal device, and transmits the bicycle identification information to the server device.
The server device stores usage condition information of this bicycle, for example, information such as available time zone and usage amount, in association with the bicycle identification information. The server device that has received the bicycle identification information from the communication terminal device transmits usage condition information corresponding to the received bicycle identification information to the communication terminal device.
When there are a plurality of borrowable bicycles nearby, it may be difficult for the server device to identify which bicycle the user intends to use based on only the bicycle information based on the beacon signal emitted by each bicycle. . With the configuration in which the user acquires the bicycle identification information attached to the bicycle at the communication terminal device and transmits the information to the server device, the server device can reliably identify the bicycle that the user intends to borrow. It becomes.

また本発明においては、利用者の通信端末装置は、サーバ装置へ送信した自転車識別情報に対応する自転車の利用条件情報を、サーバ装置から受信して表示する。これにより、所有者は自転車毎に異なる利用条件を設定することが可能となり、利用者は自転車毎に設定された利用条件を自身の通信端末装置を用いて確認し、この自転車を借用するか否かを判断することができる。   Further, in the present invention, the user's communication terminal device receives, from the server device, bicycle use condition information corresponding to the bicycle identification information transmitted to the server device, and displays the bicycle use condition information. As a result, the owner can set different use conditions for each bicycle, and the user can check the use conditions set for each bicycle using his / her own communication terminal device and determine whether to borrow this bicycle. Can be determined.

また本発明においては、通信端末装置から借用開始情報をサーバ装置へ送信して利用者が自転車の借用を開始した後、利用者の通信端末装置は自身の位置情報を取得すると共に、自転車のビーコン情報を取得して、位置情報及びビーコン情報をサーバ装置へ送信する。サーバ装置は、通信端末装置から送信される位置情報及びビーコン情報を受信し、受信した位置情報を記憶する。これにより、借用された自転車の位置をサーバ装置が記憶することができる。
なおこのときに、通信端末装置が位置情報及びビーコン情報と共に時刻情報をサーバ装置へ送信するか、又は、サーバ装置が通信端末装置から位置情報及びビーコン情報を受信した時刻情報を取得する事によって、サーバ装置が位置情報及びビーコン情報と共に時刻情報を記憶してもよい。これによりサーバ装置は、自転車の位置変化の履歴を記憶することができる。
Further, in the present invention, after the borrowing start information is transmitted from the communication terminal device to the server device and the user starts borrowing the bicycle, the communication terminal device of the user acquires its own position information and also acquires the beacon of the bicycle. The information is acquired, and the position information and the beacon information are transmitted to the server device. The server device receives the position information and the beacon information transmitted from the communication terminal device, and stores the received position information. This allows the server device to store the position of the borrowed bicycle.
At this time, the communication terminal device transmits time information together with the position information and the beacon information to the server device, or the server device acquires the time information at which the position information and the beacon information are received from the communication terminal device, The server device may store the time information together with the position information and the beacon information. This allows the server device to store the history of the change in the position of the bicycle.

また本発明においては、自転車の借用を終えた利用者は、通信端末装置の位置情報と共に自転車の借用終了情報をサーバ装置へ送信する。これによりサーバ装置は、自転車の借用を終了した位置を確認することができる。自転車の借用終了情報を授受した後、通信端末装置は自転車の借用に係る料金の支払い処理を行い、サーバ装置は利用者から借用に係る料金を受け取る処理を行うことによって、自転車の貸借が終了する。   In the present invention, the user who has borrowed the bicycle transmits the borrowing end information of the bicycle together with the position information of the communication terminal device to the server device. Thereby, the server device can confirm the position where the borrowing of the bicycle has been completed. After exchanging the bicycle borrowing end information, the communication terminal device performs a payment process of the bicycle borrowing fee, and the server device performs a process of receiving the borrowing fee from the user, thereby completing the bicycle borrowing. .

また本発明においては、自転車の貸し出しにより利用者から料金を受け取ったサーバ装置は、この料金の一部を自転車の所有者に支払う処理を行う。これにより自転車の所有者は、自転車を貸し出すことによる対価を受け取ることができる。より多くの所有者に自転車の貸し出しを促すことができる。   Further, in the present invention, the server device which receives the fee from the user by lending the bicycle performs a process of paying a part of the fee to the owner of the bicycle. This allows the bicycle owner to receive compensation for lending the bicycle. More owners can be encouraged to lend a bicycle.

本発明による場合は、所有者及び利用者の間での自転車の貸し借りを円滑化することができる。   According to the present invention, lending and borrowing of a bicycle between an owner and a user can be facilitated.

本実施の形態に係る自転車貸借システムの構成を説明するための模式図である。It is a schematic diagram for explaining the configuration of the bicycle lending system according to the present embodiment. 本実施の形態に係るサーバ装置の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a server device according to the present embodiment. 所有者DBの構成例を示す模式図である。It is a schematic diagram which shows the example of a structure of an owner DB. 本実施の形態に係る所有者のスマホの構成を示すブロック図である。It is a block diagram which shows the structure of the owner's smart phone which concerns on this Embodiment. 本実施の形態に係る利用者のスマホの構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a user's smartphone according to the present embodiment. 本実施の形態に係る自転車貸借システムが行う自転車貸借処理を説明するためのタイミングチャートである。It is a timing chart for explaining the bicycle lending process performed by the bicycle lending system according to the present embodiment. 本実施の形態に係る自転車貸借システムが行う自転車貸借処理を説明するためのタイミングチャートである。It is a timing chart for explaining the bicycle lending process performed by the bicycle lending system according to the present embodiment. 本実施の形態に係る自転車貸借システムが行う自転車貸借処理を説明するためのタイミングチャートである。It is a timing chart for explaining the bicycle lending process performed by the bicycle lending system according to the present embodiment. 本実施の形態に係る所有者のスマホが行う自転車貸借処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the bicycle lending process which the owner's smart phone which concerns on this Embodiment performs. 本実施の形態に係る利用者のスマホが行う自転車貸借処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the bicycle lending process which the user's smart phone which concerns on this Embodiment performs. 本実施の形態に係る利用者のスマホが行う自転車貸借処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the bicycle lending process which the user's smart phone which concerns on this Embodiment performs. 本実施の形態に係るサーバ装置が行う自転車貸借処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the bicycle lending process which the server apparatus which concerns on this Embodiment performs. 本実施の形態に係るサーバ装置が行う自転車貸借処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the bicycle lending process which the server apparatus which concerns on this Embodiment performs.

本発明の実施形態に係る自転車貸借方法の具体例を、以下に図面を参照しつつ説明する。なお、本発明はこれらの例示に限定されるものではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。   A specific example of a bicycle lending method according to an embodiment of the present invention will be described below with reference to the drawings. It should be noted that the present invention is not limited to these examples, but is indicated by the appended claims, and is intended to include all modifications within the meaning and scope equivalent to the appended claims.

<システム概要>
図1は、本実施の形態に係る自転車貸借システムの構成を説明するための模式図である。本実施の形態に係る自転車貸借システムは、自転車1を所有者2及び利用者3の間で貸し借りすることをサーバ装置4が支援するシステムである。本自転車貸借システムにおいて自転車1の所有者2は、例えば朝晩にのみ自宅と最寄り駅との間の移動に使用する自転車1を、日中の不使用時間帯に貸し出すことによって、自転車1の提供に対する対価を得ることができる。これに対して、例えば日中に駅から周辺の訪問先への移動に自転車1を利用することを希望する利用者3は、駅の駐輪場などに駐輪された自転車1を借用し、所有者2が自転車1を使用しない時間帯に限りこれを利用することができる。利用者3は、自転車1の借用に対して所定の料金を支払う。
<System Overview>
FIG. 1 is a schematic diagram for explaining the configuration of the bicycle lending system according to the present embodiment. The bicycle lending system according to the present embodiment is a system in which server device 4 supports lending and borrowing bicycle 1 between owner 2 and user 3. In the present bicycle lending system, the owner 2 of the bicycle 1 rents the bicycle 1 used for traveling between the home and the nearest station only in the morning and evening, for example, during non-use hours during the day to provide the bicycle 1. You can get compensation. On the other hand, for example, a user 3 who wishes to use the bicycle 1 to move from the station to a nearby visitor during the day rents the bicycle 1 parked in a bicycle parking lot at the station and the owner 3 This can be used only during the time when the bicycle 2 does not use the bicycle 1. The user 3 pays a predetermined fee for borrowing the bicycle 1.

このような所有者2及び利用者3の間での自転車1の貸し借りを円滑化するため、本実施の形態に係る自転車貸借システムでは、所有者2が所持するスマートフォン(以下、スマホという)5と、利用者が所持するスマホ6との間でそれぞれ種々の情報を送受信するサーバ装置4が備えられている。自転車1の貸し出しを希望する所有者2は、自身のスマホ5に所定のアプリケーションプログラム(以下、アプリという)をダウンロードしてインストールし、このアプリを通じて所有者情報、自転車情報及び鍵情報等の必要な情報をサーバ装置4に登録する。所有者情報は、例えば所有者2の名前、住所及び料金が振り込まれる銀行口座等の情報が含まれ得る。自転車情報は、貸し出す自転車1のメーカー名、モデル名及び型番等の情報が含まれ得ると共に、本実施の形態においては自転車1を写真撮影した画像を含む。鍵情報は、自転車1の錠を解錠するために必要な情報である。サーバ装置4は、利用者のスマホ6から送信された所有者情報、自転車情報及び鍵情報等をデータベースに記録する。   In order to facilitate lending and borrowing of the bicycle 1 between the owner 2 and the user 3, the bicycle lending system according to the present embodiment employs a smartphone (hereinafter referred to as a smartphone) 5 owned by the owner 2. And a server device 4 for transmitting and receiving various information to and from a smartphone 6 possessed by the user. The owner 2 who wants to lend the bicycle 1 downloads and installs a predetermined application program (hereinafter referred to as an application) on his / her smartphone 5, and through this application, obtains necessary information such as owner information, bicycle information and key information. The information is registered in the server device 4. The owner information may include, for example, information such as a name, an address, and a bank account to which the fee is transferred of the owner 2. The bicycle information may include information such as a maker name, a model name, and a model number of the bicycle 1 to be lent, and in the present embodiment, includes an image of the bicycle 1 photographed. The key information is information necessary for unlocking the bicycle 1. The server device 4 records the owner information, bicycle information, key information, and the like transmitted from the user's smartphone 6 in a database.

また本実施の形態に係る自転車貸借システムでは、所有者2は自転車1に対して予めビーコン7及びQRコード(登録商標)8を取り付けておく必要がある。ビーコン7及びQRコード8は、例えばサーバ装置4に対して所有者情報、自転車情報及び鍵情報を登録した所有者2に対して、本自転車貸借システムを運営する企業などから有償又は無償で提供される。又は、ビーコン7及びQRコード8は一般の小売店で販売され、所有者2はこれを購入して自転車1に取り付け、所有者情報、自転車情報及び鍵情報を登録する際に、ビーコン7及びQRコード8の情報をサーバ装置4に登録してもよい。いずれにしても、サーバ装置4は、所有者2が登録した所有者情報、自転車情報及び鍵情報と共に、ビーコン7及びQRコード8の情報をデータベースに対応付けて記憶する。   In the bicycle rental system according to the present embodiment, owner 2 needs to attach beacon 7 and QR code (registered trademark) 8 to bicycle 1 in advance. The beacon 7 and the QR code 8 are provided, for example, to the owner 2 who has registered the owner information, the bicycle information, and the key information in the server device 4 from the company that operates the bicycle leasing system, for a fee or free of charge. You. Alternatively, the beacon 7 and the QR code 8 are sold at a general retail store, and the owner 2 purchases the beacon 7 and attaches it to the bicycle 1 and registers the beacon 7 and the QR code when registering the owner information, the bicycle information and the key information. The information of the code 8 may be registered in the server device 4. In any case, the server device 4 stores the information of the beacon 7 and the QR code 8 together with the owner information, the bicycle information, and the key information registered by the owner 2 in a database.

ビーコン7は、一定の周期で無線信号を送信する装置である。ビーコン7には、IDなどのビーコン識別情報が一意に割り当てられており、送信する無線信号にはこのビーコン識別情報が含まれている。ビーコン7は、例えばBluetooth(登録商標)の通信規格に基づいて無線信号の送信を行う構成とすることができる。ただしビーコン7は、Bluetooth以外の通信規格に基づいて無線信号の送信を行ってもよい。ビーコン7が送信する無線信号の到達範囲は、例えば数メートル〜数十メートル程度である。ビーコン7は、自転車1の所定箇所にネジ止め又は接着等の方法で取り付けられる。サーバ装置4は、所有者情報、自転車情報及び鍵情報等に対応付けて、ビーコン7のビーコン識別情報を記憶する。   The beacon 7 is a device that transmits a wireless signal at a constant cycle. The beacon 7 is uniquely assigned beacon identification information such as an ID, and the wireless signal to be transmitted includes the beacon identification information. The beacon 7 can be configured to transmit a wireless signal based on, for example, a Bluetooth (registered trademark) communication standard. However, the beacon 7 may transmit a wireless signal based on a communication standard other than Bluetooth. The reach of the wireless signal transmitted by the beacon 7 is, for example, about several meters to several tens of meters. The beacon 7 is attached to a predetermined portion of the bicycle 1 by a method such as screwing or bonding. The server device 4 stores the beacon identification information of the beacon 7 in association with the owner information, the bicycle information, the key information, and the like.

QRコード8は、自転車1を識別するための自転車識別情報を、スマホ5,6にて読み取り可能な画像とした二次元バーコードである。QRコード8は、例えばシールに印刷される態様で所有者2に提供されてもよく、また例えばビーコン7の筐体に印刷される態様で提供されてもよく、これら以外の態様で提供されてもよい。また自転車1を識別する自転車識別情報は、QRコード8ではなく、1次元バーコード、又は、アルファベット及び数字等を組み合わせた文字列の態様で提供されてもよい。サーバ装置4は、所有者情報、自転車情報、鍵情報及びビーコン識別情報等に対応付けて、QRコード8の自転車識別情報を記憶する。   The QR code 8 is a two-dimensional bar code in which bicycle identification information for identifying the bicycle 1 is an image readable by the smartphones 5 and 6. The QR code 8 may be provided to the owner 2 in a form printed on a sticker, for example, or may be provided in a form printed on the housing of the beacon 7, or provided in other forms. Is also good. Further, the bicycle identification information for identifying the bicycle 1 may be provided in the form of a one-dimensional barcode or a character string combining alphabets and numerals, instead of the QR code 8. The server device 4 stores the bicycle identification information of the QR code 8 in association with the owner information, the bicycle information, the key information, the beacon identification information, and the like.

自転車1の所有者2は、所有者情報、自転車情報及び鍵情報の登録と、自転車1へのビーコン7及びQRコード8の取り付けとを終えた後、自転車1を貸し出すことが可能となる。所有者2は、例えば朝の通勤時に最寄り駅の駐輪場に自転車1を駐輪する。その後、所有者2は、自身のスマホ5を操作して、自転車1の貸し出しの許可をサーバ装置4へ与える。このときに所有者2は、自転車1を貸し出す時間帯及び料金等の利用条件情報を設定してもよい。またスマホ5は、GPS(Global Positioning System)を利用して自身の位置を検出し、検出した位置情報を貸し出しの許可と共にサーバ装置4へ送信してもよい。所有者2が許可を与えることによって、自転車1は貸出可能な状態としてサーバ装置4に扱われる。   After completing the registration of the owner information, the bicycle information and the key information, and the attachment of the beacon 7 and the QR code 8 to the bicycle 1, the owner 2 of the bicycle 1 can rent out the bicycle 1. The owner 2 parks the bicycle 1 in a bicycle parking lot at the nearest station when commuting in the morning, for example. Thereafter, the owner 2 operates his / her smartphone 5 to give the server device 4 permission to rent the bicycle 1. At this time, the owner 2 may set usage condition information such as a time zone for renting the bicycle 1 and a fee. Alternatively, the smartphone 5 may detect its own position using a GPS (Global Positioning System), and may transmit the detected position information to the server device 4 together with permission for lending. When the owner 2 gives permission, the bicycle 1 is handled by the server device 4 as being in a rentable state.

これに対して、自転車1を借用することを希望する利用者3は、自身のスマホ6に所定のアプリをダウンロードしてインストールし、このアプリを通じて利用者情報をサーバ装置4に登録する。利用者情報は、例えば利用者3の名前、住所及び料金を支払うためのクレジットカード情報等の情報が含まれ得る。利用者3は、自身のスマホ6にて所定のアプリを動作させることにより、自転車1に取り付けられたビーコン7が送信する無線信号をスマホ6が受信可能となる。スマホ6はビーコン7が発する無線信号の受信の有無を利用者3に通知し、これにより利用者3は貸し出されている可能性がある自転車1が周囲に存在するか否かを判断することができる。   On the other hand, the user 3 who wants to borrow the bicycle 1 downloads and installs a predetermined application on his / her smartphone 6 and registers user information in the server device 4 through this application. The user information may include, for example, information such as the name, address, and credit card information for paying a fee of the user 3. The user 3 allows the smartphone 6 to receive a wireless signal transmitted by the beacon 7 attached to the bicycle 1 by operating a predetermined application on the smartphone 6 of the user 3. The smartphone 6 notifies the user 3 of whether or not the wireless signal emitted by the beacon 7 has been received, so that the user 3 can determine whether or not the bicycle 1 which may be rented exists in the vicinity. it can.

ビーコン7からの無線信号を受信した場合、スマホ6は、受信した無線信号に含まれるビーコン識別情報を取得し、取得したビーコン識別情報をサーバ装置4へ送信する。サーバ装置4は、スマホ6から送信されたビーコン識別情報を受信し、このビーコン識別情報に対応付けられた自転車情報をデータベースから取得してスマホ6へ送信する。なおこのときにサーバ装置4は、ビーコン識別情報に対応する自転車1について貸し出しの許可が所有者2から与えられていない場合には、自転車情報をスマホ6へ送信せずに、貸し出されていない旨を通知する。   When receiving the wireless signal from the beacon 7, the smartphone 6 acquires the beacon identification information included in the received wireless signal, and transmits the acquired beacon identification information to the server device 4. The server device 4 receives the beacon identification information transmitted from the smartphone 6, acquires bicycle information associated with the beacon identification information from the database, and transmits the bicycle information to the smartphone 6. At this time, if the owner 2 has not given permission to lend the bicycle 1 corresponding to the beacon identification information, the server device 4 does not transmit the bicycle information to the smartphone 6 and informs the user that the bicycle 1 has not been lent. Notify.

サーバ装置4から送信された自転車情報を受信したスマホ6は、受信した自転車情報を表示する。スマホ6は、例えば貸し出されている自転車1のメーカー名、モデル名及び型番等の情報と共に、自転車1を写真撮影した画像を表示する。これにより利用者3は、表示された画像を基に、貸し出されている自転車1を駐輪場などにおいて探し出すことができる。駐輪場には数十〜数百の自転車が駐輪されている場合があり、ビーコン7の無線信号の到達範囲が数メートル〜数十メートルであるため、ビーコン7からの無線信号をスマホ6が受信できたとしても、利用者3はいずれの自転車がビーコン7の無線信号の送信元であるかを判断することが難しい可能性がある。スマホ6に自転車1の画像を表示することによって、利用者3が貸し出されている自転車1を発見することを支援できる。   The smartphone 6 that has received the bicycle information transmitted from the server device 4 displays the received bicycle information. The smartphone 6 displays an image of a photograph of the bicycle 1 together with information such as the manufacturer name, model name, and model number of the lent bicycle 1. Thus, the user 3 can find the rented bicycle 1 in a bicycle parking lot or the like based on the displayed image. There are cases where tens to hundreds of bicycles are parked in the bicycle parking lot, and the smartphone 6 receives a wireless signal from the beacon 7 because the reachable range of the wireless signal of the beacon 7 is several meters to several tens of meters. Even if done, it may be difficult for the user 3 to determine which bicycle is the source of the wireless signal of the beacon 7. By displaying the image of the bicycle 1 on the smartphone 6, it is possible to assist the user 3 in finding the rented bicycle 1.

貸し出されている自転車1を見つけた利用者3は、自身のスマホ6を利用して、自転車1に付されたQRコード8の読み取りを行う。スマホ6は、読み取ったQRコード8から自転車1に対して付される自転車識別情報を取得することができ、取得した自転車識別情報をサーバ装置4へ送信する。サーバ装置4は、スマホ6から送信された自転車識別情報に対応する利用条件情報をデータベースから取得してスマホ6へ送信する。サーバ装置4から利用条件情報を受信したスマホ6は、この利用条件情報を表示する。スマホ6に表示される利用条件情報は、例えば自転車1を利用可能な時間帯(例えば午前10時から午後4時までなど)、及び、利用するための料金(例えば10分につき100円など)等である。利用者3は、スマホ6に表示された利用条件情報を基に、自転車1を借用するか否かを判断することができる。   The user 3 who has found the rented bicycle 1 reads the QR code 8 attached to the bicycle 1 using his / her smartphone 6. The smartphone 6 can acquire the bicycle identification information attached to the bicycle 1 from the read QR code 8, and transmits the acquired bicycle identification information to the server device 4. The server device 4 acquires from the database usage condition information corresponding to the bicycle identification information transmitted from the smartphone 6, and transmits the usage condition information to the smartphone 6. The smartphone 6 receiving the usage condition information from the server device 4 displays the usage condition information. The use condition information displayed on the smartphone 6 includes, for example, a time period during which the bicycle 1 can be used (for example, from 10:00 am to 4:00 pm), a fee for use (for example, 100 yen per 10 minutes), and the like. It is. The user 3 can determine whether to borrow the bicycle 1 based on the usage condition information displayed on the smartphone 6.

利用者3が自転車1を借用することを決定し、スマホ6にてその旨の操作を行うことにより、スマホ6はサーバ装置4へ借用開始情報を送信する。本実施の形態において借用開始情報には、自転車1を借用する旨の通知の他に、例えばスマホ6の位置情報及び借用開始の時刻情報等の情報を含む。スマホ6から借用開始情報を受信したサーバ装置4は、貸し出す自転車1の鍵情報をスマホ6へ送信する。またサーバ装置4は、貸出開始時の位置情報及び時刻情報とを記憶しておく。サーバ装置4から鍵情報を受信したスマホ6は、受信した鍵情報を表示する。   When the user 3 decides to borrow the bicycle 1 and performs an operation to that effect on the smartphone 6, the smartphone 6 transmits the borrowing start information to the server device 4. In the present embodiment, the borrowing start information includes, for example, information such as position information of the smartphone 6 and borrowing start time information, in addition to the notification that the bicycle 1 is to be borrowed. The server device 4 that has received the borrowing start information from the smartphone 6 transmits the key information of the rented bicycle 1 to the smartphone 6. Further, the server device 4 stores the position information and the time information at the time of starting lending. The smartphone 6 that has received the key information from the server device 4 displays the received key information.

本実施の形態において、自転車1に取り付けられた錠は、物理的な鍵を挿入して解錠する構成ではなく、例えば暗証番号の入力により解錠することが可能な構成であるものとする。利用者3は、スマホ6に表示された暗証番号などの鍵情報を基に、自転車1の錠を解錠することができる。ただし、自転車1の錠が遠隔操作により施錠/解錠を制御できる構成であってもよく、この場合にはサーバ装置4は鍵情報をスマホ6へ送信する処理に代えて、自転車1の錠を遠隔で解錠する処理を行ってもよい。利用者3は、解錠された自転車1を利用開始できる。これらにより利用者3は、例えば、所有者2が使用しない日中に、駅の駐輪場に駐輪された自転車1を駅周辺の訪問先への移動で利用することが可能となる。   In the present embodiment, the lock attached to the bicycle 1 is not configured to be unlocked by inserting a physical key, but is configured to be unlocked by inputting a password, for example. The user 3 can unlock the bicycle 1 based on the key information such as the password displayed on the smartphone 6. However, the lock of the bicycle 1 may be controlled to be locked / unlocked by remote control. In this case, the server device 4 releases the lock of the bicycle 1 instead of transmitting the key information to the smartphone 6. A process of unlocking remotely may be performed. The user 3 can start using the unlocked bicycle 1. Thus, for example, the user 3 can use the bicycle 1 parked in the bicycle parking lot at the station during a day when the owner 2 does not use the bicycle 1 to move to a destination around the station.

利用者3が自転車1を利用している間もビーコン7は無線信号を周期的に送信している。自転車1の利用開始後にビーコン7からの無線信号を受信した利用者3のスマホ6は、受信したビーコン7の無線信号から取得したビーコン識別情報と、GPSを利用して検出した位置情報とをサーバ装置4へ送信する。またこのときにスマホ6は、自身の時計機能又は受信したGPS信号等に基づいて時刻情報を取得し、取得した時刻情報をビーコン識別情報及び位置情報と共にサーバ装置4へ送信する。サーバ装置4は、自転車1の利用開始後にスマホ6から受信したビーコン識別情報、位置情報及び時刻情報を記憶する。これによりサーバ装置4は、自転車1の現在位置と、自転車1の走行軌跡とを把握することができる。   The beacon 7 also periodically transmits a radio signal while the user 3 uses the bicycle 1. The smartphone 6 of the user 3 receiving the wireless signal from the beacon 7 after starting to use the bicycle 1 stores the beacon identification information acquired from the received wireless signal of the beacon 7 and the position information detected using the GPS in the server. Transmit to the device 4. At this time, the smartphone 6 acquires time information based on its own clock function or a received GPS signal or the like, and transmits the acquired time information to the server device 4 together with the beacon identification information and the position information. The server device 4 stores the beacon identification information, position information, and time information received from the smartphone 6 after the start of using the bicycle 1. Thereby, the server device 4 can grasp the current position of the bicycle 1 and the traveling locus of the bicycle 1.

利用者3は、自転車1を利用し終えた場合、元の場所又はその周辺に自転車1を駐輪し、スマホ6にて自転車1の借用を終了する旨の操作を行う。これに応じてスマホ6は、借用終了情報をサーバ装置4へ送信する。本実施の形態において借用終了情報には、自転車1の借用を終える旨の通知の他に、スマホ6の位置情報及び借用終了の時刻情報等の情報を含む。借用終了情報を受信したサーバ装置4は、スマホ6から受信した借用終了情報に含まれる位置情報に基づいて、借用開始時の位置と借用終了時の位置とを比較し、所定距離以上の差異がある場合には、スマホ6に対して自転車1の返却位置を指示するメッセージなどを送信する。   When the user 3 has finished using the bicycle 1, the user parks the bicycle 1 at or around the original place, and performs an operation on the smartphone 6 to end the borrowing of the bicycle 1. In response, the smartphone 6 transmits the borrowing end information to the server device 4. In the present embodiment, the borrowing end information includes information such as the position information of the smartphone 6 and the borrowing end time information in addition to the notification that the borrowing of the bicycle 1 is finished. The server device 4 that has received the borrowing end information compares the position at the time of starting the borrowing with the position at the time of ending the borrowing based on the position information included in the borrowing end information received from the smartphone 6, and determines that the difference is equal to or more than a predetermined distance. In some cases, a message or the like indicating the return position of the bicycle 1 is transmitted to the smartphone 6.

借用終了情報を受信した、サーバ装置4は、自転車1が利用された時間を算出し、この時間に応じた料金を計算して、自転車1の借用に対する料金の請求情報をスマホ6に送信する。スマホ6は、サーバ装置4から送信された請求情報を受信して表示し、利用者3から支払いの承認又は支払い方法の選択等の操作を受け付ける。なお本実施の形態においては、自転車1の利用料金は予め登録された利用者3のクレジットカードを利用して支払われるものとし、スマホ6は請求情報を表示して利用者3による確認の操作を受け付けて、操作を受け付けた旨をサーバ装置4へ通知する。ただしスマホ6は、請求情報を表示するのみで、これに対する操作を受け付けない構成であってもよい。また自転車1の利用料金の支払いは、クレジットカードを用いる方法に限らず、これ以外の種々の方法を採用してよい。例えば、利用者3の銀行口座からの利用料金を引き落とし、又は、電子マネーを利用した支払い等の方法を採用することができる。また例えば、月々のスマホ6の基本使用料金及び通話料金等と共に、自転車1の利用料金を利用者3から徴収する、いわゆるキャリア決済を採用することもできる。   Upon receiving the borrowing end information, the server device 4 calculates the time during which the bicycle 1 has been used, calculates a fee according to this time, and transmits to the smartphone 6 billing information of the fee for borrowing the bicycle 1. The smartphone 6 receives and displays the billing information transmitted from the server device 4, and accepts an operation such as approval of payment or selection of a payment method from the user 3. In the present embodiment, it is assumed that the usage fee for the bicycle 1 is paid using a credit card of the user 3 registered in advance, and the smartphone 6 displays billing information and allows the user 3 to perform a confirmation operation. Upon receiving the operation, the server device 4 is notified that the operation has been received. However, the smartphone 6 may be configured to only display billing information and not accept an operation for the billing information. Payment of the usage fee of the bicycle 1 is not limited to a method using a credit card, but may employ various other methods. For example, it is possible to adopt a method of deducting the usage fee from the bank account of the user 3 or making a payment using electronic money. Further, for example, so-called carrier settlement in which the usage fee of the bicycle 1 is collected from the user 3 together with the monthly basic usage fee of the smartphone 6 and the call fee may be adopted.

サーバ装置4は、利用者3による自転車1の利用に対する料金の受け取りを、利用者情報として予め登録されたクレジットカードの情報に基づく適宜の決済処理にて行う。またサーバ装置4は、利用者3から受け取った料金の一部又は全部を、自転車1の所有者2へ支払う処理を行う。サーバ装置4は、所有者2への料金の支払いを、所有者情報として予め登録された銀行口座への振り込みにて行う。なお、サーバ装置4が行う料金の受け取り及び支払いの処理は、既存の技術であるため詳細な説明を省略する。   The server device 4 receives a fee for the use of the bicycle 1 by the user 3 by performing an appropriate payment process based on credit card information registered in advance as user information. The server device 4 performs a process of paying a part or all of the fee received from the user 3 to the owner 2 of the bicycle 1. The server device 4 pays the fee to the owner 2 by transferring the fee to a bank account registered in advance as owner information. The process of receiving and paying the fee performed by the server device 4 is an existing technology, and thus a detailed description is omitted.

サーバ装置4は、利用者3が支払った料金の一部を所有者2へ支払い、残りをシステムの手数料として徴収することができる。またサーバ装置4は、利用者3が支払った料金の全部を所有者2へ支払ってもよく、この場合には例えば所有者2からシステムの利用料金を別途徴収することができる。   The server device 4 can pay a part of the fee paid by the user 3 to the owner 2 and collect the rest as a system fee. Further, the server device 4 may pay the entire fee paid by the user 3 to the owner 2, and in this case, for example, the system usage fee can be separately collected from the owner 2.

なお、図1においては自転車1として二輪の自転車を図示しているが、本実施の形態に自転車貸借システムが扱う自転車1は二輪のものに限らない。「自転車」は、一輪車又は三輪以上の車輪を有する自転車であってもよい。本実施の形態において「自転車」は、人間の力で走行させる車両であればどのようなものであってもよく、例えばキックスケーター、バランスバイク又はスケートボード等を含み得る。また「自転車」には、モータなどの原動機により人間の力を補助する電動アシスト自転車を含み得る。   Although FIG. 1 illustrates a two-wheeled bicycle as the bicycle 1, the bicycle lending system in the present embodiment is not limited to a two-wheeled bicycle. A “bicycle” may be a unicycle or a bicycle having three or more wheels. In the present embodiment, the “bicycle” may be any vehicle that is driven by human power, and may include, for example, a kick skater, a balance bike, or a skateboard. "Bicycle" may also include an electrically assisted bicycle that assists human power with a motor such as a motor.

<装置構成>
図2は、本実施の形態に係るサーバ装置4の構成を示すブロック図である。本実施の形態に係るサーバ装置4は、処理部(プロセッサ)41、記憶部(ストレージ)42及び通信部(トランシーバ)43等を備えて構成されている。処理部41は、例えばCPU(Central Processing Unit)又はMPU(Micro-Processing Unit)等の演算処理装置を用いて構成され、記憶部42に記憶されたプログラムを実行することによって種々の演算処理を行うことができる。本実施の形態において処理部41は、記憶部42に記憶されたサーバプログラム42dを実行することにより、自転車1の貸借に関する種々の処理を行う。
<Apparatus configuration>
FIG. 2 is a block diagram showing a configuration of the server device 4 according to the present embodiment. The server device 4 according to the present embodiment includes a processing unit (processor) 41, a storage unit (storage) 42, a communication unit (transceiver) 43, and the like. The processing unit 41 is configured using an arithmetic processing device such as a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit), and performs various arithmetic processes by executing a program stored in the storage unit 42. be able to. In the present embodiment, the processing unit 41 performs various processes related to lending and renting the bicycle 1 by executing the server program 42d stored in the storage unit 42.

記憶部42は、磁気ディスク装置等の大容量の記憶装置を用いて構成され、処理部41が実行する種々のプログラムと、このプログラムの実行に必要な種々のデータとを記憶する。本実施の形態において記憶部42には、自転車1の所有者に関する情報を記憶する所有者DB(データベース)42aと、利用者に関する情報を記憶する利用者DB42bと、自転車1毎の利用履歴を記憶する利用履歴DB42cとが設けられる。また記憶部42は、処理部41が実行するサーバプログラム42dが記憶されている。なお、所有者DB42a、利用者DB42b及び利用履歴DB42cは、サーバ装置4とは別の装置に設けられていてもよい。   The storage unit 42 is configured using a large-capacity storage device such as a magnetic disk device, and stores various programs executed by the processing unit 41 and various data necessary for executing the programs. In the present embodiment, the storage unit 42 stores an owner DB (database) 42a that stores information about the owner of the bicycle 1, a user DB 42b that stores information about the user, and a usage history for each bicycle 1. The usage history DB 42c is provided. The storage unit 42 stores a server program 42d executed by the processing unit 41. The owner DB 42a, the user DB 42b, and the use history DB 42c may be provided in a device different from the server device 4.

図3は、所有者DB42aの構成例を示す模式図である。サーバ装置4の所有者DB42aには、自転車1の所有者2に関する所有者情報と、自転車1に関する自転車情報と、自転車1に取り付けられたビーコン7のビーコン識別情報と、自転車1に取り付けられたQRコード8の自転車識別情報と、自転車1の貸し出しに関する利用条件情報と、自転車1の錠を解錠するための鍵情報と、自転車1の貸し出しが所有者2に許可されているか否かを示す貸出可否と、自転車1が貸し出されている場合に利用者3に関する情報とが対応付けて記憶されている。所有者情報には、例えば所有者名、連絡索及び支払い口座等の情報が含まれる。自転車情報には、自転車1のメーカー名、モデル名及び写真等の情報が含まれる。利用条件情報には、自転車1の利用可能時間及び利用料金等の情報が含まれる。利用者の情報は、自転車1を借用している利用者3の名前又は識別情報等と、自転車1の利用を開始した位置情報及び時刻情報等とが記憶される。   FIG. 3 is a schematic diagram illustrating a configuration example of the owner DB 42a. The owner DB 42a of the server device 4 includes owner information about the owner 2 of the bicycle 1, bicycle information about the bicycle 1, beacon identification information of the beacon 7 attached to the bicycle 1, and a QR attached to the bicycle 1. Bicycle identification information of code 8, usage condition information on lending of bicycle 1, key information for unlocking bicycle 1, and lending indicating whether lending of bicycle 1 is permitted to owner 2 or not. The availability and the information on the user 3 when the bicycle 1 is lent are stored in association with each other. The owner information includes, for example, information such as the owner name, contact information, and payment account. The bicycle information includes information such as a maker name, a model name, and a photograph of the bicycle 1. The usage condition information includes information such as available time and usage fee of the bicycle 1. The information of the user stores the name or identification information of the user 3 borrowing the bicycle 1, the position information and the time information at which the use of the bicycle 1 is started, and the like.

図示は省略するが、利用者DB42bは、利用者3の名前、連絡先及び利用料金を支払うためのクレジットカード情報等の情報が対応付けて記憶される。利用履歴DB42cは、例えば自転車1のビーコン識別情報に対応付けて、時刻情報及び位置情報等の情報が記憶される。   Although illustration is omitted, the user DB 42b stores the name of the user 3, contact information, and information such as credit card information for paying the usage fee in association with each other. The use history DB 42c stores information such as time information and position information in association with, for example, beacon identification information of the bicycle 1.

サーバプログラム42dは、例えばサーバ装置4の製造段階において記憶部42に書き込まれてもよく、また例えば遠隔のプログラム配信装置が配信するものをサーバ装置4が通信にて取得してもよく、また例えばメモリカード又は光ディスク等の記録媒体99に記録されたものをサーバ装置4が読み出して記憶部42に記憶してもよい。サーバプログラム42dは、ネットワークを介した配信の態様で提供されてもよく、記録媒体99に記録された態様で提供されてもよい。   The server program 42d may be written in the storage unit 42, for example, at a manufacturing stage of the server device 4, and the server device 4 may acquire what is distributed by, for example, a remote program distribution device through communication. The data recorded on the recording medium 99 such as a memory card or an optical disk may be read by the server device 4 and stored in the storage unit 42. The server program 42d may be provided in a form of distribution via a network, or may be provided in a form recorded on the recording medium 99.

通信部43は、インターネット、無線LAN(Local Area Network)及び携帯電話通信網等のネットワークNWを介して、自転車1の所有者2のスマホ5及び利用者3のスマホ6等との間で通信を行う。通信部43は、処理部41から与えられた送信用のデータをスマホ5又はスマホ6等へ送信する。また通信部43は、スマホ5又はスマホ6等から送信されたデータを受信し、受信したデータを処理部41へ与える。   The communication unit 43 communicates with the smartphone 5 of the owner 2 of the bicycle 1 and the smartphone 6 of the user 3 via a network NW such as the Internet, a wireless LAN (Local Area Network), and a mobile phone communication network. Do. The communication unit 43 transmits the data for transmission provided from the processing unit 41 to the smartphone 5, the smartphone 6, or the like. In addition, the communication unit 43 receives data transmitted from the smartphone 5 or the smartphone 6 or the like, and provides the received data to the processing unit 41.

また処理部41には、記憶部42に記憶されたサーバプログラム42dが実行されることによって、登録処理部41a、貸出許可受付部41b、貸出処理部41c、履歴処理部41d、返却処理部41e及び決済処理部41f等がソフトウェア的な機能ブロックとして実現される。登録処理部41aは、自転車1の貸し出しを希望する所有者2のスマホ5との間で通信を行い、所有者2に関する情報及び自転車1に関する情報の入力を受け付けて、受け付けた情報を記憶部42の所有者DB42aに登録する処理を行う。また登録処理部41aは、自転車1の借用を希望する利用者3のスマホ6との間で通信を行い、利用者3に関する情報の入力を受け付けて、受け付けた情報を記憶部42の利用者DB42bに登録する処理を行う。なお本実施の形態においては、所有者2及び利用者3の情報登録をサーバ装置4とスマホ5,6との通信にて行う構成とするが、例えば書類の郵送による情報登録又は店舗での登録等を行ってもよい。   The processing unit 41 executes the server program 42d stored in the storage unit 42 to execute the registration processing unit 41a, the lending permission receiving unit 41b, the lending processing unit 41c, the history processing unit 41d, the return processing unit 41e, The settlement processing unit 41f and the like are realized as software-like functional blocks. The registration processing unit 41a communicates with the smartphone 5 of the owner 2 who wants to lend the bicycle 1, receives information on the owner 2 and information on the bicycle 1, and stores the received information in the storage unit 42. Of the owner DB 42a. The registration processing unit 41a communicates with the smartphone 6 of the user 3 who wants to borrow the bicycle 1, receives input of information on the user 3, and stores the received information in the user DB 42b of the storage unit 42. Perform processing to register in. In the present embodiment, the information registration of the owner 2 and the user 3 is performed by communication between the server device 4 and the smartphones 5 and 6. For example, information registration by mailing a document or registration at a store is performed. Etc. may be performed.

貸出許可受付部41bは、所有者2のスマホ5との間で通信を行い、所有者2から自転車1の貸し出しの許可を受け付ける処理を行う。例えば所有者2は自転車1を駅の駐輪場に駐輪した後、自身のスマホ5を操作してこの自転車1の貸し出しを許可する旨の通知をサーバ装置4へ送信する。貸出許可受付部41bは、スマホ5から送信される貸出許可の通知を受信し、貸し出しが許可された自転車1について所有者DB42aの貸出可否の項目を貸出可に設定する。また貸出許可受付部41bは、所有者2のスマホ5から貸し出しを終了する旨の通知を受信し、所有者DB42aの貸出可否の項目を貸出不可に設定する。   The lending permission receiving unit 41b communicates with the smartphone 5 of the owner 2 and performs a process of receiving a permission to rent the bicycle 1 from the owner 2. For example, after the owner 2 parks the bicycle 1 in the bicycle parking lot at the station, the owner 2 operates his / her smartphone 5 to transmit a notice to the effect that the rental of the bicycle 1 is permitted to the server device 4. The lending permission receiving unit 41b receives the notification of lending permission transmitted from the smartphone 5, and sets the item of lending permission / prohibition in the owner DB 42a of the bicycle 1 for which lending is permitted to lending permitted. Also, the lending permission receiving unit 41b receives a notification from the smartphone 5 of the owner 2 that the lending is to be completed, and sets the item of the lending permission / prohibition of the owner DB 42a to be not lending.

貸出処理部41cは、貸し出しが許可された自転車1を利用者3に貸し出すための処理を行う。貸出処理部41cは、利用者3のスマホ6からビーコン識別情報を受信した場合、このビーコン識別情報に対応する自転車情報を所有者DB42aから読み出して、ビーコン識別情報の送信元のスマホ6へ送信する。貸出処理部41cは、利用者3のスマホ6から自転車識別情報を受信した場合、この自転車識別情報に対応する利用条件情報を所有者DB42aから読み出して、自転車識別情報の送信元のスマホ6へ送信する。また貸出処理部41cは、利用者3のスマホ6から借用開始情報を受信した場合、所有者DB42aの対応する自転車1の利用者の項目に、自転車1を貸し出した利用者3の情報と、自転車1を貸し出した位置及び時間等の情報とを記憶する。これにより自転車1の利用者3への貸し出しが完了し、利用者3は自転車1を利用することが可能となる。   The lending processing unit 41c performs a process for lending the bicycle 1 for which lending is permitted to the user 3. When receiving the beacon identification information from the smartphone 6 of the user 3, the lending processing unit 41c reads the bicycle information corresponding to the beacon identification information from the owner DB 42a and transmits the bicycle information to the smartphone 6 that has transmitted the beacon identification information. . When receiving the bicycle identification information from the smartphone 6 of the user 3, the lending processing unit 41c reads the usage condition information corresponding to the bicycle identification information from the owner DB 42a and transmits the usage condition information to the smartphone 6 that has transmitted the bicycle identification information. I do. When receiving the borrowing start information from the smartphone 6 of the user 3, the lending processing unit 41 c stores, in the item of the corresponding user of the bicycle 1 in the owner DB 42 a, the information of the user 3 who lent the bicycle 1 and the bicycle 1 and the information such as the location and time of lending. Thus, the rental of the bicycle 1 to the user 3 is completed, and the user 3 can use the bicycle 1.

履歴処理部41dは、利用者3へ貸し出された自転車1の位置情報の履歴を収集して記憶する処理を行う。自転車1に取り付けられたビーコン7は周期的に信号を送信しており、この信号を受信した利用者3のスマホ6は自身の位置情報を検出し、ビーコン識別情報及び位置情報を時刻情報と共にサーバ装置4へ送信する。履歴処理部41dは、自転車1の貸し出し後に利用者3のスマホ6から送信されるビーコン識別情報、位置情報及び時刻情報を受信し、受信したビーコン識別情報、位置情報及び時刻情報を記憶部42の利用履歴DB42cに記憶する。   The history processing unit 41d performs a process of collecting and storing a history of the position information of the bicycle 1 lent to the user 3. The beacon 7 attached to the bicycle 1 periodically transmits a signal, and the smartphone 6 of the user 3 receiving this signal detects its own position information, and transmits the beacon identification information and the position information together with the time information to the server. Transmit to the device 4. The history processing unit 41d receives beacon identification information, position information, and time information transmitted from the smartphone 6 of the user 3 after lending the bicycle 1, and stores the received beacon identification information, position information, and time information in the storage unit 42. It is stored in the usage history DB 42c.

返却処理部41eは、利用者3が自転車1の利用を終了する際の処理、即ち自転車1の返却に係る処理を行う。自転車1の利用を終えた利用者3は、自転車1を借り受けた元の場所又はその周辺に自転車1を駐輪し、スマホ6を操作して借用終了情報をサーバ装置4へ送信する。借用終了情報にはスマホ6の位置情報が含まれており、スマホ6から借用終了情報を受信した返却処理部41eは、借用終了情報に含まれる位置情報と、借用開始情報に含まれていた位置情報とを比較し、両位置情報が一致するか又は所定の距離範囲内である場合に、自転車1が正しく返却されたと判断する。両位置情報が所定の距離範囲よりも離れている場合、返却処理部41eは、正しい場所への自転車1の返却を促すメッセージをスマホ6へ送信する。自転車1が正しく返却された場合、返却処理部41eは、利用者3が借用していた自転車1に対応する所有者DB42aの利用者の項目をクリアするか、又は、自転車1が返却された旨の情報を付す。これにより自転車1の利用者3に対する貸し出しが終了する。   The return processing unit 41e performs processing when the user 3 ends using the bicycle 1, that is, processing related to returning the bicycle 1. The user 3 who has finished using the bicycle 1 parks the bicycle 1 at or around the original place where the bicycle 1 was borrowed, operates the smartphone 6, and transmits the borrowing end information to the server device 4. The borrowing end information includes the location information of the smartphone 6, and the return processing unit 41e, which has received the borrowing end information from the smartphone 6, sets the position information included in the borrowing end information and the position included in the borrowing start information. When the two pieces of position information match or are within a predetermined distance range, it is determined that the bicycle 1 has been correctly returned. If the two pieces of position information are separated from each other by more than the predetermined distance range, the return processing unit 41e transmits to the smartphone 6 a message prompting the return of the bicycle 1 to a correct place. When the bicycle 1 is correctly returned, the return processing unit 41e clears the item of the user in the owner DB 42a corresponding to the bicycle 1 borrowed by the user 3 or informs that the bicycle 1 has been returned. With the information. Thus, the lending of the bicycle 1 to the user 3 ends.

決済処理部41fは、利用者3による自転車1の利用が終了した場合に、この自転車1の利用条件情報と、利用者3が自転車1を利用した時間とに基づいて、自転車1の利用料金を算出する。決済処理部41fは、算出した利用料金の情報を含む料金請求情報を、利用者3のスマホ6へ送信する。その後、スマホ6から利用料金についての支払いの承認がなされた旨の通知を受信した場合、決済処理部41fは、利用者DB42bに記憶されたクレジットカード情報に基づいて、利用料金を受け取るための処理を行う。また決済処理部41fは、利用者3から受け取った自転車1の利用料金の一部又は全部を、自転車1の所有者2へ支払う処理を行う。なお、自転車1の利用料金の受け取り及び所有者2への支払い等の処理は、自転車1の返却の都度行うのではなく、例えば毎月の定められた日に一括して行ってもよい。   When the use of the bicycle 1 by the user 3 is completed, the settlement processing unit 41f calculates the usage fee of the bicycle 1 based on the usage condition information of the bicycle 1 and the time when the user 3 used the bicycle 1. calculate. The settlement processing unit 41f transmits the billing information including the calculated usage fee information to the smartphone 6 of the user 3. Thereafter, when the payment processing unit 41f receives a notification from the smartphone 6 that payment of the usage fee has been approved, the payment processing unit 41f performs a process for receiving the usage fee based on the credit card information stored in the user DB 42b. I do. The settlement processing unit 41f performs a process of paying a part or all of the usage fee of the bicycle 1 received from the user 3 to the owner 2 of the bicycle 1. The processing of receiving the usage fee of the bicycle 1 and paying the bicycle 2 to the owner 2 and the like may not be performed each time the bicycle 1 is returned, but may be performed collectively, for example, on a predetermined day of each month.

図4は、本実施の形態に係る所有者2のスマホ5の構成を示すブロック図である。本実施の形態に係るスマホ5は、処理部51、記憶部52、表示部53、操作部54、カメラ55、第1通信部56、第2通信部57及びGPS受信部58等を備えて構成されている。処理部51は、CPU又はMPU等の演算処理装置を用いて構成され、記憶部52に記憶されたプログラムを実行することによって種々の演算処理を行うことができる。本実施の形態において処理部51は、記憶部52に記憶されたアプリ52aを実行することにより、自転車1の貸借に関する種々の処理を行う。   FIG. 4 is a block diagram showing a configuration of the smartphone 5 of the owner 2 according to the present embodiment. The smartphone 5 according to the present embodiment includes a processing unit 51, a storage unit 52, a display unit 53, an operation unit 54, a camera 55, a first communication unit 56, a second communication unit 57, a GPS receiving unit 58, and the like. Have been. The processing unit 51 is configured using an arithmetic processing device such as a CPU or an MPU, and can perform various arithmetic processes by executing a program stored in the storage unit 52. In the present embodiment, the processing unit 51 performs various processes related to lending and renting the bicycle 1 by executing the application 52a stored in the storage unit 52.

記憶部52は、例えばフラッシュメモリなどの不揮発性のメモリ素子を用いて構成されており、処理部51が実行する種々のプログラムと、このプログラムの実行に必要な種々のデータとを記憶する。本実施の形態において記憶部52には、処理部51が実行するアプリ52aが記憶されている。本実施の形態に係るアプリ52aは、自転車1の貸借に関する処理を行うためのプログラムである。アプリ52aは、例えばスマホ5の製造段階において記憶部52に書き込まれてもよく、また例えば種々のアプリを配信するサーバ装置からスマホ5がアプリ52aを通信にて取得してもよく、また例えばメモリカードなどの記録媒体に記録されたものをスマホ5が読み出して記憶部52に記憶してもよい。アプリ52aは、ネットワークを介した配信の態様で提供されてもよく、記録媒体に記録された態様で提供されてもよい。   The storage unit 52 is configured using a nonvolatile memory element such as a flash memory, for example, and stores various programs executed by the processing unit 51 and various data required for executing the programs. In the present embodiment, the storage unit 52 stores an application 52a executed by the processing unit 51. The application 52a according to the present embodiment is a program for performing a process related to lending and renting the bicycle 1. The application 52a may be written in the storage unit 52, for example, at a manufacturing stage of the smartphone 5, or the smartphone 5 may acquire the application 52a by communication from a server device that distributes various applications. The smartphone 5 may read data recorded on a recording medium such as a card and store the data in the storage unit 52. The application 52a may be provided in a form of distribution via a network, or may be provided in a form recorded on a recording medium.

表示部53は、液晶パネルなどの表示デバイスを用いて構成され、処理部51の処理に応じて種々の画像を表示する。操作部54は、ユーザの操作を受け付けて、受け付けた操作内容を処理部51へ通知する。操作部54は、例えば表示部53の表面に設けられたタッチパネル、及び、スマホ5の筐体に設けられたプッシュスイッチ等を用いて構成される。カメラ55は、例えばスマホ5の筐体の背面に設けられ、ユーザの操作に応じて画像を撮像し、撮像した画像を処理部51へ与える。   The display unit 53 is configured using a display device such as a liquid crystal panel, and displays various images according to the processing of the processing unit 51. The operation unit 54 receives a user operation and notifies the processing unit 51 of the received operation content. The operation unit 54 is configured using, for example, a touch panel provided on the surface of the display unit 53, a push switch provided on the housing of the smartphone 5, and the like. The camera 55 is provided, for example, on the back surface of the housing of the smartphone 5, captures an image according to a user operation, and provides the captured image to the processing unit 51.

第1通信部56は、例えば携帯電話通信網又は無線LAN等の無線通信網を利用し、インターネットなどのネットワークNWを介して他の装置との通信を行う。本実施の形態において第1通信部56は、ネットワークNWを介してサーバ装置4との間で通信を行う。第1通信部56は、処理部51から与えられた送信用のデータを変調して得られた信号をアンテナへ出力することでデータを送信する。また第1通信部56は、アンテナにて受信した信号を復調してデジタルのデータに変換し、このデータを受信データとして処理部51へ与える。   The first communication unit 56 communicates with another device via a network NW such as the Internet using a wireless communication network such as a mobile phone communication network or a wireless LAN. In the present embodiment, the first communication unit 56 performs communication with the server device 4 via the network NW. The first communication unit 56 transmits data by outputting a signal obtained by modulating the transmission data provided from the processing unit 51 to an antenna. Further, the first communication unit 56 demodulates a signal received by the antenna and converts the signal into digital data, and provides the data to the processing unit 51 as received data.

第2通信部57は、自転車1に取り付けられたビーコン7が送信する無線信号を受信する。本実施の形態においてビーコン7はBluetoothの通信規格に基づく無線送信を行う装置であり、第2通信部57は、同じくBluetoothの通信規格に基づく無線通信を行う。第2通信部57は、ビーコン7からの無線信号を受信し、受信した信号を復調してデジタルのデータに変換し、このデータを受信データとして処理部51へ与える。   The second communication unit 57 receives a radio signal transmitted by the beacon 7 attached to the bicycle 1. In the present embodiment, the beacon 7 is a device that performs wireless transmission based on the Bluetooth communication standard, and the second communication unit 57 also performs wireless communication based on the Bluetooth communication standard. The second communication unit 57 receives the radio signal from the beacon 7, demodulates the received signal, converts the signal into digital data, and provides the data to the processing unit 51 as received data.

GPS受信部58は、GPSの人工衛星から送信される電波を受信し、受信した電波に含まれる情報を処理部51へ与える。処理部51は、GPS受信部58から与えられた情報に基づいて、スマホ5の位置(例えば緯度及び経度)を特定する処理を行うことができる。なお本実施の形態においては、処理部51がGPS受信部58による受信情報に基づいて位置を特定する構成とするが、これに限るものではなく、例えば処理部51はGPSの受信情報に加えて加速度センサ及びジャイロセンサ等のセンサから得られる情報を用いて位置を特定してもよい。   The GPS receiving unit 58 receives a radio wave transmitted from a GPS artificial satellite and provides information included in the received radio wave to the processing unit 51. The processing unit 51 can perform a process of specifying the position (for example, latitude and longitude) of the smartphone 5 based on the information provided from the GPS receiving unit 58. In the present embodiment, the processing unit 51 specifies the position based on the information received by the GPS receiving unit 58. However, the present invention is not limited to this. For example, the processing unit 51 may add the GPS reception information to the received information. The position may be specified using information obtained from sensors such as an acceleration sensor and a gyro sensor.

また処理部51には、記憶部52に記憶されたアプリ52aが実行されることによって、登録処理部51a及び貸出許可処理部51b等がソフトウェア的な機能ブロックとして実現される。登録処理部51aは、自転車1の貸借を管理するサーバ装置4との間で通信を行い、所有者2及び自転車1に関する情報の登録処理を行う。登録処理部51aは、表示部53に情報を入力するための入力画面を表示すると共に、所有者2による情報の入力を操作部54にて受け付ける。登録処理部51aは、入力された情報をサーバ装置4へ送信する。また登録処理部51aは、自転車1の画像を登録するために、カメラ55による自転車1の撮影を所有者2に行わせ、撮像された画像をサーバ装置4へ送信してもよい。   In addition, by executing the application 52a stored in the storage unit 52, the processing unit 51 implements the registration processing unit 51a, the lending permission processing unit 51b, and the like as software functional blocks. The registration processing unit 51a performs communication with the server device 4 that manages lending and renting of the bicycle 1, and performs registration processing of information on the owner 2 and the bicycle 1. The registration processing unit 51a displays an input screen for inputting information on the display unit 53, and accepts input of information by the owner 2 through the operation unit 54. The registration processing unit 51a transmits the input information to the server device 4. In addition, the registration processing unit 51a may cause the owner 2 to take an image of the bicycle 1 with the camera 55 in order to register an image of the bicycle 1, and transmit the captured image to the server device 4.

貸出許可処理部51bは、所有者2が自転車1の貸し出しを許可するか否かをサーバ装置4へ通知する処理を行う。例えば所有者2は自転車1を駅の駐輪場に駐輪した後、スマホ5のアプリ52aを起動して、自転車1の貸し出しを許可する操作を行う。このときに貸出許可処理部51bは、表示部53に自転車1の貸し出しの許可/不許可を設定するための画面を表示部53に表示し、貸し出しの許可/不許可の設定を操作部54にて受け付ける。貸出許可処理部51bは、貸し出しが不許可から許可へ設定変更された場合、サーバ装置4へ自転車1の貸し出しを許可する旨を通知する。また貸出許可処理部51bは貸し出しが許可から不許可へ設定変更された場合、サーバ装置4へ自転車1の貸し出しを終了する旨を通知する。   The lending permission processing unit 51b performs a process of notifying the server device 4 whether or not the owner 2 permits the lending of the bicycle 1. For example, the owner 2 parks the bicycle 1 in the bicycle parking lot at the station, activates the application 52a of the smartphone 5, and performs an operation of permitting the rental of the bicycle 1. At this time, the lending permission processing unit 51b displays on the display unit 53 a screen for setting permission / non-permission of lending of the bicycle 1 on the display unit 53, and sets the permission / non-permission of lending to the operation unit 54. Accept. When the setting is changed from non-permission to permission, the lending permission processing unit 51b notifies the server device 4 that the lending of the bicycle 1 is permitted. When the setting of the lending is changed from “permitted” to “not permitted”, the lending permission processing unit 51b notifies the server device 4 that the lending of the bicycle 1 is finished.

図5は、本実施の形態に係る利用者3のスマホ6の構成を示すブロック図である。本実施の形態に係るスマホ6は、処理部61、記憶部62、表示部63、操作部64、カメラ65、第1通信部66、第2通信部67及びGPS受信部68等を備えて構成されている。利用者3が使用するスマホ6は、所有者2が使用するスマホ5とハードウェア構成は同様であり、ソフトウェアの処理が異なる。処理部61は、CPU又はMPU等の演算処理装置を用いて構成され、記憶部62に記憶されたアプリ62aを実行することにより、自転車1の貸借に関する種々の処理を行う。記憶部62は、例えばフラッシュメモリなどの不揮発性のメモリ素子を用いて構成されており、処理部61が実行するアプリ62aが記憶されている。   FIG. 5 is a block diagram showing a configuration of the smartphone 6 of the user 3 according to the present embodiment. The smartphone 6 according to the present embodiment includes a processing unit 61, a storage unit 62, a display unit 63, an operation unit 64, a camera 65, a first communication unit 66, a second communication unit 67, a GPS receiving unit 68, and the like. Have been. The smartphone 6 used by the user 3 has the same hardware configuration as the smartphone 5 used by the owner 2, and differs in software processing. The processing unit 61 is configured using an arithmetic processing device such as a CPU or an MPU, and performs various processes related to lending and renting the bicycle 1 by executing the application 62a stored in the storage unit 62. The storage unit 62 is configured using a nonvolatile memory element such as a flash memory, for example, and stores an application 62a executed by the processing unit 61.

本実施の形態に係るアプリ62aは、自転車1の貸借に関する処理を行うためのプログラムである。利用者3のスマホ6にインストールされるアプリ62aは、所有者2のスマホ5にインストールされるアプリ52aと異なるアプリであってよいが、同じアプリであってもよい。同じアプリである場合、所有者2が操作する場合の所有者モードと、利用者3が操作する場合の利用者モードとが適宜に切り替わり、所有者2又は利用者3に適した処理が行われるものとする。アプリ62aは、例えばスマホ6の製造段階において記憶部62に書き込まれてもよく、また例えば種々のアプリを配信するサーバ装置からスマホ6がアプリ62aを通信にて取得してもよく、また例えばメモリカードなどの記録媒体に記録されたものをスマホ6が読み出して記憶部62に記憶してもよい。アプリ62aは、ネットワークを介した配信の態様で提供されてもよく、記録媒体に記録された態様で提供されてもよい。   The application 62a according to the present embodiment is a program for performing a process related to lending and renting the bicycle 1. The application 62a installed on the smartphone 6 of the user 3 may be different from the application 52a installed on the smartphone 5 of the owner 2, or may be the same application. If the applications are the same, the owner mode when the owner 2 operates and the user mode when the user 3 operates are appropriately switched, and processing suitable for the owner 2 or the user 3 is performed. Shall be. The application 62a may be written in the storage unit 62, for example, at a manufacturing stage of the smartphone 6, or the smartphone 6 may acquire the application 62a by communication from a server device that distributes various applications, for example, The smartphone 6 may read data recorded on a recording medium such as a card and store the data in the storage unit 62. The application 62a may be provided in a form of distribution via a network, or may be provided in a form recorded on a recording medium.

表示部63は、液晶パネルなどの表示デバイスを用いて構成され、処理部61の処理に応じて種々の画像を表示する。操作部64は、例えば表示部53の表面に設けられたタッチパネル、及び、スマホ5の筐体に設けられたプッシュスイッチ等を用いて構成され、ユーザの操作を受け付けて操作内容を処理部61へ通知する。カメラ65は、例えばスマホ6の筐体の背面に設けられ、ユーザの操作に応じて画像を撮像し、撮像した画像を処理部61へ与える。本実施の形態においてカメラ65は、自転車1に取り付けられたQRコード8を撮像する際に用いられる。   The display unit 63 is configured using a display device such as a liquid crystal panel, and displays various images according to the processing of the processing unit 61. The operation unit 64 is configured using, for example, a touch panel provided on the surface of the display unit 53, a push switch provided on the housing of the smartphone 5, and the like. Notice. The camera 65 is provided, for example, on the back surface of the housing of the smartphone 6, captures an image according to a user operation, and provides the captured image to the processing unit 61. In the present embodiment, the camera 65 is used when imaging the QR code 8 attached to the bicycle 1.

第1通信部66は、例えば携帯電話通信網又は無線LAN等の無線通信網を利用し、インターネットなどのネットワークNWを介してサーバ装置4との間で通信を行う。第2通信部67は、Bluetoothの通信規格に基づく無線通信を行い、自転車1に取り付けられたビーコン7が送信する無線信号を受信する。第2通信部67は、ビーコン7からの無線信号を受信し、受信した信号を復調してデジタルのデータに変換し、このデータを受信データとして処理部61へ与える。GPS受信部68は、GPSの人工衛星から送信される電波を受信し、受信した電波に含まれる情報を処理部61へ与える。処理部61は、GPS受信部68から与えられた情報に基づいて、スマホ6の位置を特定する。   The first communication unit 66 communicates with the server device 4 via a network NW such as the Internet using a mobile communication network or a wireless communication network such as a wireless LAN. The second communication unit 67 performs wireless communication based on the Bluetooth communication standard, and receives a wireless signal transmitted by the beacon 7 attached to the bicycle 1. The second communication unit 67 receives the radio signal from the beacon 7, demodulates the received signal, converts the demodulated signal into digital data, and provides this data to the processing unit 61 as received data. The GPS receiving unit 68 receives a radio wave transmitted from a GPS artificial satellite, and provides information included in the received radio wave to the processing unit 61. The processing unit 61 specifies the position of the smartphone 6 based on the information provided from the GPS receiving unit 68.

また処理部61には、記憶部62に記憶されたアプリ62aが実行されることによって、登録処理部61a、ビーコン処理部61b、QR処理部61c、借用開始処理部61d、履歴送信部61e及び借用終了処理部61f等がソフトウェア的な機能ブロックとして実現される。登録処理部61aは、自転車1の貸借を管理するサーバ装置4との間で通信を行い、利用者3に関する情報の登録処理を行う。登録処理部61aは、表示部63に情報を入力するための入力画面を表示すると共に、利用者3による情報の入力を操作部64にて受け付け、入力された情報をサーバ装置4へ送信する。   In addition, by executing the application 62a stored in the storage unit 62, the processing unit 61 executes the registration processing unit 61a, the beacon processing unit 61b, the QR processing unit 61c, the borrowing start processing unit 61d, the history transmitting unit 61e, and the borrowing. The termination processing unit 61f and the like are realized as software function blocks. The registration processing unit 61a performs communication with the server device 4 that manages lending and renting of the bicycle 1, and performs registration processing of information on the user 3. The registration processing unit 61a displays an input screen for inputting information on the display unit 63, receives input of information by the user 3 on the operation unit 64, and transmits the input information to the server device 4.

ビーコン処理部61bは、利用者3が自転車1の借用を開始する前の段階において、自転車1に取り付けられたビーコン7から周期的に送信される無線信号の受信処理を行う。ビーコン処理部61bは、例えばアプリ62aのメニュー画面などにおいて、貸出可能な自転車を探索する項目が選択された場合に、処理を開始する。ビーコン処理部61bは、自転車1に取り付けられたビーコン7が周期的に送信する無線信号を第2通信部67にて受信したか否かを判定し、受信の有無を表示部63に表示する。またビーコン処理部61bは、ビーコン7からの無線信号を受信した場合には、受信した無線信号に含まれるビーコン識別情報を取得し、自転車1のビーコン7からの無線信号を受信した旨のメッセージを表示部63に表示すると共に、ビーコン識別情報をサーバ装置4へ送信するか否かを問い合わせるメッセージを表示する。ビーコン識別情報をサーバ装置4へ送信する選択がなされた場合、ビーコン処理部61bは、ビーコン識別情報をサーバ装置4へ送信する。ビーコン識別情報を受信したサーバ装置4は対応する自転車情報をスマホ6へ送信し、ビーコン処理部61bは、サーバ装置4から送信される自転車情報を第1通信部66にて受信する。ビーコン処理部61bは、受信した自転車情報を表示部63に表示し、自転車1に付されたQRコード8の読み取りを促すメッセージを表示する。   The beacon processing unit 61b performs a process of receiving a radio signal periodically transmitted from the beacon 7 attached to the bicycle 1 before the user 3 starts borrowing the bicycle 1. The beacon processing unit 61b starts the process, for example, when an item for searching for a rentable bicycle is selected on the menu screen of the application 62a or the like. The beacon processing unit 61b determines whether or not the second communication unit 67 has received a wireless signal periodically transmitted by the beacon 7 attached to the bicycle 1, and displays the presence or absence of the reception on the display unit 63. When receiving the wireless signal from the beacon 7, the beacon processing unit 61 b acquires the beacon identification information included in the received wireless signal and sends a message indicating that the wireless signal from the beacon 7 of the bicycle 1 has been received. The message is displayed on the display unit 63, and a message asking whether to transmit the beacon identification information to the server device 4 is displayed. When the transmission of the beacon identification information to the server device 4 is selected, the beacon processing unit 61b transmits the beacon identification information to the server device 4. The server device 4 that has received the beacon identification information transmits the corresponding bicycle information to the smartphone 6, and the beacon processing unit 61b receives the bicycle information transmitted from the server device 4 at the first communication unit 66. The beacon processing unit 61b displays the received bicycle information on the display unit 63, and displays a message urging the reader to read the QR code 8 attached to the bicycle 1.

QR処理部61cは、自転車1に付されたQRコード8の読み取り処理を行う。QR処理部61cは、例えばアプリ62aのメニュー画面などにおいて、QRコード8の読み取りの項目が選択された場合に、処理を開始する。QR処理部61cは、カメラ65を起動して撮影を開始すると共に、QRコード8の読み取りを促すメッセージなどを表示部63に表示する。QR処理部61cは、カメラ65にて撮影された画像からQRコード8を読み取り、QRコード8に含まれる自転車識別情報を取得する。QR処理部61cは、取得した自転車識別情報をサーバ装置4へ送信する。自転車識別情報を受信したサーバ装置4は対応する利用条件情報をスマホ6へ送信し、QR処理部61cは、サーバ装置4から送信される利用条件情報を第1通信部66にて受信する。QR処理部61cは、受信した利用条件情報を表示部63に表示する。   The QR processing unit 61c reads the QR code 8 attached to the bicycle 1. The QR processing unit 61c starts processing when, for example, an item for reading the QR code 8 is selected on the menu screen of the application 62a or the like. The QR processing unit 61c activates the camera 65 to start shooting, and displays a message or the like prompting the reader to read the QR code 8 on the display unit 63. The QR processing unit 61c reads the QR code 8 from the image captured by the camera 65, and acquires the bicycle identification information included in the QR code 8. The QR processing unit 61c transmits the acquired bicycle identification information to the server device 4. The server device 4 that has received the bicycle identification information transmits the corresponding use condition information to the smartphone 6, and the QR processing unit 61c receives the use condition information transmitted from the server device 4 at the first communication unit 66. The QR processing unit 61c displays the received use condition information on the display unit 63.

借用開始処理部61dは、表示部63に利用条件情報が表示された状態にて、利用者3に自転車1を借用するか否かの選択を操作部64にて受け付ける。自転車1を借用する選択を受け付けた場合、借用開始処理部61dは、GPS受信部68の受信信号に基づくスマホ6の位置情報を取得し、取得した位置情報と共に借用開始情報をサーバ装置4へ送信する。借用開始情報を受信したサーバ装置4は借用対象の自転車1の鍵情報をスマホ6へ送信し、借用開始処理部61dは、サーバ装置4から送信される鍵情報を第1通信部66にて受信する。借用開始処理部61dは、受信した鍵情報を表示部63に表示する。これにより利用者3は、スマホ6に表示された鍵情報を基に自転車1の錠を解錠し、自転車1を利用することが可能となる。   The borrowing start processing unit 61d accepts a selection as to whether or not to borrow the bicycle 1 for the user 3 with the operation condition information displayed on the display unit 63. When the selection to borrow the bicycle 1 is accepted, the borrowing start processing unit 61d acquires the position information of the smartphone 6 based on the reception signal of the GPS receiving unit 68, and transmits the borrowing start information to the server device 4 together with the acquired position information. I do. The server device 4 having received the borrowing start information transmits the key information of the bicycle 1 to be borrowed to the smartphone 6, and the borrowing start processing unit 61d receives the key information transmitted from the server device 4 at the first communication unit 66. I do. The borrowing start processing unit 61d displays the received key information on the display unit 63. Thus, the user 3 can unlock the bicycle 1 based on the key information displayed on the smartphone 6 and use the bicycle 1.

履歴送信部61eは、利用者3が自転車1の利用を開始した後、自転車1の利用に係る履歴情報をサーバ装置4へ送信する処理を行う。利用者3が自転車1を借用した後もビーコン7は周期的に無線信号を送信している。履歴送信部61eは、自転車1のビーコン7が周期的に送信する無線信号を第2通信部67にて受信した場合、GPS受信部68の受信信号に基づくスマホ6の位置情報を取得する。履歴送信部61eは、ビーコン7から受信した無線信号に含まれるビーコン識別情報と、GPSに基づいて取得したスマホ6の位置情報と、時刻情報とをサーバ装置4へ送信する。   After the user 3 starts using the bicycle 1, the history transmitting unit 61 e performs a process of transmitting history information relating to the use of the bicycle 1 to the server device 4. Even after the user 3 borrows the bicycle 1, the beacon 7 periodically transmits a radio signal. When the second communication unit 67 receives a radio signal periodically transmitted by the beacon 7 of the bicycle 1, the history transmission unit 61 e acquires position information of the smartphone 6 based on a reception signal of the GPS reception unit 68. The history transmitting unit 61e transmits to the server device 4 the beacon identification information included in the wireless signal received from the beacon 7, the position information of the smartphone 6 acquired based on the GPS, and the time information.

借用終了処理部61fは、利用者3が自転車1の借用を終了するための処理を行う。借用終了処理部61fは、例えばアプリ62aのメニュー画面などにおいて、自転車1の借用を終了する項目が選択された場合に、処理を開始する。借用終了処理部61fは、自転車1の借用の終了を確認する画面を表示部63に表示し、借用を終了するか否かの選択を操作部64にて受け付ける。借用を終了する選択を受け付けた場合、借用終了処理部61fは、GPS受信部68の受信信号に基づくスマホ6の位置情報を取得し、取得した位置情報と共に借用終了情報をサーバ装置4へ送信する。借用終了情報を受信したサーバ装置4は借用に係る利用料金を算出して請求情報をスマホ6へ送信し、借用終了処理部61fは、サーバ装置4から送信される請求情報を第1通信部66にて受信する。借用終了処理部61fは、受信した請求情報を表示部63に表示し、利用者3による利用料金の確認操作を操作部64にて受け付ける。確認操作がなされた後、借用終了処理部61fは、その旨をサーバ装置4へ通知する。この通知に応じてサーバ装置4は、利用料金の決済処理を開始することができる。なお、自転車1が借用開始時の位置から所定範囲を超えた離れた場所に存在する場合、サーバ装置4はスマホ6に対して警告メッセージを送信し、これを受信したスマホ6はこのメッセージを表示部63に表示する。この場合には自転車1の借用は終了せず、サーバ装置4による請求情報の送信などは行われない。   The borrowing end processing unit 61f performs processing for the user 3 to end the borrowing of the bicycle 1. The borrowing end processing unit 61f starts the process when an item for ending the borrowing of the bicycle 1 is selected on, for example, a menu screen of the application 62a. The borrowing termination processing unit 61f displays a screen for confirming the termination of the borrowing of the bicycle 1 on the display unit 63, and accepts a selection as to whether or not to terminate the borrowing through the operation unit 64. When accepting the selection to end the borrowing, the borrowing end processing unit 61f acquires the position information of the smartphone 6 based on the reception signal of the GPS receiving unit 68, and transmits the borrowing end information to the server device 4 together with the acquired position information. . The server device 4 having received the borrowing end information calculates the usage fee for the borrowing and transmits the billing information to the smartphone 6, and the borrowing end processing unit 61f transmits the billing information transmitted from the server device 4 to the first communication unit 66. To receive. The borrowing termination processing unit 61f displays the received billing information on the display unit 63, and accepts a use fee confirmation operation by the user 3 through the operation unit 64. After the confirmation operation is performed, the borrowing end processing unit 61f notifies the server device 4 to that effect. In response to this notification, the server device 4 can start the payment processing of the usage fee. When the bicycle 1 is located at a location beyond a predetermined range from the position at the start of borrowing, the server device 4 transmits a warning message to the smartphone 6, and the smartphone 6 receiving the warning message displays the message. It is displayed on the section 63. In this case, the borrowing of the bicycle 1 does not end, and the server device 4 does not transmit billing information.

<自転車貸借処理>
図6は、本実施の形態に係る自転車貸借システムが行う自転車貸借処理を説明するためのタイミングチャートであり、自転車1の貸し出しまでの処理を示している。本実施の形態に係る自転車貸借システムでは、自転車1の貸し出しを希望する所有者2は、自身のスマホ5を利用してサーバ装置4との通信を行うことにより、自身の所有者情報と自転車1の自転車情報と自転車1の錠を解錠するための鍵情報とをサーバ装置4に予め登録する。サーバ装置4は、スマホ5から送信された所有者情報、自転車情報及び鍵情報を受信し、これらを記憶部42の所有者DB42aに記憶する。同様に、自転車1の借用を希望する利用者3は、自身のスマホ6を利用してサーバ装置4との通信を行うことにより、自身の利用者情報をサーバ装置4に予め登録する。サーバ装置4は、スマホ6から送信された利用者情報を受信し、これを記憶部42の利用者DB42bに記憶する。
<Bicycle lending process>
FIG. 6 is a timing chart for explaining a bicycle lending process performed by the bicycle lending system according to the present embodiment, and shows a process up to lending of bicycle 1. In the bicycle lending system according to the present embodiment, the owner 2 who wants to lend the bicycle 1 communicates with the server device 4 using his / her smartphone 5 to obtain his / her own owner information and the bicycle 1 And the key information for unlocking the bicycle 1 are registered in the server device 4 in advance. The server device 4 receives the owner information, the bicycle information, and the key information transmitted from the smartphone 5 and stores them in the owner DB 42a of the storage unit 42. Similarly, the user 3 who wants to borrow the bicycle 1 registers his / her user information in the server device 4 in advance by communicating with the server device 4 using his / her smartphone 6. The server device 4 receives the user information transmitted from the smartphone 6 and stores the information in the user DB 42b of the storage unit 42.

所有者2は、例えば駅の駐輪場に自転車1を駐輪した後、スマホ5にてアプリ52aを起動し、自転車1の貸し出しを許可する操作を行う。この操作に応じてスマホ5は、自転車1の貸し出しを許可する旨の通知をサーバ装置4へ送信する。スマホ5から貸出許可の通知を受信したサーバ装置4は、記憶部42の所有者DB42aの貸出可否の項目を貸出可能に設定する。これにより、所有者2の自転車1の貸借が可能となる。   The owner 2 parks the bicycle 1 in, for example, a bicycle parking lot at a station, starts the application 52a on the smartphone 5, and performs an operation of permitting the rental of the bicycle 1. In response to this operation, the smartphone 5 transmits a notification to the effect that the rental of the bicycle 1 is permitted to the server device 4. The server device 4 that has received the notice of the lending permission from the smartphone 5 sets the item of the lending permission / prohibition of the owner DB 42 a of the storage unit 42 to be rentable. This allows the owner 2 to borrow and borrow the bicycle 1.

自転車1には予めビーコン7が取り付けられており、ビーコン7は周期的に無線信号を送信している。図6においては、所有者2のスマホ5が貸出許可をサーバ装置4へ送信した後からビーコン7の無線信号の送信が開始されているが、実際にはビーコン7は周期的な無線信号の送信を常に行っている。自転車1の借用を希望する利用者3は、駐輪場などにて自身のスマホ6のアプリ62aを起動し、自転車1のビーコン7から送信される無線信号の受信を試みる。ビーコン7からの無線信号の到達範囲内にスマホ6が存在する場合、スマホ6はビーコン7からの無線信号を受信し、受信した無線信号に含まれるビーコン識別情報を取得する。   A beacon 7 is attached to the bicycle 1 in advance, and the beacon 7 periodically transmits a radio signal. In FIG. 6, the transmission of the wireless signal of the beacon 7 is started after the smartphone 5 of the owner 2 transmits the lending permission to the server device 4, but the beacon 7 actually transmits the wireless signal periodically. Always go. The user 3 who wants to borrow the bicycle 1 starts the application 62a of the smartphone 6 at a bicycle parking lot or the like, and tries to receive a wireless signal transmitted from the beacon 7 of the bicycle 1. When the smartphone 6 is within the reach of the wireless signal from the beacon 7, the smartphone 6 receives the wireless signal from the beacon 7, and acquires the beacon identification information included in the received wireless signal.

スマホ6は、取得したビーコン識別情報をサーバ装置4へ送信する。スマホ6からビーコン識別情報を受信したサーバ装置4は、このビーコン識別情報に対応する自転車情報を記憶部42の所有者DB42aから取得すると共に、この自転車1が貸出許可の状態であるか否かを調べる。もしこの自転車1の貸し出しが許可されていない場合、サーバ装置4は、貸し出しが許可されていない旨をスマホ6に通知すればよい。貸出が許可されている場合、サーバ装置4は、所有者DB42aから取得した自転車情報をスマホ6へ送信する。   The smartphone 6 transmits the acquired beacon identification information to the server device 4. The server device 4 that has received the beacon identification information from the smartphone 6 acquires the bicycle information corresponding to the beacon identification information from the owner DB 42a of the storage unit 42 and determines whether or not the bicycle 1 is in a lending-permitted state. Find out. If lending of the bicycle 1 is not permitted, the server device 4 may notify the smartphone 6 that lending is not permitted. When lending is permitted, the server device 4 transmits the bicycle information acquired from the owner DB 42a to the smartphone 6.

サーバ装置4からの自転車情報を受信したスマホ6は、この自転車情報を表示部63に表示する。自転車情報には、自転車1のメーカー名、モデル名及び型番等の情報と、自転車1を写真撮影した画像が含まれている。利用者3は、スマホ6の表示部63に表示された自転車情報を基に、駐輪場に駐輪された自転車1を探し出す。自転車1にはQRコード8が予め付されており、駐輪場で自転車1を探し出した利用者3は、自転車1に付されたQRコード8の読み取りをスマホ6にて行う。スマホ6は、カメラ65にて撮影したQRコード8から自転車識別情報を取得し、取得した自転車識別情報をサーバ装置4へ送信する。スマホ6から自転車識別情報を受信したサーバ装置4は、この自転車識別情報に対応する自転車1の利用条件情報を記憶部42の所有者DB42aから取得し、取得した利用条件情報をスマホ6へ送信する。   The smartphone 6 that has received the bicycle information from the server device 4 displays the bicycle information on the display unit 63. The bicycle information includes information such as a manufacturer name, a model name, and a model number of the bicycle 1 and an image of the bicycle 1 photographed. The user 3 searches for the bicycle 1 parked in the bicycle parking lot based on the bicycle information displayed on the display 63 of the smartphone 6. The bicycle 1 is provided with a QR code 8 in advance, and the user 3 who has found the bicycle 1 in the bicycle parking area reads the QR code 8 attached to the bicycle 1 with the smartphone 6. The smartphone 6 acquires the bicycle identification information from the QR code 8 photographed by the camera 65, and transmits the acquired bicycle identification information to the server device 4. The server device 4 that has received the bicycle identification information from the smartphone 6 acquires the usage condition information of the bicycle 1 corresponding to the bicycle identification information from the owner DB 42a of the storage unit 42, and transmits the acquired usage condition information to the smartphone 6. .

サーバ装置4から利用条件情報を受信したスマホ6は、この利用条件情報を表示部63に表示する。利用条件情報には、自転車1の利用可能な時間帯及び利用料金等の条件が含まれている。利用者3は、スマホ6の表示部63に表示された利用条件情報を基に、自転車1を借用するか否かを判断する。自転車1を借用する場合、利用者3はスマホ6にて借用を開始する操作を行い、この操作に応じてスマホ6は借用開始情報をサーバ装置4へ送信する。このときにスマホ6は、自身の位置情報及び時刻情報等を借用開始情報に含めて送信する。スマホ6からの借用開始情報を受信したサーバ装置4は、利用者3に関する情報と、借用開始情報に含まれる位置情報及び時刻情報等とを所有者DB42a記憶する。サーバ装置4は、この自転車1の鍵情報を記憶部42の所有者DB42aから取得し、取得した鍵情報をスマホ6へ送信する。サーバ装置4から鍵情報を受信したスマホ6は、鍵情報を表示部63に表示する。利用者は、表示された鍵情報に基づいて、自転車1の錠を解錠し、自転車1の利用を開始することができる。   The smartphone 6 that has received the usage condition information from the server device 4 displays the usage condition information on the display unit 63. The usage condition information includes conditions such as a time zone in which the bicycle 1 can be used and a usage fee. The user 3 determines whether to borrow the bicycle 1 based on the use condition information displayed on the display 63 of the smartphone 6. When borrowing the bicycle 1, the user 3 performs an operation to start borrowing with the smartphone 6, and the smartphone 6 transmits borrowing start information to the server device 4 in response to this operation. At this time, the smartphone 6 transmits its own position information, time information, and the like included in the borrowing start information. The server device 4 that has received the borrowing start information from the smartphone 6 stores the information on the user 3 and the position information and the time information included in the borrowing start information, etc., in the owner DB 42a. The server device 4 acquires the key information of the bicycle 1 from the owner DB 42a of the storage unit 42, and transmits the acquired key information to the smartphone 6. The smartphone 6 that has received the key information from the server device 4 displays the key information on the display unit 63. The user can unlock the bicycle 1 and start using the bicycle 1 based on the displayed key information.

図7は、本実施の形態に係る自転車貸借システムが行う自転車貸借処理を説明するためのタイミングチャートであり、自転車1の貸し出し中の処理を示している。本実施の形態に係る自転車貸借システムでは、自転車1に取り付けられたビーコン7は、周期的に無線信号を送信している。このため、自転車1を利用する利用者3のスマホ6は、ビーコン7が送信する無線信号を周期的に受信することとなる。ビーコン7からの無線信号を受信したスマホ6は、GPS受信部68の受信信号に基づく位置検出を行う。スマホ6は、ビーコン7からの無線信号から取得したビーコン識別情報と共に、検出した自身の位置情報及びその時点の時刻情報をサーバ装置4へ送信する。スマホ6からビーコン識別情報、位置情報及び時刻情報を受信したサーバ装置4は、受信した情報を自転車1の利用履歴として、記憶部42の利用履歴DB42cに記憶する。   FIG. 7 is a timing chart for explaining a bicycle lending process performed by the bicycle lending system according to the present embodiment, and shows a process during lending of bicycle 1. In the bicycle lending system according to the present embodiment, beacon 7 attached to bicycle 1 periodically transmits a radio signal. For this reason, the smartphone 6 of the user 3 who uses the bicycle 1 periodically receives the wireless signal transmitted by the beacon 7. The smartphone 6 that has received the wireless signal from the beacon 7 performs position detection based on the signal received by the GPS receiving unit 68. The smartphone 6 transmits to the server device 4 the detected position information of itself and the time information at that time, together with the beacon identification information acquired from the wireless signal from the beacon 7. The server device 4 that has received the beacon identification information, the position information, and the time information from the smartphone 6 stores the received information as the usage history of the bicycle 1 in the usage history DB 42c of the storage unit 42.

本実施の形態においては、スマホ6による位置情報などの送信及びサーバ装置4による履歴の記憶は、ビーコン7からの無線信号をスマホ6が受信する毎に行われる。ただしスマホ6は、例えばビーコン7からの無線信号を所定回数受信する毎に位置情報をサーバ装置4へ送信してもよい。また例えばスマホ6は、サーバ装置4への位置情報の送信を1分に1回に制限するなど、所定時間毎に位置情報をサーバ装置4へ送信してもよい。即ち、スマホ6がサーバ装置4へ位置情報を送信する頻度は、ビーコン7が無線信号を送信する頻度より少なくてもよい。   In the present embodiment, transmission of position information and the like by the smartphone 6 and storage of history by the server device 4 are performed each time the smartphone 6 receives a wireless signal from the beacon 7. However, the smartphone 6 may transmit the position information to the server device 4 every time the wireless signal from the beacon 7 is received a predetermined number of times, for example. Further, for example, the smartphone 6 may transmit the position information to the server device 4 every predetermined time, such as limiting the transmission of the position information to the server device 4 to once a minute. That is, the frequency at which the smartphone 6 transmits the position information to the server device 4 may be lower than the frequency at which the beacon 7 transmits the wireless signal.

図8は、本実施の形態に係る自転車貸借システムが行う自転車貸借処理を説明するためのタイミングチャートであり、自転車1の返却時の処理を示している。本実施の形態に係る自転車貸借システムでは、自転車1の借用を終える場合、利用者3は自転車1を元の駐輪場所又はその周辺に駐輪し、スマホ6にて自転車1の借用終了の操作を行う。この操作に応じてスマホ6は、自転車1の借用を終了する旨を通知する借用終了情報をサーバ装置4へ送信する。このときにスマホ6は、自身の位置情報及び時刻情報等を借用終了情報に含めて送信する。   FIG. 8 is a timing chart for explaining a bicycle lending process performed by the bicycle lending system according to the present embodiment, and shows a process when the bicycle 1 is returned. In the bicycle lending system according to the present embodiment, when ending the borrowing of the bicycle 1, the user 3 parks the bicycle 1 in or around the original bicycle parking place, and performs an operation to terminate the borrowing of the bicycle 1 on the smartphone 6. Do. In response to this operation, the smartphone 6 transmits to the server device 4 borrowing end information notifying that the borrowing of the bicycle 1 is to be ended. At this time, the smartphone 6 transmits its own position information, time information, and the like included in the borrowing end information.

スマホ6から借用終了情報を受信したサーバ装置4は、利用者3が自転車1を利用した時間などと、記憶部42の所有者DB42aに記憶された利用条件情報とに基づいて、自転車1の利用に係る料金を算出する。サーバ装置4は、算出した利用料金に対する支払いを請求する請求情報をスマホ6へ送信する。なおサーバ装置4は、借用開始情報に含まれていた位置情報及び借用終了情報に含まれる位置情報を比較して、自転車1の借用の開始位置及び終了位置が所定距離内であるかなどの返却条件を判定し、この条件を満たさない場合にスマホ6へ警告メッセージなどを送信する。この場合には、サーバ装置4は請求情報の送信を行わない。   The server device 4 that has received the borrowing end information from the smartphone 6 uses the bicycle 1 based on the usage time of the bicycle 3 by the user 3 and the usage condition information stored in the owner DB 42 a of the storage unit 42. Is calculated. The server device 4 transmits to the smartphone 6 billing information for billing for the calculated usage fee. The server device 4 compares the position information included in the borrowing start information and the position information included in the borrowing end information, and returns whether or not the start position and the end position of the borrowing of the bicycle 1 are within a predetermined distance. The condition is determined, and if the condition is not satisfied, a warning message or the like is transmitted to the smartphone 6. In this case, the server device 4 does not transmit the billing information.

サーバ装置4からの請求情報を受信したスマホ6は、受信した請求情報を表示部63に表示し、利用料金の支払いを承認する操作を操作部64にて受け付ける。この操作に応じてスマホ6は、利用料金に対する支払いが利用者3により承認された旨の通知をサーバ装置4へ送信する。この通知を受信したサーバ装置4は、記憶部42の利用者DB42bに記憶されたクレジットカード情報に基づいて、利用料金を受け取るための決済処理を行う。またサーバ装置4は、利用者3から受け取った利用料金の一部又は全部を、自転車1の所有者2に対して報酬として支払う。   The smartphone 6 that has received the billing information from the server device 4 displays the received billing information on the display unit 63, and accepts an operation for approving the payment of the usage fee on the operation unit 64. In response to this operation, the smartphone 6 transmits to the server device 4 a notification that the payment for the usage fee has been approved by the user 3. The server device 4 that has received this notification performs a payment process for receiving a usage fee based on the credit card information stored in the user DB 42b of the storage unit 42. Further, the server device 4 pays a part or all of the usage fee received from the user 3 to the owner 2 of the bicycle 1 as a reward.

自転車1が利用者3から返却された後、例えば駅の駐輪場に戻ってきた所有者2は、自身のスマホ5にて自転車1の貸し出しを終了する操作を行う。この操作に応じてスマホ5は、自転車1の貸し出しを終了する旨の通知をサーバ装置4へ送信する。スマホ5から貸出終了の通知を受信したサーバ装置4は、記憶部42の所有者DB42aの貸出可否の項目を貸出不可能に設定する。これにより、所有者2の自転車1の貸借が不可能となる。所有者2は、自身の自転車1を利用して自宅などへ戻ることができる。   After returning the bicycle 1 from the user 3, the owner 2 returning to the bicycle parking lot at the station, for example, performs an operation of terminating the lending of the bicycle 1 on his / her smartphone 5. In response to this operation, the smartphone 5 transmits to the server device 4 a notification that the lending of the bicycle 1 has been completed. The server device 4 that has received the notification of the lending end from the smartphone 5 sets the item of lending permission / prohibition in the owner DB 42 a of the storage unit 42 to be unlending. This makes it impossible for the owner 2 to borrow and borrow the bicycle 1. The owner 2 can return to home or the like using his / her bicycle 1.

<フローチャート>
図9は、本実施の形態に係る所有者2のスマホ5が行う自転車貸借処理の手順を示すフローチャートである。本実施の形態に係るスマホ5の処理部51の貸出許可処理部51bは、例えば表示部53にメニュー画面などを表示し、操作部54にて自転車1の貸出許可の操作を受け付けたか否かを判定する(ステップS1)。貸出許可の操作を受け付けた場合(S1:YES)、貸出許可処理部51bは、第1通信部56にてサーバ装置4との通信を行い、自転車1の貸出の許可が与えられた旨の通知をサーバ装置4へ送信し(ステップS2)、処理を終了する。
<Flowchart>
FIG. 9 is a flowchart illustrating a procedure of a bicycle lending process performed by the smartphone 5 of the owner 2 according to the present embodiment. The lending permission processing unit 51b of the processing unit 51 of the smartphone 5 according to the present embodiment displays, for example, a menu screen or the like on the display unit 53, and determines whether or not the operation unit 54 has accepted the operation for permitting the lending of the bicycle 1. A determination is made (step S1). When a lending permission operation is received (S1: YES), the lending permission processing unit 51b performs communication with the server device 4 using the first communication unit 56, and notifies that the lending of the bicycle 1 has been permitted. Is transmitted to the server device 4 (step S2), and the process ends.

貸出許可の操作を受け付けていない場合(S1:NO)、貸出許可処理部51bは、操作部54にて自転車1の貸出終了の操作を受け付けたか否かを判定する(ステップS3)。貸出終了の受け付けていない場合(S3:NO)、貸出許可処理部51bは、ステップS1へ処理を戻し、貸出許可又は貸出終了の操作を受け付けるまで待機する。貸出終了の操作を受け付けた場合(S3:YES)、貸出許可処理部51bは、第1通信部56にてサーバ装置4との通信を行い、自転車1の貸出の終了が指示された旨の通知をサーバ装置4へ送信し(ステップS4)、処理を終了する。   When the operation of permitting lending has not been received (S1: NO), the lending permission processing unit 51b determines whether the operation of ending the lending of the bicycle 1 has been received by the operation unit 54 (step S3). If the lending end has not been received (S3: NO), the lending permission processing unit 51b returns the process to step S1, and waits until the lending permission or the lending end operation is received. When the operation of ending the lending is received (S3: YES), the lending permission processing unit 51b performs communication with the server device 4 using the first communication unit 56, and notifies that the end of the lending of the bicycle 1 has been instructed. Is transmitted to the server device 4 (step S4), and the process ends.

図10及び図11は、本実施の形態に係る利用者3のスマホ6が行う自転車貸借処理の手順を示すフローチャートである。本実施の形態に係るスマホ6の処理部61のビーコン処理部61bは、第2通信部67にて自転車1に取り付けられたビーコン7からの無線信号を受信したか否かを判定する(ステップS11)。ビーコン7からの無線信号を受信した場合(S11:YES)、ビーコン処理部61bは、受信した無線信号に含まれるビーコン識別情報を取得する(ステップS12)。ビーコン処理部61bは、取得したビーコン識別情報を、第1通信部66にてサーバ装置4へ送信し(ステップS13)、ステップS14へ処理を進める。またビーコン7からの無線信号を受信していない場合(S11:NO)、ビーコン処理部61bは、ステップS14へ処理を進める。   FIGS. 10 and 11 are flowcharts showing a procedure of a bicycle lending process performed by the smartphone 6 of the user 3 according to the present embodiment. The beacon processing unit 61b of the processing unit 61 of the smartphone 6 according to the present embodiment determines whether or not the second communication unit 67 has received a wireless signal from the beacon 7 attached to the bicycle 1 (Step S11). ). When receiving the wireless signal from the beacon 7 (S11: YES), the beacon processing unit 61b acquires the beacon identification information included in the received wireless signal (Step S12). The beacon processing unit 61b transmits the acquired beacon identification information to the server device 4 via the first communication unit 66 (Step S13), and proceeds to Step S14. If a wireless signal from beacon 7 has not been received (S11: NO), beacon processing section 61b proceeds to step S14.

次いでビーコン処理部61bは、第1通信部66にてサーバ装置4からの自転車情報を受信したか否かを判定する(ステップS14)。自転車情報を受信した場合(S14:YES)、ビーコン処理部61bは、受信した自転車情報を表示部63に表示し(ステップS15)、ステップS16へ処理を進める。自転車情報を受信していない場合(S14:NO)、ビーコン処理部61bは、ステップS16へ処理を進める。   Next, the beacon processing unit 61b determines whether the first communication unit 66 has received the bicycle information from the server device 4 (Step S14). When the bicycle information is received (S14: YES), the beacon processing unit 61b displays the received bicycle information on the display unit 63 (Step S15), and proceeds to Step S16. If the bicycle information has not been received (S14: NO), the beacon processing unit 61b proceeds to step S16.

次いで処理部61のQR処理部61cは、例えば表示部63に表示したメニュー画面などに基づいてQRコード8の読み取りを行う操作を操作部64にて受け付けたか否かを判定する(ステップS16)。QRコードの読み取り操作を受け付けた場合(S16:YES)、QR処理部61cは、カメラ65を起動してQRコード8の読み取りを行う(ステップS17)。QR処理部61cは、読み取ったQRコード8に含まれる自転車識別情報を取得する(ステップS18)。QR処理部61cは、取得した自転車識別情報を、第1通信部66にてサーバ装置4へ送信し(ステップS19)、ステップS20へ処理を進める。QRコード8の読み取り操作を受け付けていない場合(S16:NO)、QR処理部61cは、ステップS20へ処理を進める。   Next, the QR processing unit 61c of the processing unit 61 determines whether or not an operation for reading the QR code 8 has been received by the operation unit 64 based on, for example, a menu screen displayed on the display unit 63 (Step S16). When a QR code reading operation is received (S16: YES), the QR processing unit 61c activates the camera 65 and reads the QR code 8 (step S17). The QR processing unit 61c acquires the bicycle identification information included in the read QR code 8 (Step S18). The QR processing unit 61c transmits the acquired bicycle identification information to the server device 4 by the first communication unit 66 (Step S19), and proceeds to Step S20. If the operation of reading the QR code 8 has not been received (S16: NO), the QR processing unit 61c proceeds to step S20.

次いでQR処理部61cは、第1通信部66にてサーバ装置4からの利用条件情報を受信したか否かを判定する(ステップS20)。利用条件情報を受信した場合(S20:YES)、QR処理部61cは、受信した利用条件情報を表示部63に表示し(ステップS21)、ステップS22へ処理を進める。利用条件情報を受信していない場合(S20:NO)、QR処理部61cは、ステップS22へ処理を進める。   Next, the QR processing unit 61c determines whether the first communication unit 66 has received use condition information from the server device 4 (step S20). When the usage condition information is received (S20: YES), the QR processing unit 61c displays the received usage condition information on the display unit 63 (Step S21), and proceeds to Step S22. If the usage condition information has not been received (S20: NO), the QR processing unit 61c advances the process to step S22.

次いで処理部61の借用開始処理部61dは、例えば利用条件情報が表示された画面に設けられた借用開始のボタンに対するタッチ操作など、自転車1の借用を開始する操作を操作部64にて受け付けたか否かを判定する(ステップS22)。借用開始の操作を受け付けていない場合(S22:NO)、処理部61は、ステップS11へ処理を戻し、上述の処理を繰り返し行う。借用開始の操作を受け付けた場合(S22:YES)、借用開始処理部61dは、自転車1の借用を開始する旨を通知する借用開始情報を第1通信部66にてサーバ装置4へ送信する(ステップS23)。なおこのときに借用開始処理部61dは、GPS受信部68の受信信号に基づくスマホ6の位置情報を取得し、借用開始情報に位置情報を含めてサーバ装置4へ送信する。   Next, the borrowing start processing unit 61d of the processing unit 61 determines whether the operation unit 64 has received an operation to start borrowing the bicycle 1 such as a touch operation on a borrowing start button provided on the screen displaying the usage condition information. It is determined whether or not it is (step S22). If the operation of starting borrowing has not been received (S22: NO), the processing unit 61 returns the processing to step S11 and repeats the above processing. When the borrowing start operation is received (S22: YES), the borrowing start processing unit 61d transmits the borrowing start information notifying that the borrowing of the bicycle 1 is to be started to the server device 4 by the first communication unit 66 ( Step S23). At this time, the borrowing start processing unit 61d acquires the position information of the smartphone 6 based on the reception signal of the GPS receiving unit 68, and transmits the borrowing start information including the position information to the server device 4.

借用開始処理部61dは、第1通信部66にてサーバ装置4からの鍵情報を受信したか否かを判定する(ステップS24)。鍵情報を受信していない場合(S24:NO)、借用開始処理部61dは、サーバ装置4から鍵情報を受信するまで待機する。鍵情報を受信した場合(S24:YES)、借用開始処理部61dは、受信した鍵情報を表示部63に表示する(ステップS25)。これにより、利用者3は自転車1の錠を解錠し、自転車1を利用することができる。   The borrowing start processing unit 61d determines whether the first communication unit 66 has received the key information from the server device 4 (Step S24). When the key information has not been received (S24: NO), the borrowing start processing unit 61d waits until key information is received from the server device 4. When the key information is received (S24: YES), the borrowing start processing unit 61d displays the received key information on the display unit 63 (Step S25). Thus, the user 3 can unlock the bicycle 1 and use the bicycle 1.

次いで処理部61の履歴送信部61eは、第2通信部67にて自転車1に取り付けられたビーコン7からの無線信号を受信したか否かを判定する(ステップS26)。ビーコン7からの無線信号を受信した場合(S26:YES)、履歴送信部61eは、ビーコン7から受信した無線信号に含まれるビーコン識別情報を取得すると共に、GPS受信部68の受信信号に基づくスマホ6の位置情報を取得する(ステップS27)。履歴送信部61eは、ステップS27にて取得したビーコン識別情報及び位置情報にその時点の時刻情報を含めて、第1通信部66にてサーバ装置4へ送信し(ステップS28)、ステップS29へ処理を進める。ビーコン7からの無線信号を受信していない場合(S26:NO)、履歴送信部61eは、ステップS29へ処理を進める。   Next, the history transmitting unit 61e of the processing unit 61 determines whether the second communication unit 67 has received a wireless signal from the beacon 7 attached to the bicycle 1 (Step S26). When the wireless signal from the beacon 7 is received (S26: YES), the history transmitting unit 61e acquires the beacon identification information included in the wireless signal received from the beacon 7, and the smartphone based on the received signal of the GPS receiving unit 68. 6 is obtained (step S27). The history transmitting unit 61e transmits the beacon identification information and the position information obtained in step S27 to the server device 4 by including the time information at that time to the server device 4 (step S28), and proceeds to step S29. Proceed. When the wireless signal has not been received from the beacon 7 (S26: NO), the history transmitting unit 61e proceeds to step S29.

次いで処理部61の借用終了処理部61fは、例えば表示部63に表示したメニュー画面などに基づいて自転車1の借用を終了する操作を操作部64にて受け付けたか否かを判定する(ステップS29)。借用終了の操作を受け付けていない場合(S29:NO)、処理部61は、ステップS26へ処理を戻し、ビーコン7からの無線信号の受信に応じた位置情報の送信を繰り返し行う。借用終了の操作を受け付けた場合(S29:YES)、借用終了処理部61fは、自転車1の借用を終了する旨を通知する借用終了情報を、第1通信部66にてサーバ装置4へ送信する(ステップS30)。なおこのときに借用終了処理部61fは、GPS受信部68の受信信号に基づくスマホ6の位置情報を取得し、借用終了情報に位置情報を含めてサーバ装置4へ送信する。   Next, the borrowing termination processing unit 61f of the processing unit 61 determines whether or not the operation unit 64 has received an operation to terminate the borrowing of the bicycle 1 based on, for example, the menu screen displayed on the display unit 63 (Step S29). . If the operation of terminating the borrowing has not been received (S29: NO), the processing unit 61 returns the process to step S26, and repeatedly transmits the position information according to the reception of the wireless signal from the beacon 7. When the borrowing end operation is received (S29: YES), the borrowing end processing unit 61f transmits the borrowing end information notifying that the borrowing of the bicycle 1 is to be ended to the server device 4 by the first communication unit 66. (Step S30). At this time, the borrowing termination processing unit 61f acquires the location information of the smartphone 6 based on the reception signal of the GPS receiving unit 68, and transmits the borrowing termination information including the location information to the server device 4.

借用終了処理部61fは、第1通信部66にてサーバ装置4からの請求情報を受信したか否かを判定する(ステップS31)。請求情報を受信していない場合(S31:NO)、借用終了処理部61fは、請求情報を受信するまで待機する。なお図示は省略するが、このときに借用終了処理部61fは、サーバ装置4から自転車1の返却位置が正しくない旨の警告メッセージを受信する可能性があり、この警告メッセージを受信した場合にはこれを表示部63に表示して、ステップS26へ処理を戻せばよい。請求情報を受信した場合(S31:YES)、借用終了処理部61fは、受信した請求情報を表示部63に表示する(ステップS32)。借用終了処理部61fは、例えば請求情報が表示された画面に設けられた承認のボタンに対するタッチ操作など、自転車1の借用に係る利用料金の支払いに対する承認の操作を操作部64にて受け付けたか否かを判定する(ステップS33)。承認の操作を受け付けていない場合(S33:NO)、借用終了処理部61fは、承認の操作を受け付けるまで待機する。承認の操作を受け付けた場合(S33:YES)、借用終了処理部61fは、自転車1の利用料金の支払いを承認する旨の通知をサーバ装置4へ送信し(ステップS34)、ステップS11へ処理を戻す。   The borrowing end processing unit 61f determines whether the first communication unit 66 has received the billing information from the server device 4 (Step S31). If the billing information has not been received (S31: NO), the borrowing end processing unit 61f waits until receiving the billing information. Although not shown, the borrowing termination processing unit 61f may receive a warning message from the server device 4 indicating that the return position of the bicycle 1 is incorrect, and if the warning message is received, This may be displayed on the display unit 63, and the process may return to step S26. When the billing information has been received (S31: YES), the borrowing end processing unit 61f displays the received billing information on the display unit 63 (step S32). The borrowing termination processing unit 61f determines whether or not the operation unit 64 has accepted the operation of approving the payment of the usage fee related to the borrowing of the bicycle 1, such as a touch operation on an approval button provided on the screen displaying the billing information. Is determined (step S33). When the approval operation has not been received (S33: NO), the borrowing end processing unit 61f waits until the approval operation is received. If the approval operation has been received (S33: YES), the borrowing termination processing unit 61f transmits a notification to the effect that the payment of the usage fee for the bicycle 1 is approved to the server device 4 (step S34), and proceeds to step S11. return.

図12及び図13は、本実施の形態に係るサーバ装置4が行う自転車貸借処理の手順を示すフローチャートである。本実施の形態に係るサーバ装置4の処理部41の貸出許可受付部41bは、通信部43にて所有者2のスマホ5から自転車1の貸出許可の通知を受信したか否かを判定する(ステップS51)。貸出許可の通知を受信した場合(S51:YES)、貸出許可受付部41bは、記憶部42に記憶された所有者DB42aの貸出可否の項目を、貸出許可に設定し(ステップS52)、ステップS53へ処理を進める。貸出許可の通知を受信していない場合(S51:NO)、貸出許可受付部41bは、ステップS53へ処理を進める。   FIGS. 12 and 13 are flowcharts showing the procedure of the bicycle lending process performed by the server device 4 according to the present embodiment. The lending permission receiving unit 41b of the processing unit 41 of the server device 4 according to the present embodiment determines whether or not the communication unit 43 has received the notification of the lending permission of the bicycle 1 from the smartphone 5 of the owner 2 (see FIG. 4). Step S51). When the notification of the lending permission is received (S51: YES), the lending permission receiving unit 41b sets the item of the lending permission / prohibition of the owner DB 42a stored in the storage unit 42 to the lending permission (step S52), and proceeds to step S53. Processing proceeds to When the notice of lending permission has not been received (S51: NO), the lending permission receiving unit 41b advances the process to step S53.

次いで貸出許可受付部41bは、通信部43にて所有者2のスマホ5から自転車1の貸出終了の通知を受信したか否かを判定する(ステップS53)。貸出終了の通知を受信した場合(S53:YES)、貸出許可受付部41bは、記憶部42に記憶された所有者DB42aの貸出可否の項目を、貸出不許可に設定し(ステップS54)、ステップS55へ処理を進める。貸出終了の通知を受信していない場合(S53:NO)、貸出許可受付部41bは、ステップS55へ処理を進める。   Next, the lending permission receiving unit 41b determines whether or not the communication unit 43 has received a notification of the completion of lending of the bicycle 1 from the smartphone 5 of the owner 2 (Step S53). When the notification of the termination of the lending is received (S53: YES), the lending permission receiving unit 41b sets the item of the lending permission / prohibition of the owner DB 42a stored in the storage unit 42 to the non-lending (step S54). The process proceeds to S55. When the notification of the lending end has not been received (S53: NO), the lending permission receiving unit 41b advances the process to step S55.

次いで処理部41の貸出処理部41cは、通信部43にて利用者3のスマホ6からビーコン識別情報を受信したか否かを判定する(ステップS55)。ビーコン識別情報を受信した場合(S55:YES)、貸出処理部41cは、記憶部42の所有者DB42aの貸出許可の項目を参照し、受信したビーコン識別情報に対応する自転車1の貸し出しが許可されているか否かを判定する(ステップS56)。自転車1の貸し出しが許可されている場合(S56:YES)、貸出処理部41cは、記憶部42に記憶された所有者DB42aを参照し、受信したビーコン識別情報に対応する自転車情報を取得する(ステップS57)。貸出処理部41cは、取得した自転車情報を、ビーコン識別情報の送信元のスマホ6へ送信し(ステップS58)、ステップS59へ処理を進める。自転車1の貸し出しが許可されていない場合(S56:NO)、貸出処理部41cは、ステップS59へ処理を進める。この場合に貸出処理部41cは、自転車1の貸し出しが許可されていない旨の通知をスマホ6へ送信してもよい。ビーコン識別情報を受信していない場合(S55:NO)、貸出処理部41cは、ステップS59へ処理を進める。   Next, the lending processing unit 41c of the processing unit 41 determines whether the communication unit 43 has received beacon identification information from the smartphone 6 of the user 3 (Step S55). When the beacon identification information is received (S55: YES), the lending processing unit 41c refers to the item of the lending permission in the owner DB 42a of the storage unit 42, and is permitted to lend the bicycle 1 corresponding to the received beacon identification information. It is determined whether or not it has been performed (step S56). When the lending of the bicycle 1 is permitted (S56: YES), the lending processing unit 41c refers to the owner DB 42a stored in the storage unit 42 and acquires the bicycle information corresponding to the received beacon identification information (S56). Step S57). The lending processing unit 41c transmits the acquired bicycle information to the smartphone 6 that transmitted the beacon identification information (step S58), and proceeds to step S59. If lending of the bicycle 1 is not permitted (S56: NO), the lending processing unit 41c proceeds to step S59. In this case, the lending processing unit 41c may transmit to the smartphone 6 a notification that the lending of the bicycle 1 is not permitted. If the beacon identification information has not been received (S55: NO), the lending processing unit 41c proceeds to step S59.

次いで貸出処理部41cは、通信部43にて利用者3のスマホ6から自転車識別情報を受信したか否かを判定する(ステップS59)。自転車識別情報を受信した場合(S59:YES)、貸出処理部41cは、記憶部42に記憶された所有者DB42aを参照し、受信した自転車識別情報に対応する利用条件情報を取得する(ステップS60)。貸出処理部41cは、取得した利用条件情報を、自転車識別情報の送信元のスマホ6へ送信し(ステップS61)、ステップS62へ処理を進める。自転車識別情報を受信していない場合(S59:NO)、貸出処理部41cは、ステップS62へ処理を進める。   Next, the lending processing unit 41c determines whether or not the communication unit 43 has received the bicycle identification information from the smartphone 6 of the user 3 (Step S59). When the bicycle identification information has been received (S59: YES), the lending processing unit 41c refers to the owner DB 42a stored in the storage unit 42 and acquires usage condition information corresponding to the received bicycle identification information (Step S60). ). The lending processing unit 41c transmits the acquired use condition information to the smartphone 6 that has transmitted the bicycle identification information (step S61), and proceeds to step S62. If the bicycle identification information has not been received (S59: NO), the lending processing section 41c proceeds to step S62.

次いで貸出処理部41cは、通信部43にて利用者3のスマホ6から借用開始情報を受信したか否かを判定する(ステップS62)。借用開始情報を受信した場合(S62:YES)、貸出処理部41cは、記憶部42に記憶された所有者DB42aに、借用される自転車1を利用する利用者3の情報を設定し(ステップS63)、ステップS64へ処理を進める。このときに貸出処理部41cは、利用者3の情報として、借用開始情報に含まれる位置情報と借用開始の時刻情報とを所有者DB42aに記憶する。借用開始情報を受信していない場合(S62:NO)、貸出処理部41cは、ステップS64へ処理を進める。   Next, the lending processing unit 41c determines whether the communication unit 43 has received the borrowing start information from the smartphone 6 of the user 3 (Step S62). When the borrowing start information is received (S62: YES), the lending processing unit 41c sets the information of the user 3 who uses the borrowed bicycle 1 in the owner DB 42a stored in the storage unit 42 (Step S63). ) And the process proceeds to step S64. At this time, the lending processing unit 41c stores, as the information of the user 3, the position information and the borrow start time information included in the borrow start information in the owner DB 42a. If the borrowing start information has not been received (S62: NO), the lending processing unit 41c proceeds to step S64.

次いで処理部41の履歴処理部41dは、通信部43にて利用者3のスマホ6から位置情報を受信したか否かを判定する(ステップS64)。位置情報を受信した場合(S64:YES)、履歴処理部41dは、記憶部42の利用履歴DB42cに、受信した位置情報、及び、この位置情報と共に受信するビーコン識別情報を時刻情報と共に記憶し(ステップS65)、ステップS66へ処理を進める。位置情報を受信していない場合(S64:NO)、履歴処理部41dは、ステップS66へ処理を進める。   Next, the history processing unit 41d of the processing unit 41 determines whether or not the communication unit 43 has received the position information from the smartphone 6 of the user 3 (Step S64). When the position information is received (S64: YES), the history processing unit 41d stores the received position information and the beacon identification information received with the position information together with the time information in the use history DB 42c of the storage unit 42 ( Step S65), the process proceeds to step S66. If the position information has not been received (S64: NO), the history processing unit 41d advances the process to step S66.

次いで処理部41の返却処理部41eは、通信部43にて利用者3のスマホ6から借用終了情報を受信したか否かを判定する(ステップS66)。借用終了情報を受信した場合(S66:YES)、返却処理部41eは、記憶部42の所有者DB42aに記憶された自転車1の借用の開始位置を取得して、借用終了情報に含まれる位置情報と比較し、借用の開始位置と終了位置とが所定の距離範囲内であるか否かに応じて、自転車1の返却位置が正しいか否かを判定する(ステップS67)。自転車1の返却位置が正しい場合(S67:YES)、返却処理部41eは、利用者3による自転車1の利用時間と、この自転車1の利用条件情報とに基づいて、自転車1の利用料金を算出する(ステップS68)。その後、返却処理部41eは、記憶部42に記憶された所有者DB42aに設定された自転車1の利用者3の情報を削除する(ステップS69)。返却処理部41eは、ステップS68にて算出した利用料金の情報を含む支払いの請求情報を、借用終了情報の送信元のスマホ6へ送信し(ステップS70)、ステップS72へ処理を進める。自転車1の返却位置が正しくない場合(S67:NO)、返却処理部41eは、借用終了情報の送信元のスマホ6へ警告メッセージを送信し(ステップS71)、ステップS72へ処理を進める。借用終了情報を受信していない場合(S66:NO)、返却処理部41eは、ステップS72へ処理を進める。   Next, the return processing unit 41e of the processing unit 41 determines whether the communication unit 43 has received the borrowing end information from the smartphone 6 of the user 3 (Step S66). When the borrowing end information is received (S66: YES), the return processing unit 41e acquires the borrowing start position of the bicycle 1 stored in the owner DB 42a of the storage unit 42, and obtains the position information included in the borrowing end information. Then, it is determined whether the return position of the bicycle 1 is correct according to whether the borrowed start position and the borrowed position are within a predetermined distance range (step S67). When the return position of the bicycle 1 is correct (S67: YES), the return processing unit 41e calculates the usage fee of the bicycle 1 based on the usage time of the bicycle 1 by the user 3 and the usage condition information of the bicycle 1. (Step S68). Thereafter, the return processing unit 41e deletes the information of the user 3 of the bicycle 1 set in the owner DB 42a stored in the storage unit 42 (Step S69). The return processing unit 41e transmits the billing information for payment including the information on the usage fee calculated in step S68 to the smartphone 6 that has transmitted the borrowing end information (step S70), and proceeds to step S72. If the return position of the bicycle 1 is not correct (S67: NO), the return processing unit 41e transmits a warning message to the smartphone 6 that has transmitted the borrowing end information (step S71), and proceeds to step S72. If the borrowing end information has not been received (S66: NO), the return processing unit 41e proceeds to step S72.

次いで処理部41の決済処理部41fは、通信部43にて利用者3のスマホ6から支払いの承認の通知を受信したか否かを判定する(ステップS72)。支払いの承認の通知を受信した場合(S72:YES)、決済処理部41fは、例えば記憶部42に記憶された利用者DB42bを参照して支払いに用いられるクレジットカードの情報を取得し、クレジットカードの提供会社のサーバ装置などとの間で適宜の通信を行うことにより、利用者3からの自転車1の利用料金の受け取りを行う(ステップS73)。更に決済処理部41fは、利用者3から受け取った利用料金の一部又は全部を報酬として自転車1の所有者2へ支払う処理を行い(ステップS74)、ステップS51へ処理を戻す。支払いの承認の通知を受信していない場合(S72:NO)、決済処理部41fは、ステップS51へ処理を戻す。   Next, the settlement processing unit 41f of the processing unit 41 determines whether or not the communication unit 43 has received a notice of payment approval from the smartphone 6 of the user 3 (step S72). When the payment approval notification is received (S72: YES), the payment processing unit 41f refers to, for example, the user DB 42b stored in the storage unit 42, acquires information on the credit card used for payment, and acquires the credit card information. The usage fee of the bicycle 1 is received from the user 3 by performing appropriate communication with the server device of the providing company (step S73). Further, the settlement processing unit 41f performs a process of paying a part or all of the usage fee received from the user 3 to the owner 2 of the bicycle 1 as a reward (Step S74), and returns the process to Step S51. When the payment approval notification has not been received (S72: NO), the payment processing unit 41f returns the process to step S51.

<まとめ>
以上の構成の本実施の形態に係る自転車貸借システムでは、自身の自転車1の貸出を希望する所有者2は、予め自転車1にビーコン7を取り付けると共に、サーバ装置4に所有者情報、自転車情報及び鍵情報等の情報を登録しておく。サーバ装置4は、自転車1の型番及び写真等の自転車情報と、自転車1の錠を解錠するための鍵情報と、自転車1に取り付けられたビーコン7のビーコン識別情報と、自転車1の所有者2の名前及び口座番号等の所有者情報とを対応付けて記憶部42の所有者DB42aに記憶する。自転車1の所有者2は、例えば駅の駐輪場などに自転車1を駐輪し、スマホ5を用いてサーバ装置4に対して自転車1の貸出の許可を与える。
<Summary>
In the bicycle lending system according to the present embodiment having the above-described configuration, the owner 2 who wants to rent his own bicycle 1 attaches the beacon 7 to the bicycle 1 in advance and also stores the owner information, the bicycle information, and the Information such as key information is registered. The server device 4 includes bicycle information such as a model number and a photograph of the bicycle 1, key information for unlocking the bicycle 1, beacon identification information of a beacon 7 attached to the bicycle 1, and an owner of the bicycle 1. 2 and associated with the owner information such as the account number and stored in the owner DB 42a of the storage unit 42. The owner 2 of the bicycle 1 parks the bicycle 1 in, for example, a bicycle parking lot at a station, and gives permission to rent the bicycle 1 to the server device 4 using the smartphone 5.

自転車1の借用を希望する利用者3は、自身のスマホ6を利用して自転車1のビーコン7から送信される無線信号を受信することによって、貸し出されている自転車1が駐輪場に駐輪されていることを知ることができる。このときにスマホ6は、自転車1のビーコン7から受信した無線信号に含まれるビーコン識別情報をサーバ装置4へ送信する。スマホ6からビーコン識別情報を受信したサーバ装置4は、受信したビーコン識別情報に対応付けられた自転車情報をスマホ6へ送信する。利用者3は、スマホ6がサーバ装置4から受信した自転車情報に基づいて、駐輪場から所望の自転車1を探し出すことができる。自転車1を探し出した利用者3は、スマホ6からサーバ装置4へ自転車1の借用開始情報を送信することによって、この自転車1の借用を開始する。   The user 3 who wants to borrow the bicycle 1 receives the radio signal transmitted from the beacon 7 of the bicycle 1 using his / her smartphone 6, and the rented bicycle 1 is parked in the bicycle parking lot. You can know that. At this time, the smartphone 6 transmits beacon identification information included in the wireless signal received from the beacon 7 of the bicycle 1 to the server device 4. The server device 4 that has received the beacon identification information from the smartphone 6 transmits the bicycle information associated with the received beacon identification information to the smartphone 6. The user 3 can search for a desired bicycle 1 from a bicycle parking lot based on the bicycle information received by the smartphone 6 from the server device 4. The user 3 who has found the bicycle 1 starts borrowing the bicycle 1 by transmitting the borrowing start information of the bicycle 1 from the smartphone 6 to the server device 4.

これらにより自転車1の利用者3は、自転車1に取り付けられたビーコン7と、サーバ装置4から送信される自転車情報とに基づいて、借用可能な自転車1を容易に探し出すことが可能となる。   Thus, the user 3 of the bicycle 1 can easily find the borrowable bicycle 1 based on the beacon 7 attached to the bicycle 1 and the bicycle information transmitted from the server device 4.

また本実施の形態に係る自転車貸借システムでは、自転車1の所有者2は、例えばQRコード8の印刷されたシールなどを自転車1に貼り付けることによって、自転車1に対して自転車識別情報を付しておく。自転車1の借用を希望する利用者3は、借用可能な自転車1を探し出した後、自身のスマホ6を利用し自転車1に付された自転車識別情報を取得し、サーバ装置4へ自転車識別情報を送信する。サーバ装置4は、自転車識別情報に対応付けてこの自転車1の利用条件情報、例えば利用可能な時間帯及び利用金額等の情報を所有者DB42aに記憶している。スマホ6から自転車識別情報を受信したサーバ装置4は、受信した自転車識別情報に対応する利用条件情報をスマホ6へ送信する。   Further, in the bicycle lending system according to the present embodiment, the owner 2 of the bicycle 1 attaches the bicycle identification information to the bicycle 1 by pasting a sticker or the like on which the QR code 8 is printed, for example. Keep it. The user 3 wishing to borrow the bicycle 1 finds the borrowable bicycle 1, obtains the bicycle identification information attached to the bicycle 1 using his / her smartphone 6, and sends the bicycle identification information to the server device 4. Send. The server device 4 stores, in the owner DB 42a, usage condition information of the bicycle 1, for example, information such as available time zone and usage amount, in association with the bicycle identification information. The server device 4 that has received the bicycle identification information from the smartphone 6 transmits the usage condition information corresponding to the received bicycle identification information to the smartphone 6.

借用可能な自転車1が近くに複数台存在する場合、各自転車1が発するビーコン7の無線信号に基づく自転車情報のみでは、利用者3がいずれの自転車1を利用しようとしているかをサーバ装置4が特定することが難しい場合がある。自転車1に付されたQRコード8の自転車識別情報を利用者3がスマホ6にて取得してサーバ装置4へ送信する構成とすることによって、利用者3が借用しようとする自転車1をサーバ装置4は確実に特定することが可能となる。   When there are a plurality of borrowable bicycles 1 nearby, the server device 4 specifies which bicycle 1 the user 3 intends to use based on only the bicycle information based on the radio signal of the beacon 7 emitted by each bicycle 1. It can be difficult to do. The configuration is such that the user 3 acquires the bicycle identification information of the QR code 8 attached to the bicycle 1 with the smartphone 6 and transmits it to the server device 4, so that the bicycle 1 that the user 3 intends to borrow can be used as the server device. 4 can be specified with certainty.

また本実施の形態に係る自転車貸借システムでは、利用者3のスマホ6は、サーバ装置4へ送信した自転車識別情報に対応する自転車1の利用条件情報を、サーバ装置4から受信して表示部63に表示する。これにより、所有者2は自転車1毎に異なる利用条件を設定することが可能となり、利用者3は自転車1毎に設定された利用条件を自身のスマホ6を用いて確認し、この自転車1を借用するか否かを判断することができる。   In the bicycle lending system according to the present embodiment, the smartphone 6 of the user 3 receives the use condition information of the bicycle 1 corresponding to the bicycle identification information transmitted to the server device 4 from the server device 4 and displays the use condition information on the display unit 63. To display. As a result, the owner 2 can set different use conditions for each bicycle 1, and the user 3 checks the use conditions set for each bicycle 1 using his / her smartphone 6 and uses this bicycle 1. It can be determined whether or not to borrow.

また本実施の形態に係る自転車貸借システムでは、スマホ6が借用開始情報をサーバ装置4へ送信し、利用者3が自転車1の借用を開始した後、利用者3のスマホ6は自身の位置情報を取得するとともに、自転車1のビーコン7が送信する無線信号からビーコン識別情報を取得して、位置情報及びビーコン識別情報を時刻情報と共にサーバ装置4へ送信する。サーバ装置4は、スマホ6から送信される位置情報、ビーコン識別情報及び時刻情報を受信し、受信した情報を記憶部42の利用履歴DB42cに記憶する。これにより、借用された自転車1の位置の履歴をサーバ装置4が記憶することができる。   Further, in the bicycle lending system according to the present embodiment, after the smartphone 6 transmits the borrowing start information to the server device 4 and the user 3 starts borrowing the bicycle 1, the smartphone 6 of the user 3 acquires its own location information. Is acquired, the beacon identification information is acquired from the wireless signal transmitted by the beacon 7 of the bicycle 1, and the position information and the beacon identification information are transmitted to the server device 4 together with the time information. The server device 4 receives the position information, the beacon identification information, and the time information transmitted from the smartphone 6, and stores the received information in the use history DB 42c of the storage unit 42. Thereby, the server device 4 can store the history of the position of the borrowed bicycle 1.

また本実施の形態に係る自転車貸借システムでは、自転車1の借用を終えた利用者3は、スマホ6の位置情報を含む自転車1の借用終了情報をサーバ装置4へ送信する。これによりサーバ装置4は、自転車1の借用を終了した位置を確認することができる。自転車1の借用終了情報を授受した後、スマホ6は、自転車1の借用に係る料金を支払う処理(利用料金の支払いの承認を利用者3から受け付ける処理)を行う。サーバ装置4は、利用者3のクレジットカード情報などに基づいた決済処理を行うことにより、利用者3から自転車1の借用に係る料金を受け取る処理を行う。これにより、所有者2及び利用者3の間での自転車1の貸借が終了する。   Further, in the bicycle lending system according to the present embodiment, the user 3 who has borrowed the bicycle 1 transmits the borrowing end information of the bicycle 1 including the position information of the smartphone 6 to the server device 4. Thereby, the server device 4 can confirm the position where the borrowing of the bicycle 1 has been completed. After giving and receiving the borrowing end information of the bicycle 1, the smartphone 6 performs a process of paying a fee related to the borrowing of the bicycle 1 (a process of receiving approval of payment of the usage fee from the user 3). The server device 4 performs a process of receiving a fee for borrowing the bicycle 1 from the user 3 by performing a payment process based on credit card information or the like of the user 3. Thus, the lending and renting of the bicycle 1 between the owner 2 and the user 3 ends.

また本実施の形態に係る自転車貸借システムでは、自転車1の貸し出しにより利用者3から利用料金を受け取ったサーバ装置4は、この料金の一部又は全部を自転車1の所有者2に支払う処理を行う。これにより自転車1の所有者2は、自転車1を貸し出すことによる対価を受け取ることができる。よって、より多くの所有者2に自転車1の貸し出しを促すことができる。   In the bicycle lending system according to the present embodiment, server device 4 which has received a usage fee from user 3 by lending bicycle 1 performs a process of paying a part or all of the fee to owner 2 of bicycle 1. . Thereby, the owner 2 of the bicycle 1 can receive the consideration for renting the bicycle 1. Therefore, it is possible to encourage more owners 2 to lend the bicycle 1.

本実施の形態に係る自転車貸借システムは、所有者2及び利用者3の間での自転車1の貸し借りを円滑化することができる。   The bicycle lending system according to the present embodiment can facilitate lending and borrowing of the bicycle 1 between the owner 2 and the user 3.

なお本実施の形態においては、所有者2及び利用者3が使用する通信端末装置をスマホ5,6としたが、これに限るものではなく、例えば携帯電話機、タブレット型端末装置又はノート型パソコン(パーソナルコンピュータ)等の種々の機器であってよい。また本実施の形態においてサーバ装置4は1つの装置としたが、これに限るものではなく、複数の装置の協働によりサーバ装置4の機能が実現される構成であってよい。またビーコン7がBluetoothの通信規格により無線信号の送信を行う構成としたが、これに限るものではなく、例えばiBeacon(登録商標)、Linking(登録商標)又はEddystone(登録商標)等の他の通信規格に基づく無線信号の送信を行う構成であってよい。   In the present embodiment, the communication terminal devices used by the owner 2 and the user 3 are the smartphones 5 and 6. However, the present invention is not limited to this. For example, the mobile terminal, the tablet terminal device, or the notebook personal computer ( Various devices such as a personal computer) may be used. Further, in the present embodiment, the server device 4 is a single device. However, the present invention is not limited to this, and a configuration in which the function of the server device 4 is realized by cooperation of a plurality of devices may be employed. In addition, the beacon 7 transmits wireless signals according to the Bluetooth communication standard. However, the present invention is not limited to this. For example, other communication such as iBeacon (registered trademark), Linking (registered trademark), or Eddystone (registered trademark) may be used. A configuration for transmitting a wireless signal based on a standard may be used.

また自転車1に自転車識別情報をQRコード8として付す構成としたが、これに限るものではなく、例えば1次元のバーコードを用いてもよい。また例えば、自転車識別情報を複数桁の文字及び数字の組み合わせとし、この文字列又は数字列を印刷したシールなどを自転車1に貼りつけてもよく、この場合にスマホ6はソフトウェアキーボードなどを用いた文字又は数字の入力を利用者3から受け付けることによって、自転車識別情報を取得する。また例えば、自転車識別情報を記憶したICタグなどを自転車1に取り付け、スマホ6がICタグとの間でNFC(Near Field Communication)などの通信規格に基づく通信を行って自転車識別情報を取得する構成としてもよい。   In addition, although the bicycle identification information is attached to the bicycle 1 as the QR code 8, the invention is not limited to this. For example, a one-dimensional bar code may be used. In addition, for example, the bicycle identification information may be a combination of a plurality of characters and numbers, and a sticker or the like on which the character string or the number string is printed may be attached to the bicycle 1. In this case, the smartphone 6 uses a software keyboard or the like. Bicycle identification information is acquired by accepting input of letters or numbers from the user 3. Further, for example, a configuration in which an IC tag or the like storing the bicycle identification information is attached to the bicycle 1, and the smartphone 6 performs communication based on a communication standard such as NFC (Near Field Communication) with the IC tag to acquire the bicycle identification information. It may be.

また自転車貸借システムは、以下の変形例に示すような更なる機能を備えてもよい。   Further, the bicycle lending system may have further functions as shown in the following modified examples.

(変形例1)
変形例1に係る自転車貸借システムでは、自転車1の所有者2がスマホ5にて貸出許可の操作を行い、スマホ5が貸出許可の通知をサーバ装置4へ送信する際に、スマホ5の位置情報をサーバ装置4へ送信する。サーバ装置4は、貸出許可と共にスマホ5から受信した位置情報を、貸出可能な自転車1の位置情報として記憶する。サーバ装置4は、貸出可能な複数の自転車1の位置情報を収集し、この情報を利用者3のスマホ6に対して送信する。スマホ6は、例えば自身の位置情報を取得し、周辺の地図などを表示部63に表示すると共に、この地図上に貸出可能な自転車1の位置を表示する。これにより利用者3は、周囲に貸し出されている自転車1が存在するか否かを容易に確認することが可能となる。
(Modification 1)
In the bicycle lending system according to the first modification, when the owner 2 of the bicycle 1 performs a lending permission operation with the smartphone 5 and the smartphone 5 transmits a notification of the lending permission to the server device 4, the position information of the smartphone 5 is transmitted. Is transmitted to the server device 4. The server device 4 stores the position information received from the smartphone 5 together with the lending permission as the position information of the rentable bicycle 1. The server device 4 collects the position information of the plurality of rentable bicycles 1 and transmits this information to the smartphone 6 of the user 3. The smartphone 6 obtains, for example, its own position information, displays a map of the surrounding area on the display unit 63, and displays the position of the rentable bicycle 1 on this map. As a result, the user 3 can easily confirm whether or not the rented bicycle 1 exists.

(変形例2)
変形例2に係る自転車貸借システムでは、自転車1が利用者3に対して貸し出された際に、サーバ装置4は、この自転車1の所有者2のスマホ5に対して貸し出しが行われた旨の通知を送信する。所有者2は、スマホ5を利用してサーバ装置4に対して自転車1の利用に関する履歴情報の送信を要求することができる。この要求に応じてサーバ装置4は、記憶部42の利用履歴DB42cから自転車1の位置情報及び時刻情報等を取得してスマホ5へ送信する。サーバ装置4から自転車1の履歴に関する情報を受信したスマホ5は、例えば表示部53に地図を表示すると共に、この地図上に自転車1の移動の軌跡を表示する。これにより所有者2は、自身の自転車1が貸し出されているか否か、及び、貸し出されている場合にはその位置等を把握することができる。
(Modification 2)
In the bicycle lending system according to the second modification, when the bicycle 1 is lent to the user 3, the server device 4 informs that the rental has been performed to the smartphone 5 of the owner 2 of the bicycle 1. Send notifications. The owner 2 can use the smartphone 5 to request the server device 4 to transmit history information relating to the use of the bicycle 1. In response to the request, the server device 4 acquires the position information and the time information of the bicycle 1 from the use history DB 42c of the storage unit 42 and transmits the information to the smartphone 5. The smartphone 5 that has received the information on the history of the bicycle 1 from the server device 4 displays, for example, a map on the display unit 53, and displays the locus of the movement of the bicycle 1 on this map. Thus, the owner 2 can grasp whether or not his / her bicycle 1 is rented, and if rented, the position and the like.

(変形例3)
変形例3に係る自転車貸借システムでは、自転車1の貸し借りの終了後に、所有者2及び利用者3がお互いに評価を行う。自転車1を借用した利用者3は、例えば利用料金の請求情報に対する支払いの承認の操作を行った後、自転車1及び所有者2に対する評価を行うことができる。利用者3のスマホ6は、支払い承認の操作を受け付けた後に、自転車1及び所有者2を評価するため画面を表示部63に表示し、操作部64にて評価の操作を受け付け、受け付けた評価の情報をサーバ装置4へ送信する。また、自転車1を貸し出した所有者2は、例えば貸出終了の操作を行った後、利用者3に対する評価を行うことができる。所有者2のスマホ5は、貸出終了の操作を受け付けた後に、自転車1を利用した利用者3を評価するための画面を表示部53に表示し、操作部54にて評価の操作を受け付けて、受け付けた評価の情報をサーバ装置4へ送信する。サーバ装置4は、所有者DB42aに所有者2の評価を記憶し、利用者DB42bに利用者3の評価を記憶している。サーバ装置4は、スマホ5,6からの評価情報を受信し、記憶している所有者2又は利用者3の評価を更新する。
(Modification 3)
In the bicycle lending system according to the third modification, the owner 2 and the user 3 evaluate each other after the lending and borrowing of the bicycle 1 is completed. The user 3 who has borrowed the bicycle 1 can evaluate the bicycle 1 and the owner 2 after, for example, performing an operation of approving payment for the billing information of the usage fee. After accepting the payment approval operation, the smartphone 6 of the user 3 displays a screen for evaluating the bicycle 1 and the owner 2 on the display unit 63, accepts the evaluation operation at the operation unit 64, and accepts the accepted evaluation. Is transmitted to the server device 4. The owner 2 who has lent the bicycle 1 can evaluate the user 3 after performing, for example, an operation of ending the lending. After receiving the operation of terminating the lending, the smartphone 5 of the owner 2 displays a screen for evaluating the user 3 who has used the bicycle 1 on the display unit 53, and accepts the evaluation operation with the operation unit 54. Then, the received evaluation information is transmitted to the server device 4. The server device 4 stores the evaluation of the owner 2 in the owner DB 42a, and stores the evaluation of the user 3 in the user DB 42b. The server device 4 receives the evaluation information from the smartphones 5 and 6 and updates the stored evaluation of the owner 2 or the user 3.

自転車1の所有者2は、自転車1の利用条件として、利用者3の評価を含めることができる。例えば利用者3の評価が5段階で与えられる場合、所有者2は評価3以上の高評価が与えられている利用者3にのみ自転車1を貸し出すことを利用条件とすることができる。また自転車1を借用する利用者3は、サーバ装置4から自転車情報をスマホ6にて確認する際に、この自転車1及び所有者2の評価をサーバ装置4から取得して確認することができる。   The owner 2 of the bicycle 1 can include the evaluation of the user 3 as a use condition of the bicycle 1. For example, when the evaluation of the user 3 is given in five levels, the owner 2 can use the bicycle 1 only for the user 3 who has been given a high evaluation of 3 or more. When the user 3 who borrows the bicycle 1 checks the bicycle information from the server device 4 with the smartphone 6, the user 3 can obtain the evaluation of the bicycle 1 and the owner 2 from the server device 4 and can confirm it.

(変形例4)
変形例4に係る自転車貸借システムでは、自転車1の不正利用が行われた場合に、この旨を周囲に通知する。例えば利用者3が利用条件と指定設定された貸出可能な時間帯を過ぎても自転車1を利用し続けている場合、利用者3のスマホ6は、第2通信部67にて無線信号の送信を周期的に行うことによって、不正利用を周囲へ通知する。利用者3のスマホ6は、自転車1の借用開始後にビーコン7からの無線信号を受信した場合に、ビーコン識別情報及び位置情報をサーバ装置4へ送信している。サーバ装置4は、スマホ6からビーコン識別情報及び位置情報を受信した際、この自転車1の貸出可能な時間帯を過ぎていると判断した場合、スマホ6に対して不正利用を警告するメッセージを送信する。この警告メッセージを受信したスマホ6は、表示部63に不正利用を警告するメッセージを表示すると共に、第2通信部67にて自転車1の不正利用を通知する無線信号を周期的に送信する。
(Modification 4)
In the bicycle lending system according to the fourth modification, when the bicycle 1 is illegally used, this fact is notified to the surroundings. For example, when the user 3 continues to use the bicycle 1 even after the rentable time zone designated as the use condition is set, the smartphone 6 of the user 3 transmits a wireless signal using the second communication unit 67. Is performed periodically to notify the surroundings of unauthorized use. The smartphone 6 of the user 3 transmits beacon identification information and position information to the server device 4 when receiving a wireless signal from the beacon 7 after starting borrowing the bicycle 1. When the server device 4 receives the beacon identification information and the position information from the smartphone 6 and determines that the time period in which the bicycle 1 can be rented has passed, the server device 4 transmits a message warning the unauthorized use to the smartphone 6. I do. The smartphone 6 that has received the warning message displays a message warning of unauthorized use on the display unit 63 and periodically transmits a wireless signal notifying the unauthorized use of the bicycle 1 through the second communication unit 67.

スマホ6が周期的に送信する不正利用通知の無線信号は、周囲の他人が所持するスマホなどにて受信され得る。この無線信号を受信したスマホなどは、周囲に不正利用された自転車1が存在する旨を報せるメッセージ表示などを行う。これにより、自転車1の不正利用を第3者に報せることができると共に、このような仕組みを設けることで自転車1の不正利用を抑制することができる。   The wireless signal of the unauthorized use notification periodically transmitted by the smartphone 6 can be received by a smartphone or the like owned by another person in the vicinity. The smartphone or the like that has received the wireless signal displays a message or the like that informs that the illegally used bicycle 1 is present in the vicinity. Thus, the unauthorized use of the bicycle 1 can be notified to a third party, and by providing such a mechanism, the unauthorized use of the bicycle 1 can be suppressed.

今回開示された実施形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time is an example in all points, and should be considered as not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

1 自転車
2 所有者
3 利用者
4 サーバ装置
5 スマホ(通信端末装置)
6 スマホ(通信端末装置)
7 ビーコン
8 QRコード
41 処理部
41a 登録処理部
41b 貸出許可受付部
41c 貸出処理部
41d 履歴処理部
41e 返却処理部
41f 決済処理部
42 記憶部
42a 所有者DB
42b 利用者DB
42c 利用履歴DB
42d サーバプログラム
43 通信部
51 処理部
51a 登録処理部
51b 貸出許可処理部
52 記憶部
52a アプリ(端末プログラム)
53 表示部
54 操作部
55 カメラ
56 第1通信部(通信部)
57 第2通信部(受信部)
58 GPS受信部
61 処理部
61a 登録処理部
61b ビーコン処理部
61c QR処理部
61d 借用開始処理部
61e 履歴送信部
61f 借用終了処理部
62 記憶部
62a アプリ(端末プログラム)
63 表示部
64 操作部
65 カメラ
66 第1通信部(通信部)
67 第2通信部(受信部)
68 GPS受信部
99 記録媒体
NW ネットワーク
1 Bicycle 2 Owner 3 User 4 Server device 5 Smartphone (communication terminal device)
6. Smartphone (communication terminal device)
7 beacon 8 QR code 41 processing unit 41a registration processing unit 41b lending permission receiving unit 41c lending processing unit 41d history processing unit 41e return processing unit 41f settlement processing unit 42 storage unit 42a owner DB
42b User DB
42c Usage history DB
42d server program 43 communication unit 51 processing unit 51a registration processing unit 51b lending permission processing unit 52 storage unit 52a application (terminal program)
53 display unit 54 operation unit 55 camera 56 first communication unit (communication unit)
57 Second Communication Unit (Reception Unit)
58 GPS receiving unit 61 processing unit 61a registration processing unit 61b beacon processing unit 61c QR processing unit 61d borrowing start processing unit 61e history transmission unit 61f borrowing end processing unit 62 storage unit 62a application (terminal program)
63 display unit 64 operation unit 65 camera 66 first communication unit (communication unit)
67 Second communication unit (receiving unit)
68 GPS receiver 99 Recording medium NW network

Claims (11)

ビーコンが発する信号を受信する受信部、及び、サーバ装置との間で通信を行う通信部を有する通信端末装置に、
自転車に取り付けられたビーコンから前記受信部が受信した信号に含まれるビーコン識別情報を取得し、
取得した前記ビーコン識別情報を前記サーバ装置へ送信し、
前記サーバ装置から前記ビーコン識別情報に対応する自転車情報を受信し、
受信した前記自転車情報に係る前記自転車の借用開始情報を前記サーバ装置へ送信する
処理を行わせる端末プログラム。
A receiving unit that receives a signal emitted by a beacon, and a communication terminal device having a communication unit that performs communication with a server device,
Obtain beacon identification information included in the signal received by the receiving unit from the beacon attached to the bicycle,
Transmitting the obtained beacon identification information to the server device,
Bicycle information corresponding to the beacon identification information is received from the server device,
A terminal program for performing a process of transmitting the bicycle borrowing start information relating to the received bicycle information to the server device.
前記通信端末装置に、
前記自転車に付された自転車識別情報を取得し、
取得した自転車識別情報を前記サーバ装置へ送信する
処理を行わせる請求項1に記載の端末プログラム。
In the communication terminal device,
Obtain bicycle identification information attached to the bicycle,
The terminal program according to claim 1, wherein the terminal program performs a process of transmitting the acquired bicycle identification information to the server device.
前記通信端末装置に、
前記サーバ装置から前記自転車識別情報に対応する利用条件情報を受信し、
受信した利用条件情報を表示する
処理を行わせる請求項2に記載の端末プログラム。
In the communication terminal device,
Receiving usage condition information corresponding to the bicycle identification information from the server device,
The terminal program according to claim 2, wherein the terminal program causes a process to display the received use condition information.
前記通信端末装置に、
前記借用開始情報を前記サーバ装置へ送信した後に、
前記通信端末装置の位置情報を取得し、
前記ビーコン識別情報を取得し、
取得した位置情報、及び、取得した前記ビーコン識別情報を前記サーバ装置へ送信する
処理を行わせる請求項1乃至請求項3のいずれか1つに記載の端末プログラム。
In the communication terminal device,
After transmitting the borrowing start information to the server device,
Obtaining location information of the communication terminal device,
Acquiring the beacon identification information,
The terminal program according to any one of claims 1 to 3, wherein the terminal program causes a process to transmit the acquired location information and the acquired beacon identification information to the server device.
前記通信端末装置に、
前記通信端末装置の位置情報を取得し、
取得した位置情報、及び、前記自転車の借用終了情報を前記サーバ装置へ送信し、
前記自転車の借用に係る料金を支払う
処理を行わせる請求項1乃至請求項4のいずれか1つに記載の端末プログラム。
In the communication terminal device,
Obtaining location information of the communication terminal device,
Transmitting the acquired position information and the borrowing end information of the bicycle to the server device,
The terminal program according to any one of claims 1 to 4, wherein the terminal program executes a process of paying a fee for borrowing the bicycle.
通信端末装置との間で通信を行う通信部を有するサーバ装置に、
自転車に係る自転車情報及び前記自転車に取り付けられたビーコンのビーコン識別情報を対応付けて記憶し、
前記自転車に取り付けられた前記ビーコンが発する信号を受信した前記通信端末装置から送信されるビーコン識別情報を受信し、
受信した前記ビーコン識別情報に対応付けて記憶された前記自転車情報を前記通信端末装置へ送信する
処理を行わせるサーバプログラム。
A server device having a communication unit that performs communication with a communication terminal device,
Bicycle information relating to the bicycle and beacon identification information of a beacon attached to the bicycle are stored in association with each other,
Receiving beacon identification information transmitted from the communication terminal device that has received a signal emitted by the beacon attached to the bicycle,
A server program for performing a process of transmitting the bicycle information stored in association with the received beacon identification information to the communication terminal device.
前記サーバ装置に、
前記自転車情報及び前記ビーコン識別情報に対応付けて、前記自転車に付された自転車識別情報及び前記自転車の利用条件情報を記憶し、
前記通信端末装置から前記自転車識別情報を受信し、
受信した前記自転車識別情報に対応付けて記憶された前記利用条件情報を前記通信端末装置へ送信する
処理を行わせる請求項6に記載のサーバプログラム。
In the server device,
In correspondence with the bicycle information and the beacon identification information, storing bicycle identification information attached to the bicycle and usage condition information of the bicycle,
Receiving the bicycle identification information from the communication terminal device,
The server program according to claim 6, wherein the server program causes the communication terminal device to transmit the use condition information stored in association with the received bicycle identification information.
前記サーバ装置に、
前記通信端末装置から前記自転車の借用開始情報を受信し、
前記通信端末装置から位置情報及び前記ビーコン識別情報を受信し、
受信した前記位置情報を記憶する
処理を行わせる請求項6又は請求項7に記載のサーバプログラム。
In the server device,
Receiving the borrowing start information of the bicycle from the communication terminal device,
Receiving the position information and the beacon identification information from the communication terminal device,
The server program according to claim 6, wherein the server program causes a process of storing the received position information to be performed.
前記サーバ装置に、
前記通信端末装置から前記自転車の借用終了情報を受信し、
前記自転車の借用に係る料金を算出する
処理を行わせる請求項6乃至請求項8のいずれか1つに記載のサーバプログラム。
In the server device,
Receiving the borrowing end information of the bicycle from the communication terminal device,
The server program according to any one of claims 6 to 8, wherein the server program performs a process of calculating a fee for borrowing the bicycle.
前記サーバ装置に、
受け取った前記料金の一部を、前記自転車の所有者に支払う
処理を行わせる請求項9に記載のサーバプログラム。
In the server device,
The server program according to claim 9, wherein the server program causes a part of the received fee to be paid to an owner of the bicycle.
自転車に係る自転車情報、及び、前記自転車に取り付けられたビーコンのビーコン識別情報を対応付けて記憶し、
前記ビーコンが発する信号を受信した通信端末装置から送信されるビーコン識別情報を受信し、
受信した前記ビーコン識別情報に対応付けて記憶された前記自転車情報を前記通信端末装置へ送信し、
前記自転車情報を受信した前記通信端末装置から送信される借用開始情報を受信する、自転車貸借方法。
Bicycle information relating to the bicycle, and beacon identification information of a beacon attached to the bicycle are stored in association with each other,
Receiving beacon identification information transmitted from the communication terminal device that has received the signal emitted by the beacon,
Transmitting the bicycle information stored in association with the received beacon identification information to the communication terminal device;
A bicycle lending method, comprising: receiving borrowing start information transmitted from the communication terminal device that has received the bicycle information.
JP2018121223A 2018-06-26 2018-06-26 Terminal program, server program and bicycle borrowing and lending method Pending JP2020003949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018121223A JP2020003949A (en) 2018-06-26 2018-06-26 Terminal program, server program and bicycle borrowing and lending method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018121223A JP2020003949A (en) 2018-06-26 2018-06-26 Terminal program, server program and bicycle borrowing and lending method

Publications (1)

Publication Number Publication Date
JP2020003949A true JP2020003949A (en) 2020-01-09

Family

ID=69099939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018121223A Pending JP2020003949A (en) 2018-06-26 2018-06-26 Terminal program, server program and bicycle borrowing and lending method

Country Status (1)

Country Link
JP (1) JP2020003949A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021163327A (en) * 2020-04-01 2021-10-11 新吾 高橋 Bicycle management device, bicycle management method and bicycle management system
JP2022007414A (en) * 2020-06-26 2022-01-13 株式会社シーネット Lock management system of storage and warehouse management system
WO2024070363A1 (en) * 2022-09-29 2024-04-04 本田技研工業株式会社 Battery holder, mobile body providing system, and mobile body providing method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010055583A (en) * 2008-08-26 2010-03-11 Japan Patent Research Associates Rental cycle system for managing vehicle such as bicycle, electric motor-equipped bicycle or motorcycle attached with two-dimensional bar code by bar code reader and portable telephone equipped with gps function capable of using map information
JP2011248813A (en) * 2010-05-31 2011-12-08 Technocraft Co Ltd Rental cycle system
KR20150030133A (en) * 2013-09-09 2015-03-19 주식회사 만도 Bicycle rental system and the method thereof
JP2015153217A (en) * 2014-02-17 2015-08-24 アプリックスIpホールディングス株式会社 Parking lot management system and parking lot management method
US20170120978A1 (en) * 2015-10-29 2017-05-04 Industrial Bank Of Korea Two-wheeled vehicle history and loss management method using ble and wireless communication and system therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010055583A (en) * 2008-08-26 2010-03-11 Japan Patent Research Associates Rental cycle system for managing vehicle such as bicycle, electric motor-equipped bicycle or motorcycle attached with two-dimensional bar code by bar code reader and portable telephone equipped with gps function capable of using map information
JP2011248813A (en) * 2010-05-31 2011-12-08 Technocraft Co Ltd Rental cycle system
KR20150030133A (en) * 2013-09-09 2015-03-19 주식회사 만도 Bicycle rental system and the method thereof
JP2015153217A (en) * 2014-02-17 2015-08-24 アプリックスIpホールディングス株式会社 Parking lot management system and parking lot management method
US20170120978A1 (en) * 2015-10-29 2017-05-04 Industrial Bank Of Korea Two-wheeled vehicle history and loss management method using ble and wireless communication and system therefor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021163327A (en) * 2020-04-01 2021-10-11 新吾 高橋 Bicycle management device, bicycle management method and bicycle management system
JP2022007414A (en) * 2020-06-26 2022-01-13 株式会社シーネット Lock management system of storage and warehouse management system
JP7153689B2 (en) 2020-06-26 2022-10-14 株式会社シーネット Storage lock management system and warehouse management system
JP7153689B6 (en) 2020-06-26 2022-11-07 株式会社シーネット Storage lock management system and warehouse management system
WO2024070363A1 (en) * 2022-09-29 2024-04-04 本田技研工業株式会社 Battery holder, mobile body providing system, and mobile body providing method

Similar Documents

Publication Publication Date Title
JP6557791B2 (en) Settlement system, settlement method, and program
JP5475042B2 (en) Bicycle share system
US9123034B2 (en) Methods and systems for electronic payment for parking using autonomous position sensing
US11989985B2 (en) Electronic trolley lock system
US9875590B2 (en) Automated entry
JP5605512B2 (en) Information management apparatus, network system, information management program, and information management method
US20070057817A1 (en) Systems and methods for locating a parked vehicle
JP2017182482A (en) On-line rental system, and on-line rental method
US20170161979A1 (en) Automated entry
JP2020003949A (en) Terminal program, server program and bicycle borrowing and lending method
US10825277B2 (en) Locking system for exchange of items, services, and/or facilities
US11443574B2 (en) Locking system for exchange of items, services, and/or facilities
JP2004252809A (en) Method and system for guiding parking position in large parking lot
US10339750B1 (en) Locking system for exchange of items, services, and/or facilities
JP2020087425A (en) Service provision system pseudo-compatible with electronic settlement
JP6655119B2 (en) Mobile terminal device, parking management system, parking management method, and program
KR101740475B1 (en) Parking management method and system using location information
JP2019061441A (en) Baggage storage service management system and baggage storage service management method
EP3321874A1 (en) System and method for processing a rental of a secured asset
WO2017149777A1 (en) Space lending system, space lending method, and program
US20230005313A1 (en) Locking system for exchange of items, services, and/or facilities
JP6741374B2 (en) Online rental system and online rental method
JP2006163921A (en) Vehicle management system and method, and vehicle-managing program
JP2001195477A (en) Information processor, information processing method, information processing system and providing medium
JP6968927B2 (en) Bicycle management device, bicycle management method and bicycle management system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210315

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220125

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220712