JP6836374B2 - Relay device and program - Google Patents

Relay device and program Download PDF

Info

Publication number
JP6836374B2
JP6836374B2 JP2016224020A JP2016224020A JP6836374B2 JP 6836374 B2 JP6836374 B2 JP 6836374B2 JP 2016224020 A JP2016224020 A JP 2016224020A JP 2016224020 A JP2016224020 A JP 2016224020A JP 6836374 B2 JP6836374 B2 JP 6836374B2
Authority
JP
Japan
Prior art keywords
base station
unit
acquired
relay device
period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016224020A
Other languages
Japanese (ja)
Other versions
JP2018082334A (en
Inventor
平塚 浩二
浩二 平塚
真二 竹田
真二 竹田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Docomo Inc
Original Assignee
NTT Docomo 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 NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2016224020A priority Critical patent/JP6836374B2/en
Publication of JP2018082334A publication Critical patent/JP2018082334A/en
Application granted granted Critical
Publication of JP6836374B2 publication Critical patent/JP6836374B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、使用できる場所を制限した中継装置に関する。 The present invention relates to a relay device that limits the places where it can be used.

無線通信を行うことが許可されている場所に通信機器が置かれているかどうかを、その通信機器が基地局から受信した信号に基づいて判定する技術が、従来から提案されている。特許文献1には、無線中継装置が、初期動作において登録した領域識別情報とは異なる領域識別情報を取得した場合に、外部の携帯端末から位置情報を取得して、実際の移動の有無を判定することが記載されている。特許文献2には、予め電子機器の使用範囲の設定に用いる基地局を決めておき、電子機器が1又は複数の基地局から受信した電波強度、及び位置情報に基づいて、その電子機器が使用範囲内にあるかどうかを判定することが記載されている。特許文献3には、基地局を用いた三角測量により、携帯型PCが非警戒領域内にあるかどうかを判定し、非警戒領域外にあると判定した場合は使用者認証を行うことが記載されている。特許文献4には、情報処理装置が、基地局にダイヤルアップ接続した後に、その基地局の無線サービスエリアから外れた場合には、強制ログオフすることが記載されている。 Conventionally, a technique has been proposed in which whether or not a communication device is placed in a place where wireless communication is permitted is determined based on a signal received from the base station by the communication device. According to Patent Document 1, when the wireless relay device acquires area identification information different from the area identification information registered in the initial operation, it acquires position information from an external mobile terminal and determines whether or not there is an actual movement. It is stated that it should be done. In Patent Document 2, a base station to be used for setting the range of use of an electronic device is determined in advance, and the electronic device is used based on the radio field strength and position information received from one or a plurality of base stations. It is stated to determine if it is within range. Patent Document 3 describes that it is determined whether or not the portable PC is in the non-warning area by triangulation using a base station, and if it is determined that the portable PC is outside the non-warning area, user authentication is performed. Has been done. Patent Document 4 describes that the information processing apparatus is forced to log off when it goes out of the wireless service area of the base station after dial-up connection to the base station.

特開2014−187595号公報Japanese Unexamined Patent Publication No. 2014-187595 特開2014−33293号公報Japanese Unexamined Patent Publication No. 2014-33293 特開2008−131302号公報Japanese Unexamined Patent Publication No. 2008-131302 特開2007−88624号公報JP-A-2007-88624

しかし、基地局によって送信されるその基地局に固有の識別子(以下「基地局ID」という。)のうち、通信機器が受信する基地局IDは、その通信機器の移動だけでなく、基地局IDの更新(例えば、収容替え)により変化することもある。よって、事前に決めておいた基地局IDと、実際に基地局から取得した基地局IDとの異同に基づいて、移動の有無を判定するだけでは、実際に通信機器が移動したかどうかを正確に判定することは難しい。特許文献1には、移動によって基地局IDが変化したのか、更新によって基地局IDが変化したのかを判別する仕組みについて記載されている。しかし、この仕組みでは、基地局からの信号以外に、近くに存在する携帯端末から位置情報を取得して、実際の移動の有無を判別しなければならない。特許文献2〜4には、基地局IDが変化した原因を判別することについて記載されていない。
これに対し、本発明は、基地局から取得した識別子に基づいて、中継装置が所定の場所に存在することを条件として中継処理を行うための技術を提供することを目的とする。
However, among the identifiers unique to the base station transmitted by the base station (hereinafter referred to as "base station ID"), the base station ID received by the communication device is not only the movement of the communication device but also the base station ID. It may change due to renewal (for example, replacement of accommodation). Therefore, it is accurate to determine whether or not the communication device has actually moved by simply determining the presence or absence of movement based on the difference between the base station ID determined in advance and the base station ID actually obtained from the base station. It is difficult to judge. Patent Document 1 describes a mechanism for determining whether the base station ID has changed due to movement or the base station ID has changed due to update. However, in this mechanism, in addition to the signal from the base station, it is necessary to acquire the position information from the mobile terminal existing nearby to determine the presence or absence of the actual movement. Patent Documents 2 to 4 do not describe determining the cause of the change in the base station ID.
On the other hand, an object of the present invention is to provide a technique for performing relay processing on the condition that a relay device exists at a predetermined location based on an identifier obtained from a base station.

上述した課題を解決するため、本発明の中継装置は、複数の基地局を含む移動通信網と通信する第1通信部と、外部の無線通信端末と通信する第2通信部と、前記複数の基地局の各々により送信される識別子のうち、前記第1通信部によって受信された識別子を取得する取得部と、前記取得部が取得した前記識別子に基づいて、前記無線通信端末と前記移動通信網との間で行われる通信を中継する中継処理を停止させる停止制御部とを備える。 In order to solve the above-mentioned problems, the relay device of the present invention includes a first communication unit that communicates with a mobile communication network including a plurality of base stations, a second communication unit that communicates with an external wireless communication terminal, and a plurality of the above-mentioned relay devices. Among the identifiers transmitted by each of the base stations, the wireless communication terminal and the mobile communication network are based on the acquisition unit that acquires the identifier received by the first communication unit and the identifier acquired by the acquisition unit. It is provided with a stop control unit for stopping the relay process of relaying the communication performed with and from.

本発明の中継装置において、前記停止制御部は、所定の第1期間内に取得された前記識別子の数が閾値を超えた場合に、前記中継処理を停止させてもよい。
この場合において、前記停止制御部は、前記第1通信部を介して接続した1以上の基地局から取得した前記識別子の数が、前記閾値を超えた場合に、前記中継処理を停止させてもよい。
また、前記停止制御部は、前記第1通信部を介して接続中でない基地局を含む1以上の基地局から取得した前記識別子の数が、前記閾値を超えた場合に、前記中継処理を停止させてもよい。
更に、本発明の中継装置において、前記第1通信部を介して接続した1以上の基地局から取得した前記識別子の数に基づいて、前記閾値を設定する設定部を備えてもよい。
また、前記第1通信部を介して接続中でない基地局を含む1以上の基地局から取得した前記識別子の数に基づいて、前記閾値を設定する設定部を備えてもよい。
In the relay device of the present invention, the stop control unit may stop the relay process when the number of the identifiers acquired within a predetermined first period exceeds the threshold value.
In this case, the stop control unit may stop the relay process when the number of the identifiers acquired from one or more base stations connected via the first communication unit exceeds the threshold value. Good.
Further, the stop control unit stops the relay process when the number of the identifiers acquired from one or more base stations including the base station not connected via the first communication unit exceeds the threshold value. You may let me.
Further, the relay device of the present invention may include a setting unit that sets the threshold value based on the number of the identifiers acquired from one or more base stations connected via the first communication unit.
In addition, a setting unit that sets the threshold value may be provided based on the number of the identifiers acquired from one or more base stations including the base station that is not connected via the first communication unit.

本発明の中継装置において、前記識別子が取得されたときの自中継装置の位置を特定する位置特定部を備え、前記設定部は、前記位置特定部が特定した位置が変化していない期間に取得された前記識別子に基づいて、前記閾値を設定してもよい。 The relay device of the present invention includes a position specifying unit that specifies the position of the self-relaying device when the identifier is acquired, and the setting unit acquires the position during a period in which the position specified by the position specifying unit does not change. The threshold value may be set based on the given identifier.

本発明の中継装置において、前記設定部は、前記第1の期間を複数の単位期間に区分し、当該複数の単位期間のうち、一の単位期間に取得された前記識別子の数が、他の単位期間に取得された前記識別子の数に対して所定の基準以上に乖離する場合には、当該一の単位期間における前記識別子の取得結果を用いないで、前記閾値を設定してもよい。 In the relay device of the present invention, the setting unit divides the first period into a plurality of unit periods, and the number of the identifiers acquired in one unit period among the plurality of unit periods is the number of other identifiers. When the number of the identifiers acquired in the unit period deviates from a predetermined standard or more, the threshold value may be set without using the acquisition result of the identifiers in the one unit period.

本発明の中継装置において、前記停止制御部は、前記取得部が取得した前記識別子の時間的な変化に基づいて、前記中継処理を停止させてもよい。
この場合において、前記停止制御部は、前記取得部が新たに第1識別子を取得した場合に、所定の第2期間を開始させ、当該第2期間内に、前記取得部が前記第1識別子とは異なる第2識別子を新たに取得したときは、前記中継処理を停止させてもよい。
また、前記停止制御部は、前記第2期間内に前記中継処理を停止させなかった場合には、その後は、前記第1識別子とは異なる第3識別子が取得されたときに、前記第2期間を開始させてもよい。
更に、前記停止制御部は、前記第1識別子、前記第2識別子又は前記第3識別子を含む無線信号のレベルの変化に基づいて、前記中継処理を停止させてもよい。
更に、前記停止制御部は、前記取得部が取得する2以上の前記識別子が一斉に変化した場合には、前記中継処理を停止させなくてもよい。
更に、前記停止制御部は、前記取得部が取得した前記識別子の数が閾値を超えた場合に、前記識別子の時間的な変化に基づいて前記中継処理を停止させてもよい。
てもよい。
In the relay device of the present invention, the stop control unit may stop the relay process based on the temporal change of the identifier acquired by the acquisition unit.
In this case, the stop control unit starts a predetermined second period when the acquisition unit newly acquires the first identifier, and within the second period, the acquisition unit becomes the first identifier. When newly acquiring a different second identifier, the relay process may be stopped.
Further, if the stop control unit does not stop the relay process within the second period, then when a third identifier different from the first identifier is acquired, the second period May be started.
Further, the stop control unit may stop the relay process based on a change in the level of the radio signal including the first identifier, the second identifier, or the third identifier.
Further, the stop control unit does not have to stop the relay process when the two or more identifiers acquired by the acquisition unit change all at once.
Further, the stop control unit may stop the relay process based on the temporal change of the identifier when the number of the identifiers acquired by the acquisition unit exceeds the threshold value.
You may.

本発明のプログラムは、複数の基地局を含む移動通信網と通信する第1通信部と、外部の無線通信端末と通信する第2通信部と、を備える中継装置のコンピュータに、前記複数の基地局の各々により送信される識別子のうち、前記第1通信部によって受信された識別子を取得するステップと、取得した前記識別子に基づいて、前記無線通信端末と前記移動通信網との間で行われる通信を中継する中継処理を停止させるステップとを実行させるためのプログラムである。 The program of the present invention comprises a computer of a relay device including a first communication unit that communicates with a mobile communication network including a plurality of base stations and a second communication unit that communicates with an external wireless communication terminal. Among the identifiers transmitted by each of the stations, the step of acquiring the identifier received by the first communication unit and the acquisition are performed between the wireless communication terminal and the mobile communication network based on the acquired identifier. It is a program for executing a step of stopping relay processing for relaying communication.

本発明によれば、基地局から取得した識別子に基づいて、中継装置が所定の場所に存在することを条件として中継処理を行うための技術を提供することができる。 According to the present invention, it is possible to provide a technique for performing relay processing on condition that a relay device exists at a predetermined location based on an identifier obtained from a base station.

本発明の第1実施形態に係るシステムを示す図。The figure which shows the system which concerns on 1st Embodiment of this invention. 同実施形態に係る中継装置の構成を示すブロック図。The block diagram which shows the structure of the relay device which concerns on the same embodiment. 同実施形態に係るテーブルTB1の構成を示す図。The figure which shows the structure of the table TB1 which concerns on the same embodiment. 同実施形態に係る中継装置が行う(動作例1)に係る制御を示すフローチャート。The flowchart which shows the control which concerns on (operation example 1) performed by the relay device which concerns on this embodiment. 同実施形態に係る中継装置が行う(動作例1)に係る制御の一例の説明図。FIG. 5 is an explanatory diagram of an example of control according to (operation example 1) performed by the relay device according to the same embodiment. 同実施形態に係る中継装置が行う(動作例2)に係る制御を示すフローチャート。The flowchart which shows the control which concerns on (operation example 2) performed by the relay device which concerns on this embodiment. 同実施形態に係る中継装置が行う(動作例2)に係る制御の一例の説明図。FIG. 5 is an explanatory diagram of an example of control according to (operation example 2) performed by the relay device according to the same embodiment. 本発明の第2実施形態に係る中継装置の構成を示すブロック図。The block diagram which shows the structure of the relay device which concerns on 2nd Embodiment of this invention. 同実施形態に係る中継装置が行う(動作例1)に係る制御を示すフローチャート。The flowchart which shows the control which concerns on (operation example 1) performed by the relay device which concerns on the same embodiment. 同実施形態に係る中継装置が行う(動作例1)に係る制御の一例の説明図。FIG. 5 is an explanatory diagram of an example of control according to (operation example 1) performed by the relay device according to the same embodiment. 同実施形態に係る中継装置が行う(動作例2)に係る制御を示すフローチャート。The flowchart which shows the control which concerns on (operation example 2) performed by the relay device which concerns on the same embodiment. 同実施形態に係る中継装置が行う(動作例2)に係る制御の一例の説明図。FIG. 5 is an explanatory diagram of an example of control according to (operation example 2) performed by the relay device according to the same embodiment. 同実施形態に係る中継装置が行う(動作例3)に係る制御を示すフローチャート。The flowchart which shows the control which concerns on (operation example 3) performed by the relay device which concerns on the same embodiment. 同実施形態に係る中継装置が行う(動作例3)に係る制御の一例の説明図。FIG. 5 is an explanatory diagram of an example of control according to (operation example 3) performed by the relay device according to the same embodiment. 本発明の第3実施形態に係る中継装置の構成を示すブロック図。The block diagram which shows the structure of the relay device which concerns on 3rd Embodiment of this invention. 同実施形態に係る中継装置が行う制御を示すフローチャート。The flowchart which shows the control performed by the relay device which concerns on the same embodiment. 本発明の第4実施形態に係る中継装置の構成を示すブロック図。The block diagram which shows the structure of the relay device which concerns on 4th Embodiment of this invention. 同実施形態に係る中継装置が行う(動作例1)に係る制御を示すフローチャート。The flowchart which shows the control which concerns on (operation example 1) performed by the relay device which concerns on the same embodiment. 同実施形態に係る中継装置が行う(動作例1)に係る制御の一例の説明図。FIG. 5 is an explanatory diagram of an example of control according to (operation example 1) performed by the relay device according to the same embodiment. 同実施形態に係る中継装置が行う(動作例2)に係る制御を示すフローチャート。The flowchart which shows the control which concerns on (operation example 2) performed by the relay device which concerns on the same embodiment. 同実施形態に係る中継装置が行う(動作例2)に係る制御の一例の説明図。FIG. 5 is an explanatory diagram of an example of control according to (operation example 2) performed by the relay device according to the same embodiment. 同実施形態に係る中継装置が行う(動作例2)に係る制御の一例の説明図。FIG. 5 is an explanatory diagram of an example of control according to (operation example 2) performed by the relay device according to the same embodiment.

通信事業者は、LTE(Long Term Evolution)等の高速無線通信が可能なサービスを、利用者に提供する。利用者は、かかる通信サービスを利用するために、必要な設備を、当該サービスを利用する施設(例えば、自宅)に導入する。このような設備の導入前でも、利用者が通信サービスを利用できるようにするために、高速無線通信を利用するための中継装置(例えば、モバイルWi−Fiルータ)を、通信事業者が顧客に貸与する方法が考えられる。この場合、通信事業者は、利用者の自宅等の決められた場所での利用を意図して、その中継装置を顧客に貸与する。しかし、この種の中継装置は、利用者が自由に持ち運びできる程度に、軽量、且つ小型に構成されていることも多い。この場合、通信事業者の意図する場所外の場所で、この中継装置が利用されてしまう可能性がある。以下、このような目的外の利用の可能性を低くするための機能を有する中継装置について説明する。 The telecommunications carrier provides users with services capable of high-speed wireless communication such as LTE (Long Term Evolution). In order to use such a communication service, the user installs necessary equipment in a facility (for example, home) that uses the service. Even before the introduction of such equipment, in order to enable users to use communication services, telecommunications carriers provide customers with relay devices (for example, mobile Wi-Fi routers) for using high-speed wireless communication. A method of lending is conceivable. In this case, the telecommunications carrier lends the relay device to the customer with the intention of using it at a predetermined place such as the user's home. However, this type of relay device is often constructed to be lightweight and small enough to be freely carried by the user. In this case, this relay device may be used in a place other than the place intended by the telecommunications carrier. Hereinafter, a relay device having a function for reducing the possibility of such unintended use will be described.

[第1実施形態]
<構成>
図1は、第1実施形態に係るシステム1を示す図である。
システム1は、中継装置10と、無線通信端末20と、移動通信網30とを含む。中継装置10は、無線通信端末20、及び移動通信網30と無線により接続する。本実施形態において、接続とは、通信を行うための通信路(セッション)が確立した状態をいう。中継装置10は、中継処理を行う。中継処理は、無線通信端末20と移動通信網30との間で行われる通信を中継する処理である。中継処理は、無線通信端末20とのデータの送受信、及び移動通信網30とのデータの送受信等の処理を含む。無線通信端末20は、ここではスマートフォンであるが、フィーチャーフォンや、タブレット型端末等の無線通信端末であってもよい。
なお、図1には、中継装置10、及び無線通信端末20がそれぞれ1台ずつ示されているが、実際には複数台存在する。
[First Embodiment]
<Composition>
FIG. 1 is a diagram showing a system 1 according to the first embodiment.
The system 1 includes a relay device 10, a wireless communication terminal 20, and a mobile communication network 30. The relay device 10 wirelessly connects to the wireless communication terminal 20 and the mobile communication network 30. In the present embodiment, the connection means a state in which a communication path (session) for performing communication is established. The relay device 10 performs relay processing. The relay process is a process of relaying the communication performed between the wireless communication terminal 20 and the mobile communication network 30. The relay process includes processing such as transmission / reception of data with the wireless communication terminal 20 and transmission / reception of data with the mobile communication network 30. The wireless communication terminal 20 is a smartphone here, but may be a wireless communication terminal such as a feature phone or a tablet terminal.
Although FIG. 1 shows one relay device 10 and one wireless communication terminal 20, there are actually a plurality of relay devices 10.

移動通信網30は、複数の基地局を含む通信網である。移動通信網30は、例えば、LTEの規格に準拠した通信網であるが、3G等の他の規格に準拠した通信網であってもよい。図1には、移動通信網30に含まれる基地局として、基地局BS1〜BS8が示されている。基地局BSi(iは自然数)によって形成されるセルを、以下では「セルCi」と称する。セルCi内に存在する中継装置10は、基地局BSiに無線により接続して、移動通信網30と通信する。 The mobile communication network 30 is a communication network including a plurality of base stations. The mobile communication network 30 is, for example, a communication network conforming to the LTE standard, but may be a communication network conforming to another standard such as 3G. In FIG. 1, base stations BS1 to BS8 are shown as base stations included in the mobile communication network 30. The cell formed by the base station BSi (i is a natural number) is hereinafter referred to as "cell Ci". The relay device 10 existing in the cell Ci wirelessly connects to the base station BSi and communicates with the mobile communication network 30.

また、複数のセルCiが重なり合う領域も存在する。図1の例では、利用者の自宅Hは、セルC1,C2,C3が重なり合う領域に存在する。この領域に存在する中継装置10は、基地局BS1,BS2,BS3のうちのいずれか1の基地局と接続して、通信を行う。中継装置10は、例えば、基地局から受信した無線信号のレベル(例えば、受信電界強度)が最大の基地局と接続する。中継装置10が接続する基地局は、その中継装置10の位置が固定されている場合でも、無線信号のレベルの変化等を原因として、変化することがある。
本実施形態では、中継装置10は、自宅Hで使用させることを目的として、通信事業者から利用者に貸与される中継装置である。
There is also a region where a plurality of cells Ci overlap. In the example of FIG. 1, the user's home H exists in an area where cells C1, C2, and C3 overlap. The relay device 10 existing in this area connects to the base station of any one of the base stations BS1, BS2, and BS3 to perform communication. The relay device 10 connects to, for example, the base station having the maximum level of the radio signal received from the base station (for example, the received electric field strength). Even if the position of the relay device 10 is fixed, the base station to which the relay device 10 is connected may change due to a change in the level of the radio signal or the like.
In the present embodiment, the relay device 10 is a relay device lent to the user by the telecommunications carrier for the purpose of being used at home H.

図2は、中継装置10の構成を示すブロック図である。
中継装置10は、ハードウェア構成として、制御部11と、第1通信部12と、第2通信部13と、記憶部14と、操作部15とを備える。
制御部11は、中継装置10の各部を制御する。制御部11は、例えば、演算処理装置としてのCPU(Central Processing Unit)、ROM(Read Only Memory)、及びワークエリアとしてのRAM(Random Access Memory)を含む。CPUは、ROM又は記憶部14に記憶されたプログラムを、RAMに読み出して実行することにより、中継装置10の各部を制御する。
FIG. 2 is a block diagram showing the configuration of the relay device 10.
The relay device 10 includes a control unit 11, a first communication unit 12, a second communication unit 13, a storage unit 14, and an operation unit 15 as a hardware configuration.
The control unit 11 controls each unit of the relay device 10. The control unit 11 includes, for example, a CPU (Central Processing Unit) as an arithmetic processing device, a ROM (Read Only Memory), and a RAM (Random Access Memory) as a work area. The CPU controls each unit of the relay device 10 by reading the program stored in the ROM or the storage unit 14 into the RAM and executing the program.

第1通信部12は、基地局と無線により接続して通信する。第1通信部12は、中継装置10が或るセル内に存在するときに、そのセルを形成する基地局と接続することがある。第1通信部12は、例えば、基地局から基地局IDを受信する。基地局により送信される基地局IDは、当該基地局に固有の識別子である。更に、第1通信部12は、基地局と接続中でない場合でも、その基地局から基地局IDを受信することがある。第1通信部12は、例えば、基地局と接続中でない場合でも、その基地局に或る距離以下に近接したときには、その基地局から基地局IDを受信することがある。第1通信部12は、例えば、無線通信回路、及びアンテナを含む。 The first communication unit 12 wirelessly connects to and communicates with the base station. When the relay device 10 is present in a certain cell, the first communication unit 12 may connect to the base station forming the cell. The first communication unit 12 receives, for example, a base station ID from a base station. The base station ID transmitted by the base station is an identifier unique to the base station. Further, the first communication unit 12 may receive the base station ID from the base station even when it is not connected to the base station. For example, even when the first communication unit 12 is not connected to a base station, the first communication unit 12 may receive a base station ID from the base station when the base station is approached by a certain distance or less. The first communication unit 12 includes, for example, a wireless communication circuit and an antenna.

第2通信部13は、無線通信端末20と無線により接続して通信を行う。第2通信部13は、或る距離以下に近接した無線通信端末20と接続する。第2通信部13が行う通信の規格は特に問わないが、Wi−Fi(登録商標)やBluetooth(登録商標)等の近距離無線通信がある。第2通信部13は、例えば、無線通信回路、及びアンテナを含む。 The second communication unit 13 wirelessly connects to and communicates with the wireless communication terminal 20. The second communication unit 13 connects to the wireless communication terminal 20 which is close to a certain distance or less. The standard of communication performed by the second communication unit 13 is not particularly limited, but there are short-range wireless communication such as Wi-Fi (registered trademark) and Bluetooth (registered trademark). The second communication unit 13 includes, for example, a wireless communication circuit and an antenna.

記憶部14は、データを記憶する。記憶部14は、記憶装置として、例えば半導体メモリを含む。記憶部14は、制御部11により実行されるプログラム、テーブルTB1、及び閾値データを記憶する。テーブルTB1は、基地局IDの取得の履歴を管理するためのテーブルである。閾値データは、中継装置10が取得する基地局IDの数に対する閾値を示す。閾値は、中継装置10の設計段階、又は製造段階で決められた値である。 The storage unit 14 stores data. The storage unit 14 includes, for example, a semiconductor memory as a storage device. The storage unit 14 stores the program executed by the control unit 11, the table TB1, and the threshold data. The table TB1 is a table for managing the acquisition history of the base station ID. The threshold data indicates a threshold value for the number of base station IDs acquired by the relay device 10. The threshold value is a value determined at the design stage or the manufacturing stage of the relay device 10.

図3は、テーブルTB1の構成を示す図である。
テーブルTB1は、基地局IDと、時刻とを対応付けたテーブルである。テーブルTBの基地局IDは、中継装置10が取得した基地局IDである。時刻は、その基地局IDが中継装置10により取得された時刻である。
FIG. 3 is a diagram showing the configuration of the table TB1.
The table TB1 is a table in which the base station ID and the time are associated with each other. The base station ID of the table TB is the base station ID acquired by the relay device 10. The time is the time when the base station ID is acquired by the relay device 10.

操作部15は、利用者の操作を受け付ける。操作部15は、例えば、物理キーやタッチセンサを含む。 The operation unit 15 accepts the user's operation. The operation unit 15 includes, for example, a physical key and a touch sensor.

制御部11は、中継処理部111と、取得部112と、停止制御部113とに相当する機能を実現する。
中継処理部111は、第1通信部12、及び第2通信部13を制御して、中継処理を行う。取得部112は、移動通信網30に含まれる複数の基地局の各々により送信される基地局IDのうち、第1通信部12によって受信された基地局IDを取得する。取得部112は、取得した基地局IDを、停止制御部113に供給する。停止制御部113は、取得部112が取得した基地局IDに基づいて、中継処理を停止させる。停止制御部113は、この中継処理の停止に係る制御において、テーブルTB1、及び閾値データを用いた処理を行う。停止制御部113は、中継処理を停止させる場合、中継処理を停止させる旨の指示を中継処理部111に供給する。中継処理部111は、この停止の指示に応じて、第1通信部12、及び第2通信部13の少なくとも一方が行う通信を停止させる。
The control unit 11 realizes functions corresponding to the relay processing unit 111, the acquisition unit 112, and the stop control unit 113.
The relay processing unit 111 controls the first communication unit 12 and the second communication unit 13 to perform relay processing. The acquisition unit 112 acquires the base station ID received by the first communication unit 12 among the base station IDs transmitted by each of the plurality of base stations included in the mobile communication network 30. The acquisition unit 112 supplies the acquired base station ID to the stop control unit 113. The stop control unit 113 stops the relay process based on the base station ID acquired by the acquisition unit 112. The stop control unit 113 performs a process using the table TB1 and the threshold data in the control related to the stop of the relay process. When the relay processing is stopped, the stop control unit 113 supplies an instruction to stop the relay processing to the relay processing unit 111. The relay processing unit 111 stops the communication performed by at least one of the first communication unit 12 and the second communication unit 13 in response to the stop instruction.

<動作>
(動作例1)
図4は、中継装置10が行う(動作例1)に係る制御を示すフローチャートである。図5は、この(動作例1)に係る制御の一例の説明図である。
中継装置10において、中継処理部111は、中継処理を開始する(ステップS1)。中継処理の開始のトリガーは、例えば、中継装置10の電源オンや、操作部15の操作による利用者の指示である。
<Operation>
(Operation example 1)
FIG. 4 is a flowchart showing the control performed by the relay device 10 (operation example 1). FIG. 5 is an explanatory diagram of an example of control according to this (operation example 1).
In the relay device 10, the relay processing unit 111 starts the relay processing (step S1). The trigger for starting the relay process is, for example, a user's instruction by turning on the power of the relay device 10 or operating the operation unit 15.

次に、取得部112は、第1通信部12が接続中の基地局により送信された基地局IDを取得する(ステップS2)。次に、停止制御部113は、取得部112が取得した基地局IDを、その基地局IDが取得された時刻と対応付けて、テーブルTB1に記録する(ステップS3)。停止制御部113は、取得した基地局IDが既にテーブルTB1に格納されている場合、その基地局IDを取得した時刻により、テーブルTB1に格納された時刻を更新する。次に、停止制御部113は、基地局IDの取得数が、閾値データが示す閾値を超えたかどうかを判定する(ステップS4)。ここにおいて、基地局IDの取得数は、中継装置10が取得した基地局IDの種類の数である。例えば、基地局ID「ID001」のみが複数回取得された場合でも、基地局IDの取得数は「1」である。閾値は、中継装置10が自宅Hに置かれている場合に接続する可能性のある基地局の数に基づいて、決められている。図1に示す場合、自宅Hに置かれた中継装置10は、基地局BS1,BS2、BS3と接続し得る。このため、閾値は、少なくとも「3」以上、ここでは「4」に決められているものとする。 Next, the acquisition unit 112 acquires the base station ID transmitted by the base station to which the first communication unit 12 is connected (step S2). Next, the stop control unit 113 records the base station ID acquired by the acquisition unit 112 in the table TB1 in association with the time when the base station ID is acquired (step S3). When the acquired base station ID is already stored in the table TB1, the stop control unit 113 updates the time stored in the table TB1 according to the time when the base station ID is acquired. Next, the stop control unit 113 determines whether or not the number of acquired base station IDs exceeds the threshold value indicated by the threshold value data (step S4). Here, the number of acquired base station IDs is the number of types of base station IDs acquired by the relay device 10. For example, even if only the base station ID "ID001" is acquired a plurality of times, the number of acquisitions of the base station ID is "1". The threshold is determined based on the number of base stations that may be connected if the relay device 10 is located at home H. In the case shown in FIG. 1, the relay device 10 placed at the home H can be connected to the base stations BS1, BS2, and BS3. Therefore, it is assumed that the threshold value is set to at least "3" or more, here "4".

ここで、自宅Hに中継装置10が置かれており、テーブルTB1が図5の上段に示す状態であった場合を考える。即ち、テーブルTB1には、基地局IDとして「ID001」、「ID002」、及び「ID003」の3つが格納されている。この場合、停止制御部113は、ステップS4で「NO」と判定する。そして、中継装置10の処理は、ステップS2に戻る。即ち、基地局IDの取得数が閾値以下である期間は、中継装置10が移動していないとして、ステップS2〜S4(ステップS4で「NO」)の処理が繰り返し実行されて、中継処理が継続される。 Here, consider a case where the relay device 10 is placed in the home H and the table TB1 is in the state shown in the upper part of FIG. That is, the table TB1 stores three base station IDs, "ID001", "ID002", and "ID003". In this case, the stop control unit 113 determines “NO” in step S4. Then, the process of the relay device 10 returns to step S2. That is, during the period when the number of acquired base station IDs is equal to or less than the threshold value, the processes of steps S2 to S4 (“NO” in step S4) are repeatedly executed assuming that the relay device 10 is not moving, and the relay process continues. Will be done.

次に、自宅Hに置かれていた中継装置10が利用者により持ち出された場合を考える。ここでは、中継装置10が、図5の下段に示すように、基地局BS4のセルC4と、基地局BS5のセルC5とが重なる領域に移動したとする。このとき、テーブルTB1には、基地局IDとして「ID001」、「ID002」、及び「ID003」に加え、中継装置10の移動中に取得された「ID004」、及び「ID005」の計5つが格納されている。この場合、停止制御部113は、ステップS4で、基地局IDの取得数が閾値を超えたと判定する(ステップS4;YES)。そして、停止制御部113は、中継処理を停止させる(ステップS5)。
なお、停止制御部113は、中継装置10が在圏しない基地局からの基地局であって、取得部112が取得しなくなった基地局IDを、テーブルTB1から削除してもよい。中継処理が開始されてからの期間(本発明の第1期間に相当)内に取得された基地局IDの数が特定可能であれば、テーブルTB1に格納されるデータ、及びテーブルTB1の管理の方法は問わない。また、停止制御部113は、中継処理開始時以外の時点以降の期間内に取得された基地局IDの数に基づいて、中継装置10の移動の有無を判定してもよい。この時点として、例えば、中継装置10における基地局IDの取得履歴(つまり、テーブルTB1)をリセットした時点がある。
Next, consider the case where the relay device 10 placed in the home H is taken out by the user. Here, it is assumed that the relay device 10 has moved to an area where the cell C4 of the base station BS4 and the cell C5 of the base station BS5 overlap, as shown in the lower part of FIG. At this time, in addition to "ID001", "ID002", and "ID003" as base station IDs, the table TB1 stores a total of five "ID004" and "ID005" acquired while the relay device 10 is moving. Has been done. In this case, the stop control unit 113 determines in step S4 that the number of acquired base station IDs exceeds the threshold value (step S4; YES). Then, the stop control unit 113 stops the relay process (step S5).
The stop control unit 113 may delete the base station ID from the base station in which the relay device 10 is not located and which the acquisition unit 112 no longer acquires, from the table TB1. If the number of base station IDs acquired within the period from the start of the relay process (corresponding to the first period of the present invention) can be specified, the data stored in the table TB1 and the management of the table TB1 The method does not matter. Further, the stop control unit 113 may determine whether or not the relay device 10 is moving based on the number of base station IDs acquired within the period after the time other than the start of the relay process. As this time point, for example, there is a time point when the acquisition history of the base station ID (that is, table TB1) in the relay device 10 is reset.

ところで、閾値の設定によっては、中継装置10が基地局BS4のセルC4内に移動した時点で、中継処理を停止させることも可能である。しかしながら、同一の地点において重なり合うセルの数は、その場所によって様々である。また、中継装置10が移動していないにも関わらず中継処理が停止してしまうと、利用者にとって不都合である。よって、本実施形態では、中継装置10が実際に接続し得る基地局の数よりも大きな閾値に設定してある。 By the way, depending on the setting of the threshold value, it is possible to stop the relay process when the relay device 10 moves into the cell C4 of the base station BS4. However, the number of overlapping cells at the same point varies from place to place. Further, if the relay process is stopped even though the relay device 10 is not moving, it is inconvenient for the user. Therefore, in the present embodiment, the threshold value is set to be larger than the number of base stations that the relay device 10 can actually connect to.

(動作例2)
図6は、中継装置10が行う(動作例2)に係る制御を示すフローチャートである。図7は、この(動作例2)に係る制御の一例の説明図である。
中継装置10において、中継処理部111は、中継処理を開始する(ステップS11)。中継処理の開始のトリガーは、例えば、中継装置10の電源オンや、操作部15の操作による利用者の指示である。
(Operation example 2)
FIG. 6 is a flowchart showing the control performed by the relay device 10 (operation example 2). FIG. 7 is an explanatory diagram of an example of control according to this (operation example 2).
In the relay device 10, the relay processing unit 111 starts the relay processing (step S11). The trigger for starting the relay process is, for example, a user's instruction by turning on the power of the relay device 10 or operating the operation unit 15.

次に、取得部112は、基地局から受信された基地局IDを取得する(ステップS12)。ステップS12では、取得部112は、第1通信部12が接続中の基地局だけでなく、第1通信部12が接続中でない基地局により送信された基地局IDも取得する。次に、停止制御部113は、取得した基地局IDを含む無線信号(電波)のレベルを特定する(ステップS13)。停止制御部113は、特定したレベルが所定レベルを超えている場合には、ステップS11で取得された基地局IDを、その基地局IDが取得された時刻と対応付けて、テーブルTB1に記録する(ステップS14)。停止制御部113は、取得した基地局IDが既にテーブルTB1に格納されている場合、その基地局IDを取得した時刻により、テーブルTB1に格納された時刻を更新する。一方で、停止制御部113は、特定したレベルが所定レベル以下である場合には、ステップS12で取得された基地局IDを、テーブルTB1に記録しないものとする。 Next, the acquisition unit 112 acquires the base station ID received from the base station (step S12). In step S12, the acquisition unit 112 acquires not only the base station to which the first communication unit 12 is connected, but also the base station ID transmitted by the base station to which the first communication unit 12 is not connected. Next, the stop control unit 113 specifies the level of the radio signal (radio wave) including the acquired base station ID (step S13). When the specified level exceeds a predetermined level, the stop control unit 113 records the base station ID acquired in step S11 in the table TB1 in association with the time when the base station ID is acquired. (Step S14). When the acquired base station ID is already stored in the table TB1, the stop control unit 113 updates the time stored in the table TB1 according to the time when the base station ID is acquired. On the other hand, when the specified level is equal to or lower than the predetermined level, the stop control unit 113 does not record the base station ID acquired in step S12 in the table TB1.

次に、停止制御部113は、基地局IDの取得数が、閾値データが示す閾値を超えたかどうかを判定する(ステップS15)。閾値は、中継装置10が自宅Hに置かれている場合に取得する可能性のある基地局IDの数に基づいて、決められている。この(動作例2)では、閾値は、(動作例1)の閾値よりも大きな値に設定される。閾値は、例えば、「6」である。 Next, the stop control unit 113 determines whether or not the number of acquired base station IDs exceeds the threshold value indicated by the threshold value data (step S15). The threshold value is determined based on the number of base station IDs that may be acquired when the relay device 10 is placed at home H. In this (operation example 2), the threshold value is set to a value larger than the threshold value of (operation example 1). The threshold is, for example, "6".

ここで、自宅Hに中継装置10が置かれており、テーブルTB1が図7の上段に示す状態であった場合を考える。即ち、テーブルTB1には、基地局IDとして「ID001」、「ID002」、「ID003」、「ID004」、及び「ID007」の5つが格納されている。この場合、停止制御部113は、ステップS15で「NO」と判定する。そして、中継装置10の処理は、ステップS12に戻る。即ち、基地局IDの取得数が閾値以下である期間は、中継装置10では、ステップS12〜S15(ステップS15で「NO」)の処理が繰り返し実行されて、中継処理が継続される。 Here, consider a case where the relay device 10 is placed in the home H and the table TB1 is in the state shown in the upper part of FIG. 7. That is, five base station IDs, "ID001", "ID002", "ID003", "ID004", and "ID007", are stored in the table TB1. In this case, the stop control unit 113 determines “NO” in step S15. Then, the process of the relay device 10 returns to step S12. That is, during the period when the number of acquired base station IDs is equal to or less than the threshold value, the process of steps S12 to S15 (“NO” in step S15) is repeatedly executed in the relay device 10, and the relay process is continued.

次に、自宅Hに置かれていた中継装置10が利用者により持ち出された場合を考える。ここでは、中継装置10が、図7の下段に示すように、基地局BS3のセルC3と、基地局BS7のセルC7とが重なる領域に移動したとする。このとき、テーブルTB1には、基地局IDとして「ID001」〜「ID007」の7つが格納されている。この場合、停止制御部113は、ステップS15で、基地局IDの取得数が閾値を超えたと判定する(ステップS15;YES)。そして、停止制御部113は、中継処理部111が行う中継処理を停止させる(ステップS16)。
なお、この動作例2においても、停止制御部113は、中継装置10が在圏しない基地局からの基地局であって、取得部112が取得しなくなった基地局IDを、テーブルTB1から削除してもよい。また、停止制御部113は、中継処理開始時以外の時点以降の期間内に取得された基地局IDの数に基づいて、中継装置10の移動の有無を判定してもよい。
Next, consider the case where the relay device 10 placed in the home H is taken out by the user. Here, it is assumed that the relay device 10 has moved to an area where the cell C3 of the base station BS3 and the cell C7 of the base station BS7 overlap, as shown in the lower part of FIG. At this time, seven base station IDs "ID001" to "ID007" are stored in the table TB1. In this case, the stop control unit 113 determines in step S15 that the number of acquired base station IDs exceeds the threshold value (step S15; YES). Then, the stop control unit 113 stops the relay processing performed by the relay processing unit 111 (step S16).
Also in this operation example 2, the stop control unit 113 deletes the base station ID from the base station in which the relay device 10 is not located and which the acquisition unit 112 no longer acquires from the table TB1. You may. Further, the stop control unit 113 may determine whether or not the relay device 10 is moving based on the number of base station IDs acquired within the period after the time other than the start of the relay process.

この(動作例2)では、中継装置10は、接続中でない基地局により送信された基地局IDも、テーブルTB1に記録する。このため、中継装置10は、(動作例1)の場合よりも、周辺に存在する多くの基地局から基地局IDを取得する。よって、中継装置10のわずかな移動によっても、中継装置10が取得する基地局IDが変化しやすくなる。即ち、この(動作例2)によれば、中継装置10が移動した距離が短くとも、その移動に応じて中継処理を停止させやすい。 In this (operation example 2), the relay device 10 also records the base station ID transmitted by the base station that is not connected in the table TB1. Therefore, the relay device 10 acquires the base station ID from many base stations existing in the vicinity as compared with the case of (operation example 1). Therefore, even a slight movement of the relay device 10 makes it easy for the base station ID acquired by the relay device 10 to change. That is, according to this (operation example 2), even if the distance traveled by the relay device 10 is short, the relay process can be easily stopped according to the movement.

ところで、無線信号のレベルが所定レベルを超えた基地局についてのみ、テーブルTB1に基地局IDを記録するようにしたのは、無線信号のレベルが常に一定というわけではなく、変動する場合があることによる。所定レベル以上の無線信号に含まれていた基地局IDの取得数に基づいて中継処理を停止させることで、中継装置10が移動していないにも関わらず中継処理が停止される可能性は低くなる。 By the way, the reason why the base station ID is recorded in the table TB1 only for the base stations whose radio signal level exceeds a predetermined level is that the radio signal level is not always constant and may fluctuate. according to. By stopping the relay processing based on the number of acquisitions of the base station ID included in the radio signal of the predetermined level or higher, it is unlikely that the relay processing will be stopped even though the relay device 10 has not moved. Become.

以上説明したシステム1では、中継装置10が、無線通信端末20等から現在位置を示す位置情報を取得しなくとも、基地局から取得した基地局IDに基づいて、自中継装置が所定の場所に存在することを条件として、中継処理を行うことができる。 In the system 1 described above, even if the relay device 10 does not acquire the position information indicating the current position from the wireless communication terminal 20 or the like, the self-relay device is placed in a predetermined location based on the base station ID acquired from the base station. Relay processing can be performed on condition that it exists.

[第2実施形態]
本実施形態の中継装置は、基地局IDの取得数に対する閾値を可変とし、この閾値を設定する構成を有している。同一の地点において重なり合うセルの数は、その場所によって様々である。よって、本実施形態の中継装置は、自中継装置が置かれた場所に応じた閾値を設定する。
[Second Embodiment]
The relay device of the present embodiment has a configuration in which a threshold value for the number of acquired base station IDs is variable and this threshold value is set. The number of overlapping cells at the same point varies from place to place. Therefore, the relay device of the present embodiment sets a threshold value according to the place where the self-relay device is placed.

<構成>
図8は、本実施形態の中継装置10Aの構成を示すブロック図である。中継装置10Aのハードウェア構成は、中継装置10と同じである。中継装置10Aの制御部11は、中継処理部111と、取得部112と、停止制御部113とに相当する機能に加え、設定部114に相当する機能を実現する。取得部112は、取得した基地局IDを、停止制御部113に加え、設定部114に供給する。設定部114は、第1通信部12を介して基地局から受信された基地局IDの数に基づいて、閾値を設定する。設定部114は、設定した閾値により、記憶部14に記憶された閾値データを更新する。
<Composition>
FIG. 8 is a block diagram showing the configuration of the relay device 10A of the present embodiment. The hardware configuration of the relay device 10A is the same as that of the relay device 10. The control unit 11 of the relay device 10A realizes a function corresponding to the setting unit 114 in addition to the functions corresponding to the relay processing unit 111, the acquisition unit 112, and the stop control unit 113. The acquisition unit 112 supplies the acquired base station ID to the setting unit 114 in addition to the stop control unit 113. The setting unit 114 sets the threshold value based on the number of base station IDs received from the base station via the first communication unit 12. The setting unit 114 updates the threshold data stored in the storage unit 14 according to the set threshold value.

更に、記憶部14は、テーブルTB2を記憶する。テーブルTB2は、テーブルTB1と同じく、基地局IDと、時刻とを対応付けたテーブルである。テーブルTB2は、閾値を設定するために用いられるデータが記録される点で、テーブルTB1と異なる。 Further, the storage unit 14 stores the table TB2. The table TB2 is a table in which the base station ID and the time are associated with each other, as in the table TB1. Table TB2 differs from table TB1 in that data used to set the threshold is recorded.

<動作>
(動作例1)
図9は、中継装置10Aが行う(動作例1)に係る制御を示すフローチャートである。図10は、この(動作例1)に係る制御の一例の説明図である。
中継装置10Aにおいて、中継処理部111は、中継処理を開始する(ステップS21)。この中継処理の開始のトリガーは、例えば、中継装置10Aの初回の電源オンや、操作部15の操作による利用者の指示である。次に、設定部114は、閾値を設定するかどうかを判定する(ステップS22)。設定部114は、例えば、中継装置10Aが初回の電源オン時のような閾値が未設定の場合や、所定の更新タイミングが到来した場合に、閾値を設定すると判定する。
<Operation>
(Operation example 1)
FIG. 9 is a flowchart showing the control performed by the relay device 10A (operation example 1). FIG. 10 is an explanatory diagram of an example of control according to this (operation example 1).
In the relay device 10A, the relay processing unit 111 starts the relay processing (step S21). The trigger for starting the relay process is, for example, a user's instruction by turning on the power of the relay device 10A for the first time or operating the operation unit 15. Next, the setting unit 114 determines whether or not to set the threshold value (step S22). The setting unit 114 determines that the threshold value is set when the threshold value is not set, for example, when the relay device 10A first turns on the power, or when a predetermined update timing arrives.

ステップS22で「YES」と判定されると、取得部112は、第1通信部12が接続中の基地局により送信された基地局IDを取得する(ステップS23)。次に、停止制御部113は、取得部112が取得した基地局IDを、その基地局IDが取得された時刻と対応付けて、テーブルTB2に記録する(ステップS24)。停止制御部113は、取得した基地局IDが既にテーブルTB2に格納されている場合、その基地局IDを取得した時刻により、テーブルTB2に格納された時刻を更新する。 If "YES" is determined in step S22, the acquisition unit 112 acquires the base station ID transmitted by the base station to which the first communication unit 12 is connected (step S23). Next, the stop control unit 113 records the base station ID acquired by the acquisition unit 112 in the table TB2 in association with the time when the base station ID is acquired (step S24). When the acquired base station ID is already stored in the table TB2, the stop control unit 113 updates the time stored in the table TB2 according to the time when the base station ID is acquired.

次に、設定部114は、閾値の設定に係る処理を開始してから、基地局IDの収集期間が経過したかどうかを判定する(ステップS25)。この基地局IDの収集期間は、中継装置10Aが周辺の基地局から基地局IDを収集する期間で、本発明の第1期間に相当する。この収集期間は、中継装置10Aが設置された場所の周辺における基地局の状況を把握するのに十分な長さに決められており、例えば24時間である。 Next, the setting unit 114 determines whether or not the base station ID collection period has elapsed since the process related to the threshold setting was started (step S25). The collection period of the base station ID is a period in which the relay device 10A collects the base station ID from the surrounding base stations, and corresponds to the first period of the present invention. This collection period is set to be long enough to grasp the situation of the base station around the place where the relay device 10A is installed, for example, 24 hours.

ステップS25で「NO」と判定された場合、中継装置10Aの処理は、ステップS23に戻る。即ち、基地局IDの収集期間が経過するまでは、中継装置10Aでは、ステップS23〜S25(ステップS25で「NO」)の処理が、繰り返し実行される。この基地局IDの収集期間においては、中継処理は継続して行われる。 If "NO" is determined in step S25, the process of the relay device 10A returns to step S23. That is, until the base station ID collection period elapses, the processes of steps S23 to S25 (“NO” in step S25) are repeatedly executed in the relay device 10A. During this base station ID collection period, the relay process is continuously performed.

ステップS25で「YES」と判定した場合、設定部114は、基地局IDの収集期間における基地局IDの取得数に基づいて、閾値を設定する(ステップS26)。設定部114は、具体的には、テーブルTB2に基づいて、基地局IDの取得数を用いて所定の方法で閾値を設定する。閾値は、例えば、基地局IDの取得数に所定値を加算し又は乗算した値である。自宅Hに中継装置10Aが置かれている場合、テーブルTB2は、例えば図10に示す状態となる。即ち、テーブルTB2には、基地局IDとして「ID001」、「ID002」、及び「ID003」の3つが格納されている。この場合、設定部114は、例えば、基地局IDの取得数に「1」を加算し、閾値を「4」に設定する。閾値が設定されると、中継装置10Aの処理は、ステップS2に進む。ステップS22で閾値を設定しないと判定された場合も(ステップS22;NO)、中継装置10Aの処理は、ステップS2に進む。そして、上述した第1実施形態の(動作例1)と同じく、ステップS2〜S5の処理が実行される。 If "YES" is determined in step S25, the setting unit 114 sets the threshold value based on the number of base station IDs acquired during the base station ID collection period (step S26). Specifically, the setting unit 114 sets the threshold value by a predetermined method using the number of acquired base station IDs based on the table TB2. The threshold value is, for example, a value obtained by adding or multiplying a predetermined value to the number of acquired base station IDs. When the relay device 10A is placed at the home H, the table TB2 is in the state shown in FIG. 10, for example. That is, the table TB2 stores three base station IDs, "ID001", "ID002", and "ID003". In this case, the setting unit 114 adds "1" to the number of acquired base station IDs and sets the threshold value to "4", for example. When the threshold value is set, the process of the relay device 10A proceeds to step S2. Even if it is determined in step S22 that the threshold value is not set (step S22; NO), the process of the relay device 10A proceeds to step S2. Then, the processes of steps S2 to S5 are executed in the same manner as in the above-described first embodiment (operation example 1).

(動作例2)
図11は、中継装置10Aが行う(動作例2)に係る制御を示すフローチャートである。図12は、この(動作例2)に係る制御の一例の説明図である。
中継装置10Aにおいて、中継処理部111は、中継処理を開始する(ステップS31)。この中継処理の開始のトリガーは、例えば、中継装置10Aの電源オンや、操作部15の操作による利用者の指示である。次に、設定部114は、閾値を設定するかどうかを判定する(ステップS32)。設定部114は、例えば、中継装置10Aが初回の電源オン時等の閾値が未設定の場合や、所定の更新タイミングが到来した場合に、閾値を設定すると判定する。
(Operation example 2)
FIG. 11 is a flowchart showing the control performed by the relay device 10A (operation example 2). FIG. 12 is an explanatory diagram of an example of control according to this (operation example 2).
In the relay device 10A, the relay processing unit 111 starts the relay processing (step S31). The trigger for starting the relay process is, for example, a user's instruction by turning on the power of the relay device 10A or operating the operation unit 15. Next, the setting unit 114 determines whether or not to set the threshold value (step S32). The setting unit 114 determines that the threshold value is set when, for example, the relay device 10A has not set the threshold value when the power is turned on for the first time, or when a predetermined update timing has arrived.

ステップS32で「YES」と判定されると、取得部112は、第1通信部12により基地局から受信された基地局IDを取得する(ステップS33)。ステップS33では、取得部112は、第1通信部12が接続中の基地局だけでなく、第1通信部12が接続中でない基地局により送信された基地局IDも取得する。次に、設定部114は、取得した基地局IDを含む無線信号のレベルを特定する(ステップS34)。設定部114は、特定したレベルが所定レベルを超えている場合、ステップS33で取得された基地局IDを、その基地局IDが取得された時刻と対応付けて、テーブルTB2に記録する(ステップS35)。設定部114は、取得した基地局IDが既にテーブルTB2に格納されている場合、その基地局IDを取得した時刻により、テーブルTB2に格納された時刻を更新する。一方で、停止制御部113は、特定したレベルが所定レベル以下である場合には、ステップS33で取得された基地局IDを、テーブルTB2に記録しない。レベルを参照する理由は、上述した第1実施形態の(動作例2)と同じである。 If "YES" is determined in step S32, the acquisition unit 112 acquires the base station ID received from the base station by the first communication unit 12 (step S33). In step S33, the acquisition unit 112 acquires not only the base station to which the first communication unit 12 is connected, but also the base station ID transmitted by the base station to which the first communication unit 12 is not connected. Next, the setting unit 114 specifies the level of the radio signal including the acquired base station ID (step S34). When the specified level exceeds a predetermined level, the setting unit 114 records the base station ID acquired in step S33 in the table TB2 in association with the time when the base station ID is acquired (step S35). ). When the acquired base station ID is already stored in the table TB2, the setting unit 114 updates the time stored in the table TB2 according to the time when the acquired base station ID is acquired. On the other hand, when the specified level is equal to or lower than the predetermined level, the stop control unit 113 does not record the base station ID acquired in step S33 in the table TB2. The reason for referring to the level is the same as that of the above-described first embodiment (operation example 2).

次に、設定部114は、基地局IDの取得数に基づいて、閾値を設定する(ステップS36)。設定部114は、具体的には、テーブルTB2に基づいて、基地局IDの取得数を用いて所定の方法で閾値を設定する。閾値は、例えば、基地局IDの取得数に所定値を加算し又は乗算した値である。自宅Hに中継装置10Aが置かれている場合、テーブルTB2は、図12に示す状態となる。即ち、テーブルTB2には、基地局IDとして「ID001」、「ID002」、「ID003」、「ID004」、及び「ID007」の5つが格納されている。設定部114は、例えば、基地局IDの取得数に「1」を加算し、閾値を「6」に設定する。閾値が設定されると、中継装置10Aの処理は、ステップS12に進む。ステップS32で閾値を設定しないと判定された場合も(ステップS32;NO)、中継装置10Aの処理は、ステップS12に進む。そして、上述した第2実施形態の(動作例1)と同じく、ステップS12〜S16の処理が実行される。 Next, the setting unit 114 sets the threshold value based on the number of acquired base station IDs (step S36). Specifically, the setting unit 114 sets the threshold value by a predetermined method using the number of acquired base station IDs based on the table TB2. The threshold value is, for example, a value obtained by adding or multiplying a predetermined value to the number of acquired base station IDs. When the relay device 10A is placed at home H, the table TB2 is in the state shown in FIG. That is, five base station IDs, "ID001", "ID002", "ID003", "ID004", and "ID007", are stored in the table TB2. For example, the setting unit 114 adds "1" to the number of acquired base station IDs and sets the threshold value to "6". When the threshold value is set, the process of the relay device 10A proceeds to step S12. Even if it is determined in step S32 that the threshold value is not set (step S32; NO), the process of the relay device 10A proceeds to step S12. Then, the processes of steps S12 to S16 are executed in the same manner as in the above-described second embodiment (operation example 1).

(動作例3)
図13は、中継装置10Aが行う(動作例3)に係る制御を示すフローチャートである。図14は、この(動作例3)に係る制御の一例の説明図である。
中継装置10Aにおいて、中継処理部111は、中継処理を開始する(ステップS41)。この中継処理の開始のトリガーは、例えば、中継装置10Aの電源オンや、操作部15の操作による利用者の指示である。次に、設定部114は、閾値を設定するかどうかを判定する(ステップS42)。設定部114は、例えば、中継装置10Aが初回の電源オン時等の閾値が未設定の場合や、所定の更新タイミングが到来した場合に、閾値を設定すると判定する。
(Operation example 3)
FIG. 13 is a flowchart showing the control according to the relay device 10A (operation example 3). FIG. 14 is an explanatory diagram of an example of control according to this (operation example 3).
In the relay device 10A, the relay processing unit 111 starts the relay processing (step S41). The trigger for starting the relay process is, for example, a user's instruction by turning on the power of the relay device 10A or operating the operation unit 15. Next, the setting unit 114 determines whether or not to set the threshold value (step S42). The setting unit 114 determines that the threshold value is set when, for example, the relay device 10A has not set the threshold value when the power is turned on for the first time, or when a predetermined update timing has arrived.

ステップS42で「YES」と判定されると、取得部112は、基地局から受信された基地局IDを取得する(ステップS43)。ステップS43では、取得部112は、第1通信部12が接続中の基地局だけでなく、第1通信部12が接続中でない基地局により送信された基地局IDも取得する。このように第1通信部12が接続していない基地局の基地局IDも取得するので、周辺の基地局から基地局IDを収集するための時間は、(動作例1)のように接続を条件として基地局IDを取得する場合に比べて、短時間で済む。 If "YES" is determined in step S42, the acquisition unit 112 acquires the base station ID received from the base station (step S43). In step S43, the acquisition unit 112 acquires not only the base station to which the first communication unit 12 is connected, but also the base station ID transmitted by the base station to which the first communication unit 12 is not connected. Since the base station ID of the base station to which the first communication unit 12 is not connected is also acquired in this way, the time for collecting the base station ID from the surrounding base stations is as shown in (Operation example 1). As a condition, it takes less time than the case of acquiring the base station ID.

次に、設定部114は、この基地局IDを含む無線信号のレベルを特定する(ステップS44)。設定部114は、特定したレベルが所定レベルを超えている場合、ステップS43で取得された基地局IDを、その基地局IDが取得された時刻と対応付けて、テーブルTB2に記録する(ステップS45)。設定部114は、取得した基地局IDが既にテーブルTB2に格納されている場合、その基地局IDを取得した時刻により、テーブルTB2に格納された時刻を更新する。一方で、停止制御部113は、特定したレベルが所定レベル以下である場合には、ステップS43で取得された基地局IDを、テーブルTB2に記録しない。レベルを参照する理由は、(動作例2)と同じである。 Next, the setting unit 114 identifies the level of the radio signal including the base station ID (step S44). When the specified level exceeds a predetermined level, the setting unit 114 records the base station ID acquired in step S43 in the table TB2 in association with the time when the base station ID is acquired (step S45). ). When the acquired base station ID is already stored in the table TB2, the setting unit 114 updates the time stored in the table TB2 according to the time when the acquired base station ID is acquired. On the other hand, when the specified level is equal to or lower than the predetermined level, the stop control unit 113 does not record the base station ID acquired in step S43 in the table TB2. The reason for referring to the level is the same as in (Operation example 2).

次に、設定部114は、基地局IDの取得数に基づいて、閾値を設定する(ステップS46)。ステップS46では、(動作例1)で説明したような中継装置10Aが基地局に接続して取得する基地局IDの数に対する閾値が設定される。設定部114は、ここでは、基地局IDの取得数を用いて所定の方法で閾値を設定する。図14に示すように、設定部114は、基地局IDの取得数が少ないほど閾値を小さく、基地局IDの取得数が多いほど閾値を大きくする。閾値が設定されると、中継装置10Aの処理は、ステップS2に進む。ステップS42で閾値を設定しないと判定された場合も(ステップS42;NO)、中継装置10Aの処理は、ステップS2に進む。そして、上述した第1実施形態の(動作例1)と同様、ステップS2〜S5の処理が実行される。 Next, the setting unit 114 sets the threshold value based on the number of acquired base station IDs (step S46). In step S46, a threshold value for the number of base station IDs acquired by the relay device 10A connected to the base station as described in (Operation Example 1) is set. Here, the setting unit 114 sets the threshold value by a predetermined method using the number of acquired base station IDs. As shown in FIG. 14, the setting unit 114 decreases the threshold value as the number of acquisitions of the base station ID decreases, and increases the threshold value as the number of acquisitions of the base station ID increases. When the threshold value is set, the process of the relay device 10A proceeds to step S2. Even if it is determined in step S42 that the threshold value is not set (step S42; NO), the process of the relay device 10A proceeds to step S2. Then, the processes of steps S2 to S5 are executed in the same manner as in the above-described first embodiment (operation example 1).

この(動作例3)によれば、閾値の設定に係る処理に要する時間を(動作例1)よりも短くすることができる。 According to this (operation example 3), the time required for the process related to the setting of the threshold value can be made shorter than that of (operation example 1).

[第3実施形態]
本実施形態の中継装置は、基地局IDと、自中継装置の位置とに基づいて閾値を設定する構成を有している。中継装置の位置を用いる理由は、閾値を設定するために取得された基地局IDが、中継装置が移動していないときに取得されたものかどうかを確認するためである。
[Third Embodiment]
The relay device of the present embodiment has a configuration in which a threshold value is set based on the base station ID and the position of the self-relay device. The reason for using the position of the relay device is to confirm whether or not the base station ID acquired for setting the threshold value is acquired when the relay device is not moving.

<構成>
図15は、本実施形態の中継装置10Bの構成を示すブロック図である。中継装置10Bのハードウェア構成は、中継装置10と同じである。中継装置10Bの制御部11は、中継処理部111と、取得部112と、停止制御部113と、設定部114とに相当する機能に加え、位置特定部115に相当する機能を実現する。
取得部112は、取得した基地局IDを、停止制御部113、及び設定部114に加え、位置特定部115に供給する。位置特定部115は、取得部112により基地局IDが取得されたときの中継装置10Bの位置を特定する。位置特定部115は、ここでは、基地局IDが示す基地局が存在する位置を、中継装置10Bの位置として特定する。位置特定部115は、取得部112により取得された基地局IDに基づいて、移動通信網30に接続された位置管理サーバ40に問い合わせることで、当該位置を特定する。設定部114は、位置特定部115が特定した位置が変化していない期間、つまり中継装置10Bが移動していない期間に取得された基地局IDに基づいて、閾値を設定する。
<Composition>
FIG. 15 is a block diagram showing the configuration of the relay device 10B of the present embodiment. The hardware configuration of the relay device 10B is the same as that of the relay device 10. The control unit 11 of the relay device 10B realizes a function corresponding to the position specifying unit 115 in addition to the functions corresponding to the relay processing unit 111, the acquisition unit 112, the stop control unit 113, and the setting unit 114.
The acquisition unit 112 supplies the acquired base station ID to the position identification unit 115 in addition to the stop control unit 113 and the setting unit 114. The position specifying unit 115 specifies the position of the relay device 10B when the base station ID is acquired by the acquisition unit 112. Here, the position specifying unit 115 specifies the position where the base station indicated by the base station ID exists as the position of the relay device 10B. The position specifying unit 115 identifies the position by inquiring to the position management server 40 connected to the mobile communication network 30 based on the base station ID acquired by the acquisition unit 112. The setting unit 114 sets the threshold value based on the base station ID acquired during the period in which the position specified by the position specifying unit 115 does not change, that is, the period in which the relay device 10B does not move.

図16は、中継装置10Bが行う制御を示すフローチャートである。
中継装置10Bにおいて、中継処理部111は、中継処理を開始する(ステップS51)。この中継処理の開始のトリガーは、例えば、中継装置10Bの電源オンや、操作部15の操作による利用者の指示である。次に、設定部114は、閾値を設定するかどうかを判定する(ステップS52)。設定部114は、例えば、中継装置10Bが初回の電源オン時等の閾値が未設定の場合や、所定の更新タイミングが到来した場合に、閾値を設定すると判定する。
FIG. 16 is a flowchart showing the control performed by the relay device 10B.
In the relay device 10B, the relay processing unit 111 starts the relay processing (step S51). The trigger for starting the relay process is, for example, a user's instruction by turning on the power of the relay device 10B or operating the operation unit 15. Next, the setting unit 114 determines whether or not to set the threshold value (step S52). The setting unit 114 determines that the threshold value is set when, for example, the relay device 10B has not set the threshold value when the power is turned on for the first time, or when a predetermined update timing has arrived.

次に、取得部112は、第1通信部12が接続中の基地局から受信された基地局IDを取得する(ステップS53)。次に、位置特定部115は、中継装置10Bの位置を特定する(ステップS54)。位置特定部115は、ステップS53で取得した基地局IDを用いて位置管理サーバ40に問い合わせることで、基地局の位置を中継装置10Bの位置として特定する。ステップS54の処理において、位置管理サーバ40への問い合わせは、ステップS53で新たな基地局IDが取得された場合にだけ行われてもよい。新たな基地局IDが取得されたということは、中継装置10Bが移動した可能性があるからである。この場合、ステップS53で新たな基地局IDが取得されなかった場合は、位置特定部115は、位置管理サーバ40の問い合わせることなく、中継装置10Bの位置が、前回特定した位置と同じ位置であることを特定すればよい。 Next, the acquisition unit 112 acquires the base station ID received from the base station to which the first communication unit 12 is connected (step S53). Next, the position specifying unit 115 specifies the position of the relay device 10B (step S54). The position specifying unit 115 identifies the position of the base station as the position of the relay device 10B by inquiring to the position management server 40 using the base station ID acquired in step S53. In the process of step S54, the inquiry to the location management server 40 may be made only when a new base station ID is acquired in step S53. The fact that the new base station ID has been acquired is because the relay device 10B may have moved. In this case, if a new base station ID is not acquired in step S53, the position specifying unit 115 has the same position as the position specified last time in the relay device 10B without inquiring about the position management server 40. You just have to specify that.

次に、設定部114は、位置特定部115が特定した位置に基づいて、中継装置10Bが移動したかどうかを判定する(ステップS55)。設定部114は、位置特定部115が特定した位置が、それよりも前に特定した位置から変化していない場合には、中継装置10Bが移動していないと判定する(ステップS55;NO)。中継装置10Bが移動していないと判定した場合、設定部114は、ステップS53で取得部112が取得した基地局IDを、その基地局IDが取得された時刻と対応付けて、テーブルTB2に記録する(ステップS56)。 Next, the setting unit 114 determines whether or not the relay device 10B has moved based on the position specified by the position specifying unit 115 (step S55). If the position specified by the position specifying unit 115 has not changed from the position specified before that, the setting unit 114 determines that the relay device 10B has not moved (step S55; NO). When it is determined that the relay device 10B has not moved, the setting unit 114 records the base station ID acquired by the acquisition unit 112 in step S53 in the table TB2 in association with the time when the base station ID was acquired. (Step S56).

次に、設定部114は、閾値の設定に係る処理を開始してから、基地局IDの収集期間が経過したかどうかを判定する(ステップS57)。ステップS57で「NO」と判定された場合、中継装置10Bの処理は、ステップS53に戻る。即ち、基地局IDの収集期間が経過するまでは、ステップS53〜S57(ステップS57で「NO」)の処理が、繰り返し実行されることになる。この基地局IDの収集期間においては、中継処理は継続して行われる。その後、ステップS57で「YES」と判定すると、設定部114は、基地局IDの取得数に基づいて、閾値を設定する(ステップS58)。閾値の設定は、ステップS26と同じ方法で行われてよい。 Next, the setting unit 114 determines whether or not the base station ID collection period has elapsed since the process related to the threshold setting was started (step S57). If "NO" is determined in step S57, the process of the relay device 10B returns to step S53. That is, the processes of steps S53 to S57 (“NO” in step S57) are repeatedly executed until the base station ID collection period elapses. During this base station ID collection period, the relay process is continuously performed. After that, if it is determined as "YES" in step S57, the setting unit 114 sets the threshold value based on the number of acquired base station IDs (step S58). The threshold value may be set in the same manner as in step S26.

一方、基地局IDの収集期間が経過する前に、中継装置10Bが移動したと判定した場合(ステップS55;YES)、設定部114は、閾値の設定に係る処理を中止する。そして、設定部114は、別の閾値に設定する(ステップS59)。設定部114は、位置特定部115が特定した位置が、それよりも前に特定した位置から変化した場合に、ステップS59の設定を行う。閾値は、例えば、予め決められた閾値である。閾値の更新(再設定)が定期的に行われる場合には、設定部114は、前回に設定した閾値に再設定してもよい。閾値が設定されると、中継装置10Bの処理は、ステップS2に進む。ステップS52で閾値を設定しないと判定された場合も(ステップS52;NO)、中継装置10Bの処理は、ステップS2に進む。そして、上述した第1実施形態の(動作例1)と同じく、ステップS2〜S5の処理が実行される。 On the other hand, if it is determined that the relay device 10B has moved before the base station ID collection period elapses (step S55; YES), the setting unit 114 cancels the process related to the threshold setting. Then, the setting unit 114 sets another threshold value (step S59). The setting unit 114 sets in step S59 when the position specified by the position specifying unit 115 changes from the position specified before that. The threshold value is, for example, a predetermined threshold value. When the threshold value is updated (reset) periodically, the setting unit 114 may reset the threshold value to the previously set threshold value. When the threshold value is set, the process of the relay device 10B proceeds to step S2. Even if it is determined in step S52 that the threshold value is not set (step S52; NO), the process of the relay device 10B proceeds to step S2. Then, the processes of steps S2 to S5 are executed in the same manner as in the above-described first embodiment (operation example 1).

なお、位置特定部115は、基地局の位置情報ではなく、GPS(Global Positioning System)やSUPL(Secure User Plane Location)サーバからの情報取得等の中継装置10Bの測位機能により得た位置情報や、無線通信端末20から取得した位置情報を用いて、中継装置10Bの位置を特定してもよい。 The position specifying unit 115 is not the position information of the base station, but the position information obtained by the positioning function of the relay device 10B such as information acquisition from the GPS (Global Positioning System) or SUPL (Secure User Plane Location) server, and the position information. The position of the relay device 10B may be specified by using the position information acquired from the wireless communication terminal 20.

本実施形態の中継装置10Bによれば、閾値の設定中に中継装置10Bが移動させられることで、閾値が必要以上高い値に設定されてしまう可能性を低くすることができる。 According to the relay device 10B of the present embodiment, it is possible to reduce the possibility that the threshold value is set to a value higher than necessary by moving the relay device 10B during the setting of the threshold value.

[第4実施形態]
基地局が送信する基地局IDは、前述したように、収容替え等による更新を原因として変化することがある。そこで、本実施形態の中継装置は、取得した基地局IDの時間的な変化に基づいて、基地局IDが中継装置の移動により変化した場合には、中継処理を停止させる制御を行う。
[Fourth Embodiment]
As described above, the base station ID transmitted by the base station may change due to an update due to accommodation change or the like. Therefore, the relay device of the present embodiment controls to stop the relay process when the base station ID changes due to the movement of the relay device based on the acquired base station ID with time.

<構成>
図17は、本実施形態の中継装置10Cの構成を示すブロック図である。中継装置10Cのハードウェア構成は、中継装置10と同じである。中継装置10Cの制御部11は、中継処理部111と、取得部112と、停止制御部113Cと、設定部114とに相当する機能を実現する。停止制御部113Cは、取得部112が取得した基地局IDの時間的な変化に基づいて、中継処理を停止させる。
なお、設定部114は、例えば、上述した第2実施形態又は第3実施形態と同じ方法で閾値を設定する。
<Composition>
FIG. 17 is a block diagram showing the configuration of the relay device 10C of the present embodiment. The hardware configuration of the relay device 10C is the same as that of the relay device 10. The control unit 11 of the relay device 10C realizes functions corresponding to the relay processing unit 111, the acquisition unit 112, the stop control unit 113C, and the setting unit 114. The stop control unit 113C stops the relay process based on the temporal change of the base station ID acquired by the acquisition unit 112.
The setting unit 114 sets the threshold value in the same manner as in the second embodiment or the third embodiment described above, for example.

<動作>
(動作例1)
図18は、中継装置10Cが行う(動作例1)に係る制御を示すフローチャートである。図19は、この(動作例1)に係る制御の一例の説明図である。
中継装置10Cにおいて、中継処理部111は、中継処理を開始する(ステップS61)。この中継処理の開始のトリガーは、例えば、中継装置10Cの電源オンや、操作部15の操作による利用者の指示である。次に、設定部114は、第1通信部12により基地局から受信された基地局IDを取得する(ステップS62)。ステップS62では、例えば、取得部112は、第1通信部12が接続中の基地局だけでなく、第1通信部12が接続中でない基地局により送信された基地局IDも取得する。次に、停止制御部113Cは、取得した基地局IDを含む無線信号のレベルを特定する(ステップS63)。停止制御部113Cは、特定したレベルが所定レベルを超えている場合には、取得部112が取得した基地局IDを、その基地局IDが取得された時刻と対応付けて、テーブルTB1に記録する(ステップS64)。停止制御部113Cは、取得した基地局IDが既にテーブルTB1に格納されている場合、その基地局IDを取得した時刻により、テーブルTB1に格納された時刻を更新する。
<Operation>
(Operation example 1)
FIG. 18 is a flowchart showing the control performed by the relay device 10C (operation example 1). FIG. 19 is an explanatory diagram of an example of control according to this (operation example 1).
In the relay device 10C, the relay processing unit 111 starts the relay processing (step S61). The trigger for starting the relay process is, for example, a user's instruction by turning on the power of the relay device 10C or operating the operation unit 15. Next, the setting unit 114 acquires the base station ID received from the base station by the first communication unit 12 (step S62). In step S62, for example, the acquisition unit 112 acquires not only the base station to which the first communication unit 12 is connected, but also the base station ID transmitted by the base station to which the first communication unit 12 is not connected. Next, the stop control unit 113C specifies the level of the radio signal including the acquired base station ID (step S63). When the specified level exceeds a predetermined level, the stop control unit 113C records the base station ID acquired by the acquisition unit 112 in the table TB1 in association with the time when the base station ID is acquired. (Step S64). When the acquired base station ID is already stored in the table TB1, the stop control unit 113C updates the time stored in the table TB1 according to the time when the base station ID is acquired.

次に、停止制御部113Cは、基地局IDの取得数が閾値を超えたかどうかを判定する(ステップS65)。ステップS65で「NO」と判定した場合、中継装置10Cの処理は、ステップS62に戻る。ここでは、閾値は「4」であるものとする。 Next, the stop control unit 113C determines whether or not the number of acquired base station IDs exceeds the threshold value (step S65). If "NO" is determined in step S65, the process of the relay device 10C returns to step S62. Here, it is assumed that the threshold value is "4".

ステップS65で「YES」と判定した場合、停止制御部113Cは、ステップS66に進む。ここでは、時刻t1の時点で、基地局ID「ID001」、「ID002」、及び「ID003」がテーブルTB1に記録されているものとする。更に、時刻t1よりも後の時刻t2に、ステップS62で、基地局ID「ID101」、「ID102」、及び「ID103」が取得されたとする。基地局ID「ID101」、「ID102」、及び「ID103」は、本発明の第1識別子に相当する。この場合、基地局ID「ID101」、「ID102」、及び「ID103」が、中継装置10Cが移動したことによって新たに取得されたのか、中継装置10Cは移動していないが、基地局IDの更新によって新たに取得されたのか、この時点では不明である。このため、本実施形態では、基地局IDの取得数が閾値を超えたとしても、中継装置10Cの中継処理を継続させる。この理由で中継処理が継続される期間を、以下では「猶予期間」と称する。猶予期間は、本発明の第2期間に相当する。猶予期間の長さは、予め決められている。 If "YES" is determined in step S65, the stop control unit 113C proceeds to step S66. Here, it is assumed that the base station IDs "ID001", "ID002", and "ID003" are recorded in the table TB1 at the time t1. Further, it is assumed that the base station IDs "ID101", "ID102", and "ID103" are acquired in step S62 at the time t2 after the time t1. The base station IDs "ID101", "ID102", and "ID103" correspond to the first identifier of the present invention. In this case, the base station IDs "ID101", "ID102", and "ID103" may have been newly acquired due to the movement of the relay device 10C, or the relay device 10C has not moved, but the base station ID has been updated. It is unknown at this point whether it was newly acquired by. Therefore, in the present embodiment, even if the number of acquired base station IDs exceeds the threshold value, the relay processing of the relay device 10C is continued. The period during which the relay process is continued for this reason is hereinafter referred to as a "grace period". The grace period corresponds to the second period of the present invention. The length of the grace period is predetermined.

ステップS65で「YES」と判定すると、停止制御部113Cは、タイマーを作動させて、計時を開始する(ステップS66)。このタイマーは、基地局IDの取得数が閾値を超えてからの経過時間を計る。 If "YES" is determined in step S65, the stop control unit 113C activates the timer to start timing (step S66). This timer measures the elapsed time since the number of acquired base station IDs exceeds the threshold value.

次に、取得部112は、第1通信部12が接続中の基地局から受信された基地局IDを取得する(ステップS67)。ステップS67では、取得部112は、第1通信部12が接続中の基地局だけでなく、第1通信部12が接続中でない基地局により送信された基地局IDも取得する。次に、停止制御部113Cは、取得した基地局IDを含む無線信号のレベルを特定する(ステップS68)。停止制御部113Cは、特定したレベルが所定レベルを超えている場合には、取得部112が取得した基地局IDを、その基地局IDが取得された時刻と対応付けて、テーブルTB1に記録する(ステップS69)。停止制御部113Cは、猶予期間内において新たな基地局IDを取得したかどうかを判定する(ステップS70)。 Next, the acquisition unit 112 acquires the base station ID received from the base station to which the first communication unit 12 is connected (step S67). In step S67, the acquisition unit 112 acquires not only the base station to which the first communication unit 12 is connected, but also the base station ID transmitted by the base station to which the first communication unit 12 is not connected. Next, the stop control unit 113C specifies the level of the radio signal including the acquired base station ID (step S68). When the specified level exceeds a predetermined level, the stop control unit 113C records the base station ID acquired by the acquisition unit 112 in the table TB1 in association with the time when the base station ID is acquired. (Step S69). The stop control unit 113C determines whether or not a new base station ID has been acquired within the grace period (step S70).

ステップS70で「NO」と判定した場合、停止制御部113Cは、猶予期間が経過したかどうかを判定する(ステップS71)。猶予期間が経過していないと判定した場合は、中継装置10Cの処理は、ステップS67に戻る。このように、猶予期間内で、且つ基地局IDに変化がない期間にあっては、ステップS67〜S71(ステップS70,S71で「NO」)の処理が、繰り返し実行されることになる。 If it is determined as "NO" in step S70, the stop control unit 113C determines whether or not the grace period has elapsed (step S71). If it is determined that the grace period has not elapsed, the process of the relay device 10C returns to step S67. As described above, within the grace period and during the period when the base station ID does not change, the processes of steps S67 to S71 (“NO” in steps S70 and S71) are repeatedly executed.

ここで、図19の上段のグラフに示すように、猶予期間内の時刻t3において、取得部112が新たな基地局ID「ID104」を取得した場合を考える。この場合、停止制御部113Cは、ステップS70で「YES」と判定し、中継処理を停止させる(ステップS72)。基地局ID「ID104」は、本発明の第2識別子に相当する。基地局IDの収容替えによる更新が行われる頻度はさほど高くないと推定される。よって、猶予期間を開始させるトリガーとなった時刻t2における基地局IDの変化と、猶予期間内の時刻t3における基地局IDの変化は、中継装置10Cの移動による変化とみなす。 Here, as shown in the upper graph of FIG. 19, consider a case where the acquisition unit 112 acquires a new base station ID “ID104” at time t3 within the grace period. In this case, the stop control unit 113C determines "YES" in step S70 and stops the relay process (step S72). The base station ID "ID104" corresponds to the second identifier of the present invention. It is estimated that the frequency of renewal by changing the accommodation of the base station ID is not so high. Therefore, the change in the base station ID at the time t2 that triggered the start of the grace period and the change in the base station ID at the time t3 within the grace period are regarded as changes due to the movement of the relay device 10C.

ステップS71で「YES」と判定した場合、つまり、猶予期間が経過するまでに取得部112が新たな基地局IDを取得しなかった場合、停止制御部113Cは、基地局IDの取得数の再設定を行う(ステップS73)。ここでは、停止制御部113Cは、猶予期間を開始させるトリガーとなった基地局IDを、更新により変化した基地局IDとするように、テーブルTB1を設定する。ここで、図19の下段のグラフに示すように、基地局ID「ID101」、「ID102」、及び「ID103」が取得された後、猶予期間内において新たな基地局IDが取得されなかった場合を考える。この場合、基地局ID「ID001」、「ID002」、及び「ID003」については、基地局IDの更新により既に使用されなくなったので、停止制御部113Cは、基地局IDの取得数には含めないようにする。このため、停止制御部113Cは、テーブルTB1から、基地局ID「ID001」、「ID002」、及び「ID003」を削除する。これにより、猶予期間後の時刻t4においては、中継装置10Cは、基地局IDの取得数を、基地局ID「ID101」、「ID102」、及び「ID103」の「3」とする。そして、中継装置10Cは、基地局ID「ID101」、「ID102」、及び「ID103」とは異なる基地局ID(本発明の第3識別子に相当する。)を取得し、更に、基地局IDの取得数が閾値を超えると、ステップS66以降の処理を行うこととなる。 If "YES" is determined in step S71, that is, if the acquisition unit 112 does not acquire a new base station ID by the elapse of the grace period, the stop control unit 113C re-acquires the number of acquisitions of the base station ID. Make the settings (step S73). Here, the stop control unit 113C sets the table TB1 so that the base station ID that triggered the start of the grace period is the base station ID that has changed due to the update. Here, as shown in the lower graph of FIG. 19, when a new base station ID is not acquired within the grace period after the base station IDs "ID101", "ID102", and "ID103" are acquired. think of. In this case, the base station IDs "ID001", "ID002", and "ID003" are no longer used due to the update of the base station ID, so the stop control unit 113C is not included in the number of acquisitions of the base station ID. To do so. Therefore, the stop control unit 113C deletes the base station IDs "ID001", "ID002", and "ID003" from the table TB1. As a result, at the time t4 after the grace period, the relay device 10C sets the number of acquired base station IDs to "3" of the base station IDs "ID101", "ID102", and "ID103". Then, the relay device 10C acquires a base station ID (corresponding to the third identifier of the present invention) different from the base station IDs "ID101", "ID102", and "ID103", and further obtains the base station ID. When the number of acquisitions exceeds the threshold value, the processing of step S66 and subsequent steps is performed.

以上説明した(動作例1)によれば、中継装置10Cは、猶予期間内における基地局IDの変化に基づいて、基地局IDの更新か、中継装置10Cの移動かを判定することができる。この構成により、上述した第1〜第3実施形態よりも閾値を小さくしても、中継装置10が移動していないにも関わらず中継処理が停止される可能性は低くなる。
なお、ステップS62,S67では、取得部112は、第1通信部12が接続中の基地局から、基地局IDを取得してもよい。この場合、ステップS63,S68は省略可能である。
According to the above-described (operation example 1), the relay device 10C can determine whether to update the base station ID or move the relay device 10C based on the change in the base station ID within the grace period. With this configuration, even if the threshold value is made smaller than that of the first to third embodiments described above, the possibility that the relay process is stopped even though the relay device 10 is not moving is reduced.
In steps S62 and S67, the acquisition unit 112 may acquire the base station ID from the base station to which the first communication unit 12 is connected. In this case, steps S63 and S68 can be omitted.

(動作例2)
図20は、中継装置10Cが行う(動作例2)に係る制御を示すフローチャートである。図21は、この(動作例2)に係る制御の一例の説明図である。
取得部112は、第1通信部12により基地局から受信された基地局IDを取得する(ステップS81)。ステップS81では、取得部112は、第1通信部12が接続中の基地局だけでなく、第1通信部12が接続中でない基地局により送信された基地局IDも取得する。次に、停止制御部113Cは、取得された基地局IDを送信した基地局からの無線信号のレベルを特定する(ステップS82)。次に、停止制御部113Cは、取得部112が取得した基地局IDが変化したかどうかを判定する(ステップS83)。ステップS83で「NO」と判定した場合、中継装置10CはステップS81に処理を戻す。
(Operation example 2)
FIG. 20 is a flowchart showing the control performed by the relay device 10C (operation example 2). FIG. 21 is an explanatory diagram of an example of control according to this (operation example 2).
The acquisition unit 112 acquires the base station ID received from the base station by the first communication unit 12 (step S81). In step S81, the acquisition unit 112 acquires not only the base station to which the first communication unit 12 is connected, but also the base station ID transmitted by the base station to which the first communication unit 12 is not connected. Next, the stop control unit 113C identifies the level of the radio signal from the base station that transmitted the acquired base station ID (step S82). Next, the stop control unit 113C determines whether or not the base station ID acquired by the acquisition unit 112 has changed (step S83). If "NO" is determined in step S83, the relay device 10C returns the process to step S81.

ステップS83で「YES」と判定した場合、つまり、取得部112が取得した基地局IDが変化したと判定した場合、停止制御部113Cは、変化した基地局IDが示す基地局からの無線信号のレベルの変化が、所定の条件を満たすかどうかを判定する(ステップS84)。ここで、図21の上段のグラフに示すように、基地局ID「ID001」、「ID002」、及び「ID003」が取得された状態から、基地局ID「ID002」、「ID003」、及び「ID101」が取得された状態に変化した場合を考える。この例では、基地局ID「ID001」を含む無線信号のレベルが瞬時的にゼロになり、また、基地局ID「ID101」を含む無線信号のレベルが瞬時的に増大している。このような場合、基地局IDが「ID001」から「ID101」に更新されたとみなす。このように、基地局IDを含む無線信号のレベルの単位時間の変化量が閾値を超えている場合、停止制御部113Cは、ステップS84で「YES」と判定し、中継処理を継続させる。そして、中継装置10Cは、処理をステップS81に戻す。 When it is determined as "YES" in step S83, that is, when it is determined that the base station ID acquired by the acquisition unit 112 has changed, the stop control unit 113C receives the radio signal from the base station indicated by the changed base station ID. It is determined whether or not the change in level satisfies a predetermined condition (step S84). Here, as shown in the upper graph of FIG. 21, the base station IDs "ID002", "ID003", and "ID101" are obtained from the state in which the base station IDs "ID001", "ID002", and "ID003" are acquired. Consider the case where "" has changed to the acquired state. In this example, the level of the radio signal including the base station ID "ID001" is instantaneously set to zero, and the level of the radio signal including the base station ID "ID101" is momentarily increased. In such a case, it is considered that the base station ID has been updated from "ID001" to "ID101". In this way, when the amount of change in the level of the radio signal including the base station ID in a unit time exceeds the threshold value, the stop control unit 113C determines “YES” in step S84 and continues the relay process. Then, the relay device 10C returns the process to step S81.

一方、図22の上段のグラフに示すように、基地局ID「ID001」を含む無線信号のレベルが僅かに減少し、また、基地局ID「ID101」を含む無線信号のレベルが僅かに増大した場合を考える。このような場合、中継装置10Cの移動により、基地局IDが「ID001」が取得されなくなり、また、「ID101」が取得されるようになったとみなす。中継装置10Cの移動はその利用者の移動に伴ってするものであるから、或る基地局から離れるにつれて、その基地局からの無線信号のレベルは次第に低くなるはずだからである。このように、基地局IDを含む無線信号のレベルの単位時間の変化量が閾値以下の場合、停止制御部113Cは、ステップS84で「NO」と判定し、中継処理を停止させる(ステップS85)。
なお、この(動作例2)の制御は、基地局IDの取得数が閾値を超えた期間にだけ、行われてもよい。
On the other hand, as shown in the upper graph of FIG. 22, the level of the radio signal including the base station ID "ID001" decreased slightly, and the level of the radio signal including the base station ID "ID101" increased slightly. Consider the case. In such a case, it is considered that the base station ID "ID001" is no longer acquired and "ID101" is acquired due to the movement of the relay device 10C. This is because the movement of the relay device 10C accompanies the movement of the user, so that the level of the radio signal from the base station should gradually decrease as the distance from the base station increases. In this way, when the amount of change in the unit time of the level of the radio signal including the base station ID is equal to or less than the threshold value, the stop control unit 113C determines “NO” in step S84 and stops the relay process (step S85). ..
Note that this control (operation example 2) may be performed only during the period when the number of acquired base station IDs exceeds the threshold value.

以上説明した(動作例2)によれば、基地局IDを含む無線信号のレベルの変化に基づいて、基地局IDの更新か、中継装置10Cの移動かを判定することができる。この構成により、中継装置10Cが取得した複数の基地局IDのうちの一部が更新された場合でも、中継処理の停止に係る制御を精度良く行うことができる。
なお、本実施形態において、閾値を固定値とする場合は、制御部11の機能から設定部114が省略されてよい。
According to the above-described (operation example 2), it is possible to determine whether the base station ID is updated or the relay device 10C is moved based on the change in the level of the radio signal including the base station ID. With this configuration, even when a part of the plurality of base station IDs acquired by the relay device 10C is updated, it is possible to accurately control the stop of the relay process.
In the present embodiment, when the threshold value is set to a fixed value, the setting unit 114 may be omitted from the function of the control unit 11.

[変形例]
本発明は、上述した実施形態と異なる形態で実施してもよい。また、以下に示す変形例は、各々を組み合わせてもよい。
(変形例1)
上述した第2実施形態の(動作例2)に関し、設定部114は、基地局IDの収集期間を複数の単位期間に区分し、当該複数の単位期間のうち、一の単位期間における基地局IDの取得数が、他の単位期間における取得数に対して所定の基準以上に乖離する場合には、当該一の単位期間における基地局IDの取得結果を用いないで、閾値を設定してもよい。例えば、基地局IDの収集期間の長さを24時間とし、単位期間の長さを1時間としたとする。この場合において、一の単位期間における基地局IDの取得数が「6」で、それ以外の単位期間における基地局IDの取得数が「3」であった場合、当該一の単位期間に中継装置10Aが移動した可能性がある。そこで、設定部114は、当該一の単位期間を除外して、閾値を設定する。これにより、閾値が過剰に高く設定されるのを防ぐことができる。
[Modification example]
The present invention may be implemented in a form different from the above-described embodiment. Moreover, you may combine each of the modification shown below.
(Modification example 1)
Regarding (Operation Example 2) of the second embodiment described above, the setting unit 114 divides the collection period of the base station ID into a plurality of unit periods, and the base station ID in one unit period among the plurality of unit periods. If the number of acquisitions of is more than a predetermined standard with respect to the number of acquisitions in another unit period, a threshold value may be set without using the acquisition result of the base station ID in the one unit period. .. For example, assume that the length of the base station ID collection period is 24 hours and the length of the unit period is 1 hour. In this case, if the number of base station IDs acquired in one unit period is "6" and the number of base station IDs acquired in other unit periods is "3", the relay device is used in the one unit period. 10A may have moved. Therefore, the setting unit 114 excludes the one unit period and sets the threshold value. This makes it possible to prevent the threshold value from being set excessively high.

(変形例2)
上述した第4実施形態に関し、停止制御部113Cは、取得部112が取得する2以上の基地局IDが一斉に変化した場合には、収容替えとみなし、中継処理を停止せず継続させてもよい。2以上の基地局IDが一斉に変化するとは、2以上の基地局IDが同時、又は所定の時間内に全て変化することをいう。収容替えによって基地局IDが更新される場合、複数の基地局で同時にその更新が行われることがあるからである。一方で、停止制御部113Cは、いずれか1のみの基地局IDが変化した場合には、中継装置10Cが移動したとみなし、中継処理を停止させる。
なお、この変形例の制御は、基地局IDの取得数が閾値を超えた期間にだけ行われてもよい。
(Modification 2)
Regarding the fourth embodiment described above, when the two or more base station IDs acquired by the acquisition unit 112 change all at once, the stop control unit 113C considers the accommodation to be replaced and may continue the relay processing without stopping. Good. When two or more base station IDs change all at once, it means that two or more base station IDs change at the same time or all within a predetermined time. This is because when the base station ID is updated by the accommodation change, the update may be performed at a plurality of base stations at the same time. On the other hand, when the base station ID of only one of them changes, the stop control unit 113C considers that the relay device 10C has moved and stops the relay process.
The control of this modification may be performed only during the period when the number of acquired base station IDs exceeds the threshold value.

(変形例3)
上述した第2実施形態に関し、中継装置10Aの初回の電源オンが、必ずしも、中継装置10Aが本来利用されるべき場所で行われるとは限らない。そこで、中継装置10Aの設定部114は、テーブルTB2に記録した基地局IDの取得履歴をリセットして、閾値を再設定してもよい。ただし、この再設定が頻繁に行われると、様々な場所で中継装置10Aを利用可能となる。このため、設定部114は、テーブルTB2のリセットをした場合は、一定期間内は中継処理を行わないようにしてもよい。また、設定部114は、リセット可能な回数を制限してもよい。
(Modification 3)
Regarding the second embodiment described above, the first power-on of the relay device 10A is not always performed at the place where the relay device 10A should be originally used. Therefore, the setting unit 114 of the relay device 10A may reset the acquisition history of the base station ID recorded in the table TB2 and reset the threshold value. However, if this resetting is performed frequently, the relay device 10A can be used in various places. Therefore, when the table TB2 is reset, the setting unit 114 may not perform the relay process within a certain period of time. Further, the setting unit 114 may limit the number of resettable times.

(変形例4)
上述した第3実施形態に関し、停止制御部113は、基地局IDに基づいて中継装置10Bが移動したことを判定した後に、すぐに中継処理を停止させるのではなく、その移動の判定後に行われた測位の結果に基づいて、中継処理の停止の有無を判定してもよい。この測位は、例えば、位置特定部115により、GPSや、SUPLサーバからの情報の取得、基地局測位により行われる。停止制御部113は、この測位の結果に基づいて、中継装置10Bが移動したと判定した場合に、中継処理を停止させる。例えば、記憶部14に予め契約者住所の位置情報が記憶されており、停止制御部113は、測位の結果と、当該位置情報が示す位置との距離が所定距離以上である場合には、中継装置10Bが移動したと判定する。なお、常に契約者住所の位置情報を用いて移動の有無を判定することも考えられるが、このような測位を常時行うことは、サーバ負荷やトラフィックの観点から望ましくない場合がある。本変形例の中継装置10Bのように、基地局IDに基づいて移動があったことを判定した後に、測位を行えば、常時この測位を行わなくても、中継装置10Bが移動したことを速やかに検知することができる。
なお、本変形例の構成は、上述した第1,第2,第4実施形態の各動作例にも適用可能である。
(Modification example 4)
Regarding the third embodiment described above, the stop control unit 113 does not stop the relay process immediately after determining that the relay device 10B has moved based on the base station ID, but performs it after the determination of the movement. Based on the result of the positioning, it may be determined whether or not the relay processing is stopped. This positioning is performed by, for example, the position specifying unit 115 by acquiring information from GPS or a SUPL server, or by positioning a base station. The stop control unit 113 stops the relay process when it is determined that the relay device 10B has moved based on the result of this positioning. For example, when the position information of the contractor's address is stored in advance in the storage unit 14, and the distance between the positioning result and the position indicated by the position information is equal to or longer than a predetermined distance, the stop control unit 113 relays. It is determined that the device 10B has moved. It is conceivable to always use the location information of the contractor's address to determine the presence or absence of movement, but it may not be desirable from the viewpoint of server load and traffic to always perform such positioning. As in the relay device 10B of this modification, if positioning is performed after determining that there has been a movement based on the base station ID, the movement of the relay device 10B can be promptly detected without constantly performing this positioning. Can be detected.
The configuration of this modification can also be applied to each operation example of the first, second, and fourth embodiments described above.

(変形例5)
上述した実施形態で説明した構成、及び動作の一部が省略されてもよい。例えば、上述した第4実施形態の中継装置10Cは、閾値を考慮せずに、新たな基地局IDを取得すると、猶予期間を開始させてもよい。
また、本発明の中継装置は、上述した2以上の動作例の動作を行ってもよい。
(Modification 5)
A part of the configuration and operation described in the above-described embodiment may be omitted. For example, the relay device 10C of the fourth embodiment described above may start the grace period when a new base station ID is acquired without considering the threshold value.
Further, the relay device of the present invention may perform the operations of the two or more operation examples described above.

(変形例6)
上述した実施形態の中継装置10,10A,10B,10Cの制御部11が実現する機能は、複数のプログラムの組み合わせによって実現され、又は、複数のハードウェア資源の連係によって実現され得る。制御部11の機能がプログラムを用いて実現される場合、このプログラムは、磁気記録媒体(磁気テープ、磁気ディスク(HDD(Hard Disk Drive)、FD(Flexible Disk))等)、光記録媒体(光ディスク等)、光磁気記録媒体、半導体メモリ等のコンピュータ読み取り可能な記録媒体に記憶した状態で提供されてもよいし、ネットワークを介して配信されてもよい。また、本発明は、中継装置の制御方法として実現することも可能である。
(Modification 6)
The function realized by the control unit 11 of the relay devices 10, 10A, 10B, and 10C of the above-described embodiment can be realized by combining a plurality of programs or by linking a plurality of hardware resources. When the function of the control unit 11 is realized by using a program, this program includes a magnetic recording medium (magnetic tape, magnetic disk (HDD (Hard Disk Drive), FD (Flexible Disk), etc.)), optical recording medium (optical disk). Etc.), may be provided in a state of being stored in a computer-readable recording medium such as an optical magnetic recording medium or a semiconductor memory, or may be distributed via a network. The present invention can also be realized as a control method for a relay device.

1…システム、10,10A,10B,10C…中継装置、11…制御部、111…中継処理部、112…取得部、113,113C…停止制御部、114…設定部、115…位置特定部、12…第1通信部、13…第2通信部、14…記憶部、15…操作部、20…無線通信端末、30…移動通信網、40…位置管理サーバ。 1 ... System, 10, 10A, 10B, 10C ... Relay device, 11 ... Control unit, 111 ... Relay processing unit, 112 ... Acquisition unit, 113, 113C ... Stop control unit, 114 ... Setting unit, 115 ... Position identification unit, 12 ... 1st communication unit, 13 ... 2nd communication unit, 14 ... storage unit, 15 ... operation unit, 20 ... wireless communication terminal, 30 ... mobile communication network, 40 ... location management server.

Claims (9)

複数の基地局を含む移動通信網と通信する第1通信部と、
外部の無線通信端末と通信する第2通信部と、
前記複数の基地局の各々により送信される識別子のうち、前記第1通信部によって受信された識別子を取得する取得部と、
所定の第1期間内に前記取得部が取得した識別子の数が閾値を超えた場合に、所定の第2期間を開始させ、当該第2期間内に、前記取得部が前記第1期間内に取得した前記識別子とは異なる識別子を新たに取得したときは、前記無線通信端末と前記移動通信網との間で行われる通信を中継する中継処理を停止させる一方で、当該第2期間内に、前記取得部が前記第1期間内に取得した前記識別子とは異なる識別子を新たに取得しないときは、前記無線通信端末と前記移動通信網との間で行われる通信を中継する中継処理を停止させない停止制御部と
を備える中継装置。
The first communication unit that communicates with the mobile communication network including multiple base stations,
The second communication unit that communicates with an external wireless communication terminal,
Among the identifiers transmitted by each of the plurality of base stations, the acquisition unit that acquires the identifier received by the first communication unit, and the acquisition unit.
When the number of identifiers acquired by the acquisition unit exceeds the threshold within the predetermined first period , the predetermined second period is started, and within the second period, the acquisition unit within the first period. When a new identifier different from the acquired identifier is acquired, the relay process for relaying the communication performed between the wireless communication terminal and the mobile communication network is stopped, while the relay process is stopped within the second period. When the acquisition unit does not newly acquire an identifier different from the identifier acquired within the first period, the relay process for relaying the communication performed between the wireless communication terminal and the mobile communication network is not stopped. A relay device equipped with a stop control unit.
前記停止制御部は、
前記第1通信部を介して接続した1以上の基地局から取得した前記識別子の数が、前記閾値を超えた場合に、前記中継処理を停止させる
ことを特徴とする請求項に記載の中継装置。
The stop control unit
The number of the identifier obtained from one or more base stations connected through the first communication unit, if it exceeds the threshold, the relay according to claim 1, characterized in that stops the relay process apparatus.
前記停止制御部は、
前記第1通信部を介して接続中でない基地局を含む1以上の基地局から取得した前記識別子の数が、前記閾値を超えた場合に、前記中継処理を停止させる
ことを特徴とする請求項に記載の中継装置。
The stop control unit
The claim is characterized in that the relay process is stopped when the number of the identifiers acquired from one or more base stations including the base station not connected via the first communication unit exceeds the threshold value. The relay device according to 1.
前記第1通信部を介して接続した1以上の基地局から取得した前記識別子の数に基づいて、前記閾値を設定する設定部を備える
ことを特徴とする請求項1から請求項3のいずれか1項に記載の中継装置。
Any one of claims 1 to 3 , wherein the setting unit for setting the threshold value is provided based on the number of the identifiers acquired from one or more base stations connected via the first communication unit. The relay device according to item 1.
前記第1通信部を介して接続中でない基地局を含む1以上の基地局から取得した前記識別子の数に基づいて、前記閾値を設定する設定部を備える
ことを特徴とする請求項から請求項4のいずれか1項に記載の中継装置。
Based on the number of the identifier obtained from one or more base stations including base station not being connected via the first communication unit, wherein the claim 1, characterized in that it comprises a setting unit that sets the threshold value Item 4. The relay device according to any one of Item 4.
前記識別子が取得されたときの自中継装置の位置を特定する位置特定部を備え、
前記設定部は、
前記位置特定部が特定した位置が変化していない期間に取得された前記識別子に基づいて、前記閾値を設定する
ことを特徴とする請求項又は請求項に記載の中継装置。
A position specifying unit for specifying the position of the self-relaying device when the identifier is acquired is provided.
The setting unit
The relay device according to claim 4 or 5 , wherein the threshold value is set based on the identifier acquired during the period in which the position specified by the position specifying unit has not changed.
前記設定部は、
前記第1期間を複数の単位期間に区分し、当該複数の単位期間のうち、一の単位期間に取得された前記識別子の数が、他の単位期間に取得された前記識別子の数に対して所定の基準以上に乖離する場合には、当該一の単位期間における前記識別子の取得結果を用いないで、前記閾値を設定する
ことを特徴とする請求項から請求項のいずれか1項に記載の中継装置。
The setting unit
The first period is divided into a plurality of unit periods, and the number of the identifiers acquired in one unit period among the plurality of unit periods is the number of the identifiers acquired in the other unit period. In the case of deviation from a predetermined standard or more, any one of claims 4 to 6 is characterized in that the threshold value is set without using the acquisition result of the identifier in the one unit period. The relay device described.
前記停止制御部は、
前記取得部が取得する2以上の前記識別子が一斉に変化した場合には、前記中継処理を停止させない
ことを特徴とする請求項又は請求項に記載の中継装置。
The stop control unit
The relay device according to claim 1 or 7 , wherein the relay process is not stopped when two or more of the identifiers acquired by the acquisition unit change all at once.
複数の基地局を含む移動通信網と通信する第1通信部と、
外部の無線通信端末と通信する第2通信部と、
を備える中継装置のコンピュータに、
前記複数の基地局の各々により送信される識別子のうち、前記第1通信部によって受信された識別子を取得するステップと、
所定の第1期間内に取得した前記識別子の数が閾値を超えた場合に、所定の第2期間を開始させ、当該第2期間内に、前記第1期間内に取得した前記識別子とは異なる識別子を新たに取得したときは、前記無線通信端末と前記移動通信網との間で行われる通信を中継する中継処理を停止させる一方で、当該第2期間内に、前記第1期間内に取得した前記識別子とは異なる識別子を新たに取得しないときは、前記無線通信端末と前記移動通信網との間で行われる通信を中継する中継処理を停止させないステップと
を実行させるためのプログラム。
The first communication unit that communicates with the mobile communication network including multiple base stations,
The second communication unit that communicates with an external wireless communication terminal,
To the computer of the relay device equipped with
Among the identifiers transmitted by each of the plurality of base stations, the step of acquiring the identifier received by the first communication unit, and
When the number of the identifiers acquired within the predetermined first period exceeds the threshold value, the predetermined second period is started, and the identifiers acquired within the second period are different from the identifiers acquired within the first period. When the identifier is newly acquired, the relay process for relaying the communication performed between the wireless communication terminal and the mobile communication network is stopped, and the identifier is acquired within the second period and within the first period. A program for executing a step of not stopping the relay process of relaying the communication performed between the wireless communication terminal and the mobile communication network when a new identifier different from the above-mentioned identifier is not acquired.
JP2016224020A 2016-11-17 2016-11-17 Relay device and program Active JP6836374B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016224020A JP6836374B2 (en) 2016-11-17 2016-11-17 Relay device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016224020A JP6836374B2 (en) 2016-11-17 2016-11-17 Relay device and program

Publications (2)

Publication Number Publication Date
JP2018082334A JP2018082334A (en) 2018-05-24
JP6836374B2 true JP6836374B2 (en) 2021-03-03

Family

ID=62197236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016224020A Active JP6836374B2 (en) 2016-11-17 2016-11-17 Relay device and program

Country Status (1)

Country Link
JP (1) JP6836374B2 (en)

Also Published As

Publication number Publication date
JP2018082334A (en) 2018-05-24

Similar Documents

Publication Publication Date Title
EP2668812B1 (en) Intelligent management of location sensor
US9332486B2 (en) Method and system for selecting a wireless network
EP2786618B1 (en) Method and apparatus for selecting an access point based on direction of movement
US20130035118A1 (en) Mobile wireless communication device and a computer-readable recording medium
KR102066308B1 (en) Determining availability of an access network
CN103797332A (en) Selectively performing positioning procedure at access terminal based on behavior model
US11805400B2 (en) Systems and methods for facilitating network function device discovery
US10009715B2 (en) Geographic information for wireless networks
WO2012109207A1 (en) System and method for managing wireless connections and radio resources
JP2015035712A (en) Radio base station device, radio terminal device, radio communication system, inter-terminal direct communication control method, and computer program
WO2022095436A1 (en) Network access method, terminal, and computer-readable storage medium
JP6836374B2 (en) Relay device and program
EP3381227B1 (en) Predicting wireless access point availability
JP2016072887A (en) Position information management device, position information management method, and program
JP6473113B2 (en) Download environment optimization program, wireless communication terminal, system, download environment optimization method
US9986088B2 (en) Automated MDN line transfer
JP6462639B2 (en) Wireless communication apparatus, method and program
JP2018117272A (en) Mobile communication system
JP6449841B2 (en) Terminal device, measurement system, measurement method, and computer program
JP2017168075A (en) Sensor network system, information processing device, information processing method, program, and sensor information transmitter/receiver
JP2016162080A (en) Network switching method, network switching program, and information processing apparatus
JP6108480B2 (en) Communication device, management server, indoor / outdoor determination database generation method and program
JP6330381B2 (en) Mobile terminal, control method, and control program
JP6301085B2 (en) User device and area information notification method
US9801012B2 (en) Radio communication system and location characteristic determination method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191002

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200805

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200818

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201012

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210119

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210205

R150 Certificate of patent or registration of utility model

Ref document number: 6836374

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250