JP2023059035A - Information processing device, control method thereof, and program - Google Patents

Information processing device, control method thereof, and program Download PDF

Info

Publication number
JP2023059035A
JP2023059035A JP2021168907A JP2021168907A JP2023059035A JP 2023059035 A JP2023059035 A JP 2023059035A JP 2021168907 A JP2021168907 A JP 2021168907A JP 2021168907 A JP2021168907 A JP 2021168907A JP 2023059035 A JP2023059035 A JP 2023059035A
Authority
JP
Japan
Prior art keywords
terminal
information processing
processing device
terminals
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021168907A
Other languages
Japanese (ja)
Inventor
聡大 岩田
Sota Iwata
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2021168907A priority Critical patent/JP2023059035A/en
Publication of JP2023059035A publication Critical patent/JP2023059035A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

To connect an information processing device to a new terminal while connecting the information processing device to an appropriate terminal depending on the situation when the number of connected terminals reaches the upper limit.SOLUTION: In a case in which a wireless connection request is received from a new terminal, when the number of terminals currently connected has already reached the upper limit, information on a currently connected terminal is acquired, and it is determined whether there is a terminal that can be disconnected from the currently connected terminals on the basis of the acquired information. When there is a terminal that can be disconnected, the connection with that terminal is disconnected and the connection of a new terminal is performed.SELECTED DRAWING: Figure 2

Description

本発明は、情報処理装置、その制御方法およびプログラムに関する。 The present invention relates to an information processing device, its control method, and a program.

従来、ネットワークカメラを使用した撮影システムが普及しており、近年では、配線を簡易化したりモバイル端末などから直接制御を行えるようにしたり利便性と高めることを目的として、無線LAN機能を搭載したネットワークカメラが普及している。このような無線LAN機能搭載のネットワークカメラでは、AP(無線親機、アクセスポイント)モードとして起動し、他のデバイスから接続することで設定のための通信を行う形態も検討されている。カメラがAPモードで起動することによりユーザーは初期設置時でも複雑なネットワーク環境構築や配線を気にすることなく、カメラにネットワークアクセスして映像等の確認や設定ができる。 Conventionally, photography systems that use network cameras have become widespread, and in recent years, networks equipped with wireless LAN functions have been developed for the purpose of simplifying wiring, enabling direct control from mobile terminals, and enhancing convenience. Cameras are prevalent. For such a network camera equipped with a wireless LAN function, a form in which communication for setting is performed by starting up in an AP (wireless base unit, access point) mode and connecting from another device is being studied. By activating the camera in the AP mode, the user can access the camera over the network and check and set the video, etc., without worrying about complicated network environment construction and wiring even at the time of initial installation.

無線の電波を使う都合上、これらの機器が通信を行うためには、機器同士で登録処理を行い、無線通信経路を構築する必要がある。また、必要に応じてデータ暗号を行うための情報交換処理であるペアリングを伴う場合がある。例えば、Wi-Fi(登録商標)では、APに設定された識別ID(SSID)やパスワード(Pre Shared Key)といった接続先情報を無線子機に設定することで、接続を確立する。つまり、APモードで起動する無線LAN機能搭載のネットワークカメラには、それぞれ個体ごとに無線接続のための情報が設定される。 In order for these devices to communicate with each other due to the use of radio waves, it is necessary to establish a wireless communication path by performing registration processing between the devices. In addition, pairing, which is an information exchange process for performing data encryption, may be involved as necessary. For example, in Wi-Fi (registered trademark), connection is established by setting connection destination information such as an identification ID (SSID) and a password (pre-shared key) set in the AP to the wireless slave device. That is, information for wireless connection is set for each individual network camera equipped with a wireless LAN function activated in the AP mode.

このような無線LAN機能搭載のネットワークカメラでは、カメラ1台に対して複数の端末が無線接続できるネットワーク構成を構築する。しかし、1台のAPに対して多数のデバイスが接続すると、スループットの低下やデバイス間のセキュリティの問題が発生する。そのため、一般的なAPでは同時に接続可能な台数を制限するという機能を備える。一方で、一般的なモバイル端末には一度接続した無線APの接続先情報を記憶する機能が備わっており、次回接続時からデバイスが近接しただけで無線接続が可能である。したがって、ユーザーに使用する意図が無かったとしても本機能によって無線接続を行ってしまい、APの同時に接続できる枠を消費することで、新規に接続したい端末が接続できない状況が発生する。こうした場合、接続できない端末は他の端末が接続を切断するまで接続できず、利便性に欠けるという課題がある。そこで、特許文献1及び2には、接続端末数が上限数に達している場合に新規端末を接続可能とする技術が開示されている。 In such a network camera equipped with a wireless LAN function, a network configuration is constructed in which a plurality of terminals can be wirelessly connected to one camera. However, when a large number of devices are connected to one AP, there arise problems of reduced throughput and inter-device security. Therefore, a general AP has a function of limiting the number of devices that can be connected at the same time. On the other hand, a general mobile terminal has a function of storing the connection destination information of a wireless AP that has been connected once, and wireless connection is possible from the next connection only by the proximity of the device. Therefore, even if the user does not intend to use the function, the wireless connection is made by this function, and the simultaneous connection frame of the AP is consumed, so that a situation occurs in which a terminal to be newly connected cannot be connected. In such a case, a terminal that cannot be connected cannot be connected until the other terminal disconnects, resulting in a problem of lack of convenience. Therefore, Patent Literatures 1 and 2 disclose techniques for allowing new terminals to be connected when the number of connected terminals reaches the upper limit.

特開2020-155991号公報Japanese Patent Application Laid-Open No. 2020-155991 特開2018-38084号公報JP 2018-38084 A

特許文献1には、接続端末数が上限数に達している場合に現在設定されているSSIDとパスワードとは異なる値に変更してAP機能を一時的に実施することで、新規端末を接続可能とする技術が開示されている。しかし、この技術ではSSIDとパスワードとを変更してしまうことで、現在接続している端末との接続が切断されてしまう場合がある。また特許文献2には、接続端末数が上限に達している場合にあらかじめAPに定められた機器の種類に応じた優先度に従って現在接続されている機器との接続を切断し、新規端末との接続を可能とする技術が開示されている。しかし、この技術を利用する際には接続される機器の優先度をあらかじめ設定する必要があり、ユーザーにとって多くの手間がかかる。 In Patent Document 1, when the number of connected terminals reaches the upper limit, the currently set SSID and password are changed to different values and the AP function is temporarily performed, thereby making it possible to connect new terminals. A technique is disclosed. However, with this technology, changing the SSID and password may disconnect the currently connected terminal. Further, in Patent Document 2, when the number of connected terminals reaches the upper limit, the currently connected device is disconnected in accordance with the priority according to the type of device previously determined in the AP, and the connection with the new terminal is terminated. A technology that enables connection is disclosed. However, when using this technology, it is necessary to set the priority of connected devices in advance, which requires a lot of work for the user.

本発明は前述の問題点に鑑み、接続台数が上限に達している場合に、状況に応じて適切な端末と接続したまま、新規端末と接続できるようにすることを目的としている。 SUMMARY OF THE INVENTION In view of the aforementioned problems, it is an object of the present invention to enable connection to a new terminal while maintaining connection to an appropriate terminal according to the situation when the number of connected terminals has reached the upper limit.

本発明に係る情報処理装置は、1又は複数の端末と無線通信により接続する情報処理装置であって、前記情報処理装置と接続している端末に関する情報を取得する取得手段と、新規端末による接続要請を検知し、前記情報処理装置と接続している端末数が上限に達している場合に、前記取得した接続している端末に関する情報を用いて、接続を切断してよい端末があるか否かを判定する判定手段と、前記判定手段により、接続を切断してよい端末があると判定された場合に、当該端末との接続を切断し、前記新規端末との接続を行うように制御する制御手段と、を有することを特徴とする。 An information processing apparatus according to the present invention is an information processing apparatus that is connected to one or more terminals by wireless communication, and includes acquisition means for acquiring information about terminals connected to the information processing apparatus, and connection by a new terminal. When the request is detected and the number of terminals connected to the information processing device reaches the upper limit, the acquired information on the connected terminals is used to determine whether there is a terminal that can be disconnected. and a determination means for determining whether or not there is a terminal that can be disconnected, when the determination means determines that there is a terminal that can be disconnected, the connection with the terminal is disconnected and the connection with the new terminal is performed. and a control means.

本発明によれば、接続台数が上限に達している場合に、状況に応じて適切な端末と接続したまま、新規端末と接続することができる。 According to the present invention, when the number of connected terminals has reached the upper limit, it is possible to connect to a new terminal while maintaining connection with an appropriate terminal depending on the situation.

実施形態に係る無線通信システムの構成例を示す図である。1 is a diagram illustrating a configuration example of a radio communication system according to an embodiment; FIG. 実施形態に係るネットワークカメラの内部構成の例を示す図である。3 is a diagram showing an example of the internal configuration of a network camera according to the embodiment; FIG. 実施形態に係る無線通信システムにおける処理の一例を示すフローチャートである。6 is a flow chart showing an example of processing in the wireless communication system according to the embodiment; 無線通信切断通知時のWebUIの例を示す図である。FIG. 11 is a diagram illustrating an example of a Web UI when wireless communication disconnection is notified; 切断対象の端末判別処理の一例を示すフローチャートである。FIG. 11 is a flowchart showing an example of a disconnection target terminal determination process; FIG. ネットワークカメラの端末管理テーブルの例を示す図である。FIG. 3 is a diagram showing an example of a terminal management table of a network camera; FIG.

以下に、本発明を実施するための形態を、添付の図面に基づいて詳細に説明する。
まず、図1を参照して、本実施形態に係る無線通信システムについて説明する。
本実施形態に係る無線通信システム100は、主にネットワークカメラ101と、モバイル端末102、103と、情報端末104と、無線ネットワーク105と、ネットワーク106とを有している。
EMBODIMENT OF THE INVENTION Below, the form for implementing this invention is demonstrated in detail based on attached drawing.
First, a wireless communication system according to this embodiment will be described with reference to FIG.
A wireless communication system 100 according to this embodiment mainly includes a network camera 101 , mobile terminals 102 and 103 , an information terminal 104 , a wireless network 105 and a network 106 .

ネットワークカメラ101は、無線通信が可能なカメラで、アクセスポイント(AP)として動作するAPモードを有する。加えて、接続されたネットワークを介して、撮影した映像の配信や各種内部パラメータの設定をすることができる。なお、ネットワークカメラは情報処理装置の一例である。
モバイル端末102、103は、APモードとして起動したネットワークカメラ101に無線子機として接続する。また、モバイル端末102、103はWebブラウザを持ち、ネットワークカメラ101から配信される映像や設定画面などを表示することができる。モバイル端末102、103は、主にネットワークカメラ101を設置する時の画角の設定や簡易操作などをするために用いられる。
A network camera 101 is a camera capable of wireless communication, and has an AP mode in which it operates as an access point (AP). In addition, it is possible to distribute captured images and set various internal parameters via the connected network. A network camera is an example of an information processing apparatus.
The mobile terminals 102 and 103 connect as wireless slave units to the network camera 101 activated in AP mode. The mobile terminals 102 and 103 have Web browsers and can display images distributed from the network camera 101, setting screens, and the like. The mobile terminals 102 and 103 are mainly used for setting the angle of view when installing the network camera 101 and performing simple operations.

情報端末104は、モバイル端末102、103と同様にネットワークカメラ101から配信される映像や設定画面などを表示部に表示することができ、主に高画質な映像など大容量のデータを処理するほか管理者としての操作などメイン運用として用いられる。
無線ネットワーク105は、ネットワークカメラ101とモバイル端末102、103とを接続するための無線ネットワークである。ネットワーク106は、ネットワークカメラ101と情報端末104とを接続するためのネットワークであり、通信形態は有線でも無線でもよい。
The information terminal 104, like the mobile terminals 102 and 103, can display images distributed from the network camera 101, setting screens, and the like on its display unit, and mainly processes large amounts of data such as high-definition images. It is used for main operations such as operations as an administrator.
A wireless network 105 is a wireless network for connecting the network camera 101 and the mobile terminals 102 and 103 . A network 106 is a network for connecting the network camera 101 and the information terminal 104, and may be wired or wireless.

次に、図2(a)を参照して、本無線通信システムにおけるネットワークカメラ101のハードウェア構成例について説明する。ネットワークカメラ101は、CPU11と、ROM12と、RAM13と、HDD14と、入力I/F16と、通信部17と、撮像部18とを有している。 Next, a hardware configuration example of the network camera 101 in this wireless communication system will be described with reference to FIG. The network camera 101 has a CPU 11 , a ROM 12 , a RAM 13 , an HDD 14 , an input I/F 16 , a communication section 17 and an imaging section 18 .

CPU11は、ROM12に記憶された制御プログラムを読み出して各種処理を実行する。RAM13は、CPU11の主メモリ、ワークエリア等の一時記憶領域として用いられる。HDD14は、各種データや各種プログラム等を記憶する。入力I/F16は、操作情報を入力するためのインターフェースである。通信部17は、有線又は無線によりネットワークを介してモバイル端末102などの外部装置との通信処理を行う。
撮像部18は、イメージセンサを有し、レンズから得られた光を電気信号に変換してイメージを生成する。
The CPU 11 reads control programs stored in the ROM 12 and executes various processes. The RAM 13 is used as a main memory of the CPU 11 and a temporary storage area such as a work area. The HDD 14 stores various data, various programs, and the like. The input I/F 16 is an interface for inputting operation information. The communication unit 17 performs communication processing with an external device such as the mobile terminal 102 via a wired or wireless network.
The imaging unit 18 has an image sensor and converts light obtained from the lens into an electrical signal to generate an image.

なお、後述するネットワークカメラ101の機能や処理は、CPU11がROM12又はHDD14に格納されているプログラムを読み出し、このプログラムを実行することにより実現されるものである。また、他の例としては、CPU11は、ROM12等に替えて、SDカード等の記録媒体に格納されているプログラムを読み出してもよい。 The functions and processes of the network camera 101, which will be described later, are realized by the CPU 11 reading a program stored in the ROM 12 or HDD 14 and executing the program. As another example, the CPU 11 may read a program stored in a recording medium such as an SD card instead of the ROM 12 or the like.

次に、図2(b)を参照して、本無線通信システムにおけるネットワークカメラ101の機能構成例について説明する。ネットワークカメラ101は、画像処理部202と、映像出力部203と、制御部204と、記憶部205と、有線通信処理部206と、無線通信処理部207と、シリアル通信処理部208とを有している。 Next, a functional configuration example of the network camera 101 in this wireless communication system will be described with reference to FIG. The network camera 101 has an image processing unit 202, a video output unit 203, a control unit 204, a storage unit 205, a wired communication processing unit 206, a wireless communication processing unit 207, and a serial communication processing unit 208. ing.

画像処理部202は、撮像部18によって変換された電気信号に画像処理、圧縮符号化処理を行い、画像データを生成する。なお、画像処理部202は、専用の回路を設けることによってこれらの処理を行うようにしてもよい。映像出力部203は、画像処理部202によって生成された画像データをHDMI(登録商標)やSDIといった映像出力インターフェースを用いてモバイル端末102、103等の外部の表示機器に出力する。
制御部204は、ネットワークカメラ101に伝達されたコマンドを解析し、コマンドに応じた処理を行う。また制御部204は、ネットワークカメラ101と接続している端末の情報を記憶部205から取得し、新規端末の接続についての判定を行う。
The image processing unit 202 performs image processing and compression encoding processing on the electrical signal converted by the imaging unit 18 to generate image data. Note that the image processing unit 202 may perform these processes by providing a dedicated circuit. A video output unit 203 outputs image data generated by the image processing unit 202 to an external display device such as the mobile terminals 102 and 103 using a video output interface such as HDMI (registered trademark) or SDI.
The control unit 204 analyzes the command transmitted to the network camera 101 and performs processing according to the command. The control unit 204 also acquires information on terminals connected to the network camera 101 from the storage unit 205 and determines connection of a new terminal.

記憶部205は、画質調整のパラメータやネットワークの設定といった設定値などを記憶する。再起動などした場合でも以前設定した値を用いて起動することが可能である。有線通信処理部206は、有線LANによるネットワーク通信の処理を行う。無線通信処理部207は、無線LANによるネットワーク通信の処理を行い、AP機能とステーション(STA)機能とを有する。また無線通信処理部207は、制御部204の指示に従って他の端末との接続処理、接続切断処理を行う。
シリアル通信処理部208は、RS-232Cなどのシリアル通信インターフェースを用いて、カメラ制御用プロトコルを受信する。
本実施形態におけるネットワークカメラ101は少なくとも以上の処理部を含む。
The storage unit 205 stores setting values such as image quality adjustment parameters and network settings. Even after restarting, it is possible to start using the previously set values. A wired communication processing unit 206 processes network communication by a wired LAN. A wireless communication processing unit 207 performs network communication processing using a wireless LAN, and has an AP function and a station (STA) function. The wireless communication processing unit 207 also performs connection processing and connection disconnection processing with other terminals according to instructions from the control unit 204 .
A serial communication processing unit 208 receives a camera control protocol using a serial communication interface such as RS-232C.
The network camera 101 in this embodiment includes at least the above processing units.

次に、図3のフローチャートを参照して、本実施形態に係る無線通信システムにおける処理手順について説明する。本フローの処理は、モバイル端末103がユーザーの操作に従って、ネットワークカメラ101へ無線通信の接続要求をすることにより開始される。
まず、ステップS301において、無線通信処理部207は、モバイル端末103からの無線通信の接続要求を検知する。
Next, a processing procedure in the wireless communication system according to this embodiment will be described with reference to the flowchart of FIG. The processing of this flow starts when the mobile terminal 103 makes a connection request for wireless communication to the network camera 101 according to the user's operation.
First, in step S<b>301 , the wireless communication processing unit 207 detects a wireless communication connection request from the mobile terminal 103 .

ステップS302において、制御部204は、ネットワークカメラ101に現在接続されている無線端末が上限数に達しているか否かを判定する。制御部204は、上限数に達していると判定した場合は、処理をステップS303へ進める。一方、制御部204は、上限数に達しておらず接続数に余裕があると判定した場合は、処理をステップ306へ進め、モバイル端末103との接続処理を行う。
なお接続可能な上限数は、無線通信規格による制限又はユーザーの設定によって自由に定めることが可能である。例えば、ネットワークカメラ101は、情報端末104を介して、Webブラウザから設定内容を変更することであらかじめ接続可能な台数を設定できるようにしてもよい。本実施形態における上限数の設定方法は一例であり、上限数を設定できる手段であれば形態は問わない。
In step S302, the control unit 204 determines whether the number of wireless terminals currently connected to the network camera 101 has reached the upper limit. If the control unit 204 determines that the upper limit number has been reached, the process proceeds to step S303. On the other hand, if the control unit 204 determines that the number of connections has not reached the upper limit and there is a margin in the number of connections, the process proceeds to step 306 to perform connection processing with the mobile terminal 103 .
It should be noted that the maximum number of connectable devices can be freely determined according to restrictions imposed by wireless communication standards or user settings. For example, the network camera 101 may allow the number of connectable cameras to be set in advance by changing the settings from the web browser via the information terminal 104 . The method of setting the upper limit number in the present embodiment is an example, and any form can be used as long as the means can set the upper limit number.

次に、ステップS303において、制御部204は、現在接続している端末に関する情報を確認し、接続を切断してよい端末が存在する場合にはその端末を特定する。現在接続している端末に関する情報とは、例えばネットワークカメラ101がモバイル端末102へ映像を配信しているか、モバイル端末102を使用しているユーザーが管理者であるかといった情報である。この処理の詳細については、図5を用いて後述する。なお、本実施形態で挙げる項目は一例であり、ネットワークカメラ101の機能に基づいて、端末を識別できる情報であれば、何でもよい。 Next, in step S303, the control unit 204 confirms information about the currently connected terminal, and if there is a terminal that can be disconnected, specifies that terminal. The information about the currently connected terminal is, for example, information such as whether the network camera 101 is delivering video to the mobile terminal 102 or whether the user using the mobile terminal 102 is an administrator. Details of this process will be described later with reference to FIG. Note that the items given in this embodiment are only examples, and any information that can identify the terminal based on the functions of the network camera 101 may be used.

続いて、ステップS304において、制御部204は、ステップS303で確認した現在接続している端末に関する情報に基づき、現在接続している端末の中に接続を切断してよい端末が存在するか否かを判定する。制御部204は、切断してよい端末が存在すると判定した場合、処理をステップS305へと進める。一方、制御部204は、切断してよい端末が存在しないと判定した場合は、本フローの処理を終了する。本実施形態ではモバイル端末102が切断してよい端末と判定されたものとする。 Subsequently, in step S304, the control unit 204 determines whether there is a terminal that can be disconnected among the currently connected terminals, based on the information about the currently connected terminals confirmed in step S303. judge. If the control unit 204 determines that there is a terminal that can be disconnected, the process proceeds to step S305. On the other hand, if the control unit 204 determines that there is no terminal that can be disconnected, it ends the processing of this flow. In this embodiment, it is assumed that the mobile terminal 102 is determined to be a terminal that can be disconnected.

ステップS305において、無線通信処理部207は、ステップS304で接続を切断してよいと判定されたモバイル端末102との接続を切断する。この時、切断する前にユーザーに対して切断する旨を通知する。例えば、モバイル端末102又は情報端末104のWebブラウザ上に図4に示すような表示画面400を表示して、通知を行う。
ユーザーは通知を受けた上で、切断したくない場合はWebブラウザ上のボタン操作により拒否することが可能である。また、通知した画面において、ユーザーにより一定時間操作がされなかった場合、無線通信処理部207は接続の切断を許可されたものとして動作することができる。ユーザーがモバイル端末102又は情報端末104を介してWebブラウザから操作し切断を拒否した場合は、新規端末との接続処理は実施せず、本フローの処理を終了する。なお、本実施形態における接続切断時の処理は一例であり、形態は問わない。
最後に、ステップS306において、無線通信処理部207は新規端末との接続処理を行い、処理を終了する。
In step S305, the wireless communication processing unit 207 disconnects the mobile terminal 102 determined to be disconnected in step S304. At this time, the user is notified of the disconnection before the disconnection. For example, a display screen 400 as shown in FIG. 4 is displayed on the web browser of the mobile terminal 102 or the information terminal 104 to notify.
After receiving the notification, the user can refuse the disconnection by operating a button on the Web browser if he or she does not want to disconnect. Further, if the user does not perform any operation on the notified screen for a certain period of time, the wireless communication processing unit 207 can operate as if disconnection is permitted. If the user operates from the web browser via the mobile terminal 102 or the information terminal 104 and rejects the disconnection, the process of this flow is terminated without performing connection processing with the new terminal. Note that the processing at the time of connection disconnection in the present embodiment is an example, and any form is possible.
Finally, in step S306, the wireless communication processing unit 207 performs connection processing with the new terminal, and terminates the processing.

続いて、図5のフローチャートを用いて、ネットワークカメラ101における現在接続している端末の中に接続を切断してよい端末が存在するか否かを判定する処理の詳細について説明する。本フローチャートは、図3のS303における詳細な処理例を示すフローチャートである。 Next, the details of the process of determining whether or not there is a terminal that can be disconnected among the currently connected terminals in the network camera 101 will be described with reference to the flowchart of FIG. This flowchart is a flowchart showing a detailed processing example in S303 of FIG.

まず、ステップS501において、制御部204は、現在、ネットワークカメラ101から映像を受信していない端末が存在するか否かを判定する。
具体的には例えば、ネットワークカメラ101は図6に示すような接続された端末の情報を格納する管理テーブル600を備え、内部で管理するカメラIDの情報と、端末のIPアドレスと、MACアドレスとを紐づけて記憶部205に記憶している。制御部204は、この管理テーブル600に対して、現在映像を配信している配信先であるクライアントのIPアドレスを比較することで、現在映像を受信していない端末が存在するか否かを判定する。本実施形態における判定手法は一例であり、接続された端末に対して現在映像を受信しているか否かを判定できる方法であれば、形態は問わない。
制御部204は、現在映像を受信していない端末が存在すると判定した場合、処理をステップS502へ進める。一方、制御部204は、映像を受信していない端末が存在しないと判定した場合は、接続切断できる端末がないと判断し、本フローの処理を終了する。この場合、制御部204は、図3のS304において、現在接続している端末の中に接続を切断してよい端末が存在しないと判定することになる。
First, in step S501, the control unit 204 determines whether there is a terminal that has not received video from the network camera 101 at present.
Specifically, for example, the network camera 101 has a management table 600 that stores information on connected terminals as shown in FIG. are linked and stored in the storage unit 205 . The control unit 204 compares the IP address of the client to which the image is currently being distributed with respect to the management table 600, thereby determining whether or not there is a terminal that is not currently receiving the image. do. The determination method in this embodiment is just an example, and any method can be used as long as it is a method that can determine whether or not video is currently being received from a connected terminal.
If the control unit 204 determines that there is a terminal that is not currently receiving video, the process proceeds to step S502. On the other hand, if the control unit 204 determines that there is no terminal that has not received video, it determines that there is no terminal that can be disconnected, and ends the processing of this flow. In this case, the control unit 204 determines in S304 in FIG. 3 that there is no terminal that can be disconnected among the currently connected terminals.

ステップS502において、制御部204は、ステップS501で判定した現在映像を受信している端末について、接続切断する候補から除外する。
続いて、ステップS503において、制御部204は、ステップS502で除外した端末以外の管理テーブル内の端末に対して、管理者アカウントによるログイン履歴があるか否かを判定する。
具体的には例えば、ネットワークカメラ101はアカウント管理の機能を有し、IDおよびパスワードを設定することで管理者・一般閲覧者を登録することができる。それぞれにネットワークカメラ101を制御できる権限が異なり、管理者アカウントはすべての制御が可能である。また、各アカウントのログイン履歴は、Webブラウザからアクセスした場合に、クライアントのIPアドレスに紐づけて記憶される。よって、制御部204は、ログイン履歴の情報と管理テーブルとを比較することによって、どの端末がどのアカウントによってログインされたかを確認することができる。
In step S502, the control unit 204 excludes the terminal currently receiving the image determined in step S501 from the candidates for disconnection.
Subsequently, in step S503, the control unit 204 determines whether or not there is a log-in history using an administrator account for terminals in the management table other than the terminals excluded in step S502.
Specifically, for example, the network camera 101 has an account management function, and can register administrators and general viewers by setting IDs and passwords. Each has different authority to control the network camera 101, and the administrator account can control all. Also, the login history of each account is stored in association with the IP address of the client when accessed from a web browser. Therefore, the control unit 204 can confirm which terminal has been logged in with which account by comparing the login history information and the management table.

なお、以上の確認手段は一例であり、ログイン履歴を用いて管理テーブルから切断対象の端末を除外する手段として、他の形態を取ってもよい。例えば、ログイン履歴の時刻情報を現在時刻と比較し、一定期間内にログイン履歴があった場合は、後述するステップS504で接続切断する候補から除外するといった処理を行ってもよい。また、管理者アカウントによるログイン履歴と、一定期間内のログイン履歴の両方を対象としてもよい。
制御部204は、管理者アカウントによる(または一定期間内の)ログイン履歴のある端末が存在すると判定した場合は、処理をS504に進める。制御部204は、管理者アカウントによる(または一定期間内の)ログイン履歴のある端末が存在しないと判定した場合は、処理をステップS505へ進める。
ステップS504において、制御部204は、管理者アカウントによる(または一定期間内の)ログインした履歴のある端末を、接続切断する候補から除外する。
Note that the confirmation means described above is merely an example, and another form may be employed as means for excluding a terminal to be disconnected from the management table using the login history. For example, the time information of the login history may be compared with the current time, and if there is a login history within a certain period of time, processing may be performed to exclude it from candidates for disconnection in step S504, which will be described later. Also, both the log-in history by the administrator account and the log-in history within a certain period may be targeted.
If the control unit 204 determines that there is a terminal that has a log-in history using an administrator account (or within a certain period of time), the process advances to S504. If the control unit 204 determines that there is no terminal with a login history (or within a certain period of time) using an administrator account, the process proceeds to step S505.
In step S<b>504 , the control unit 204 excludes terminals with a history of logging in using an administrator account (or within a certain period of time) from candidates for disconnection.

最後に、ステップS505において、制御部204は、ステップS502およびステップS504で除外した端末以外の端末を対象に、最もログイン履歴の古い端末を選択する。そして、選択した端末を接続切断する対象として選定し、本フローの処理を終了する。なお、ステップS502およびステップS504で除外した結果、ステップS505で選択可能な端末が存在しなくなった場合は、制御部204は、端末を選択せずにそのまま処理を終了する。この場合、制御部204は、図3のS304において、現在接続している端末の中に接続を切断してよい端末が存在しないと判定することになる。一方で、ステップS505で最もログイン履歴の古い端末を選択した場合、制御部204は、図3のS304において、現在接続している端末の中に接続を切断してよい端末が存在すると判定することになる。 Finally, in step S505, the control unit 204 selects the terminal with the oldest login history among the terminals other than the terminals excluded in steps S502 and S504. Then, the selected terminal is selected as a target to be disconnected, and the process of this flow is terminated. Note that if there is no terminal that can be selected in step S505 as a result of exclusion in steps S502 and S504, the control unit 204 ends the process without selecting any terminal. In this case, the control unit 204 determines in S304 in FIG. 3 that there is no terminal that can be disconnected among the currently connected terminals. On the other hand, if the terminal with the oldest login history is selected in step S505, the control unit 204 determines in step S304 in FIG. become.

以上のように本実施形態によれば、情報処理装置と接続できる端末数の上限を守ることでセキュリティを担保するとともに、ユーザーの操作性を向上することができる。また、状況に応じた適切な端末と接続することができる。 As described above, according to the present embodiment, it is possible to ensure security and improve user operability by observing the upper limit of the number of terminals that can be connected to the information processing apparatus. Also, it is possible to connect to an appropriate terminal according to the situation.

(その他の実施形態)
本発明は、前述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by processing to It can also be implemented by a circuit (for example, ASIC) that implements one or more functions.

204 制御部、205 記憶部、207 無線通信処理部 204 control unit, 205 storage unit, 207 wireless communication processing unit

Claims (11)

1又は複数の端末と無線通信により接続する情報処理装置であって、
前記情報処理装置と接続している端末に関する情報を取得する取得手段と、
新規端末による接続要求を検知し、前記情報処理装置と接続している端末数が上限に達している場合に、前記取得した接続している端末に関する情報を用いて接続を切断してよい端末があるか否かを判定する判定手段と、
前記判定手段により、接続を切断してよい端末があると判定された場合に、当該端末との接続を切断し、前記新規端末との接続を行うように制御する制御手段と、
を有することを特徴とする情報処理装置。
An information processing device connected to one or more terminals by wireless communication,
Acquisition means for acquiring information about a terminal connected to the information processing device;
When a connection request from a new terminal is detected and the number of terminals connected to the information processing device reaches the upper limit, a terminal that can be disconnected using the acquired information on connected terminals is selected. Determination means for determining whether or not there is
a control means for controlling to disconnect the connection with the terminal and establish the connection with the new terminal when the determination means determines that there is a terminal that can be disconnected;
An information processing device comprising:
前記情報処理装置と接続している端末に関する情報は、前記情報処理装置から映像を受信しているか否かの情報を含み、前記判定手段は、前記情報処理装置から映像を受信している端末を、前記接続を切断してよい端末の候補から除外することを特徴とする請求項1に記載の情報処理装置。 The information about the terminal connected to the information processing device includes information as to whether or not the video is being received from the information processing device, and the determining means determines the terminal receiving the video from the information processing device. 2. The information processing apparatus according to claim 1, wherein said terminal is excluded from candidates of said terminal to which said connection may be disconnected. 前記情報処理装置と接続している端末に関する情報は、前記接続している端末のログイン履歴を含み、前記判定手段は、管理者アカウントでログインした履歴のある端末を、前記接続を切断してよい端末の候補から除外することを特徴とする請求項1又は2に記載の情報処理装置。 The information about the terminal connected to the information processing device may include a login history of the connected terminal, and the determining means may disconnect the terminal having a history of logging in with an administrator account. 3. The information processing apparatus according to claim 1, wherein the terminal is excluded from candidate terminals. 前記情報処理装置と接続している端末に関する情報は、前記接続している端末のログイン履歴を含み、前記判定手段は、現在の時刻より一定期間内にログインした履歴のある端末を、前記接続を切断してよい端末の候補から除外することを特徴とする請求項1~3のいずれか1項に記載の情報処理装置。 The information relating to the terminal connected to the information processing apparatus includes the login history of the connected terminal, and the determining means selects a terminal having a history of login within a certain period of time from the current time as the connection. 4. The information processing apparatus according to any one of claims 1 to 3, wherein the information processing apparatus is excluded from candidates of terminals that may be disconnected. 前記判定手段は、前記接続を切断してよい端末の候補のうち、最もログイン履歴の古い端末を、前記接続を切断してよい端末と判定することを特徴とする請求項2~4のいずれか1項に記載の情報処理装置。 5. The determination unit determines a terminal with the oldest login history among the candidates for the terminal from which the connection may be disconnected as the terminal from which the connection may be disconnected. The information processing device according to item 1. 前記判定手段により接続を切断してよい端末があると判定された場合に、前記制御手段は、前記端末との接続を切断する旨を当該端末に表示させるための情報を通知することを特徴とする請求項1~5のいずれか1項に記載の情報処理装置。 When the determination means determines that there is a terminal that may be disconnected, the control means notifies the terminal of information for displaying on the terminal that the connection with the terminal is to be disconnected. The information processing apparatus according to any one of claims 1 to 5. 前記制御手段による通知に対するユーザーの操作が一定期間ない場合、前記制御手段は、前記端末との接続を切断することを特徴とする請求項6に記載の情報処理装置。 7. The information processing apparatus according to claim 6, wherein when there is no user's operation in response to the notification by said control means for a certain period of time, said control means disconnects said terminal. ユーザーの操作に応じて、前記情報処理装置と接続している端末数の上限を設定する設定手段をさらに有することを特徴とする請求項1~7のいずれか1項に記載の情報処理装置。 The information processing apparatus according to any one of claims 1 to 7, further comprising setting means for setting an upper limit on the number of terminals connected to said information processing apparatus according to a user's operation. 前記情報処理装置は、撮像部を有する撮像装置であることを特徴とする請求項1~7のいずれか1項に記載の情報処理装置。 8. The information processing apparatus according to claim 1, wherein said information processing apparatus is an imaging apparatus having an imaging unit. 1又は複数の端末と無線通信により接続する情報処理装置の制御方法であって、
前記情報処理装置と接続している端末に関する情報を取得する取得工程と、
新規端末による接続要求を検知し、前記情報処理装置と接続している端末数が上限に達している場合に、前記取得した接続している端末に関する情報を用いて接続を切断してよい端末があるか否かを判定する判定工程と、
前記判定工程により、接続を切断してよい端末があると判定された場合に、当該端末との接続を切断し、前記新規端末との接続を行うように制御する制御工程と、
を有することを特徴とする情報処理装置の制御方法。
A control method for an information processing device connected to one or more terminals by wireless communication,
an acquisition step of acquiring information about a terminal connected to the information processing device;
When a connection request from a new terminal is detected and the number of terminals connected to the information processing device reaches the upper limit, a terminal that can be disconnected using the acquired information on connected terminals is selected. A determination step of determining whether there is
a control step of controlling to disconnect the connection with the terminal and establish the connection with the new terminal when the determination step determines that there is a terminal that can be disconnected;
A control method for an information processing device, comprising:
1又は複数の端末と無線通信により接続する情報処理装置を制御するためのプログラムであって、
前記情報処理装置と接続している端末に関する情報を取得する取得工程と、
新規端末による接続要求を検知し、前記情報処理装置と接続している端末数が上限に達している場合に、前記取得した接続している端末に関する情報を用いて接続を切断してよい端末があるか否かを判定する判定工程と、
前記判定工程により、接続を切断してよい端末があると判定された場合に、当該端末との接続を切断し、前記新規端末との接続を行うように制御する制御工程と、
をコンピュータに実行させるためのプログラム。
A program for controlling an information processing device connected to one or more terminals by wireless communication,
an acquisition step of acquiring information about a terminal connected to the information processing device;
When a connection request from a new terminal is detected and the number of terminals connected to the information processing device reaches the upper limit, a terminal that can be disconnected using the acquired information on connected terminals is selected. A determination step of determining whether there is
a control step of controlling to disconnect the connection with the terminal and establish the connection with the new terminal when the determination step determines that there is a terminal that can be disconnected;
A program that causes a computer to run
JP2021168907A 2021-10-14 2021-10-14 Information processing device, control method thereof, and program Pending JP2023059035A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021168907A JP2023059035A (en) 2021-10-14 2021-10-14 Information processing device, control method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021168907A JP2023059035A (en) 2021-10-14 2021-10-14 Information processing device, control method thereof, and program

Publications (1)

Publication Number Publication Date
JP2023059035A true JP2023059035A (en) 2023-04-26

Family

ID=86095340

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021168907A Pending JP2023059035A (en) 2021-10-14 2021-10-14 Information processing device, control method thereof, and program

Country Status (1)

Country Link
JP (1) JP2023059035A (en)

Similar Documents

Publication Publication Date Title
US10162580B2 (en) Image processing apparatus, image processing apparatus control method, and storage medium
US11019477B2 (en) Communication apparatus, method of controlling the same, and storage medium
US10477597B2 (en) Communication apparatus and control method for controlling the same
US11570619B2 (en) Communication apparatus, communication method, and storage medium
US8542665B2 (en) System and method for network setup of wireless device through a single interface
US11178607B2 (en) Method of deleting SSID of access point stored in information processing apparatus
EP3266237A1 (en) Communication device, system, and computer program product
KR102134125B1 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
US9578190B2 (en) Communication apparatus, control method and recording medium
CN108292199B (en) Information processing apparatus, information processing system, and information processing method
US10685104B2 (en) Communication apparatus, control method for communication apparatus, and storage medium
US11435968B2 (en) Method for information processing apparatus, information processing apparatus, and method for communication system
US9936535B2 (en) Communication apparatus and control method for communication apparatus
JP2019016891A (en) Imaging apparatus and image transfer method
US9497066B2 (en) Information processing apparatus, method for controlling the same, and storage medium
US10098161B2 (en) Information processing apparatus and non-transitory computer readable medium
US20230229367A1 (en) Information processing apparatus having a plurality of lines, control method therefor, and storage medium
JP2023059035A (en) Information processing device, control method thereof, and program
JP2014158088A (en) Information processing device
JP2017118228A (en) Program and fax device
JP2017098852A (en) Communication equipment, communication control device, communication method, communication control method, system, and program
JP2019165343A (en) Information processing system, information processing device, and information processing program
US10966273B2 (en) Connection management apparatus and non-transitory computer readable medium
JP2019129368A (en) Communication device, communication system, information processing method and program
CN111866298B (en) Information processing apparatus, storage medium, and control method