JP6169237B2 - Method and terminal for establishing a communication connection - Google Patents
Method and terminal for establishing a communication connection Download PDFInfo
- Publication number
- JP6169237B2 JP6169237B2 JP2016179941A JP2016179941A JP6169237B2 JP 6169237 B2 JP6169237 B2 JP 6169237B2 JP 2016179941 A JP2016179941 A JP 2016179941A JP 2016179941 A JP2016179941 A JP 2016179941A JP 6169237 B2 JP6169237 B2 JP 6169237B2
- Authority
- JP
- Japan
- Prior art keywords
- terminal
- group
- configuration information
- direct configuration
- direct
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Description
本発明は、通信技術の分野に関し、特に通信接続を確立するための方法及び端末に関する。 The present invention relates to the field of communication technology, and more particularly to a method and terminal for establishing a communication connection.
ニアフィールド通信(Near Field Communication、略してNFC)は、短距離無線通信技術である。それは、無線周波数識別(Radio Frequency Identification、略してRFID)技術に基づき、電磁誘導を利用して電子デバイス間の短距離通信を実現する。ユーザはビジュアル、セキュア及び無接触な情報交換、支払取引などを実現するためデバイスに接触又は近づきさえすればよい。NFCは、13.56MHz周波数上で機能し、106kbit/s、212kbit/s、424kbit/s及び848kbit/sの4つのレートをサポートする。NFCは、20センチメートルの範囲内で機能可能であり、典型的な値は4cmである。NFCは、それのシンプルな動作及び低データ送信レートのため小さなデータの交換に大変適しており、大きなファイル(例えば、メガバイトのスコアにおける高品位ピクチャ又は高品位ビデオなど)については、NFCが送信に利用される場合、低速のデメリットがユーザ体感に重大な影響を与える。従って、NFCフォーラムは、NFCベースの接続ハンドオーバ技術を提案している。NFC、ブルートゥース及びWi−Fi(Wireless Fidelity、略してWi−Fi)を同時にサポートする2つの端末は、NFCを利用することによってブルートゥース又はWi−Fiの接続コンフィギュレーション情報をやりとりするため、単に互いに接触するようにしてもよい。その後、端末はコンフィギュレーション情報を利用してブルートゥース接続又はWi−Fi接続を確立し、確立されたブルートゥース接続又はWi−Fi接続を利用して大きなファイルを送信してもよい。 Near field communication (NFC for short) is a short-range wireless communication technology. It is based on radio frequency identification (RFID for short) technology and realizes short-range communication between electronic devices using electromagnetic induction. The user need only touch or approach the device to achieve visual, secure and contactless information exchange, payment transactions, and the like. NFC works on a 13.56 MHz frequency and supports four rates: 106 kbit / s, 212 kbit / s, 424 kbit / s and 848 kbit / s. NFC can function within a range of 20 centimeters, with a typical value of 4 cm. NFC is well suited for exchanging small data due to its simple operation and low data transmission rate, and for large files (eg high definition pictures or high definition videos with megabyte scores, etc.) When used, the slow disadvantage has a significant impact on the user experience. Therefore, the NFC Forum has proposed an NFC-based connection handover technology. Two terminals that simultaneously support NFC, Bluetooth, and Wi-Fi (Wireless Fidelity, abbreviated to Wi-Fi for short) use NFC to exchange Bluetooth or Wi-Fi connection configuration information. You may make it do. Thereafter, the terminal may establish a Bluetooth connection or a Wi-Fi connection using the configuration information, and transmit a large file using the established Bluetooth connection or the Wi-Fi connection.
Wi−Fi Direct(Wi−Fi Direct)は、Wi−Fiアプライアンスにより規定された802.11ベースポイント・ツー・ポイント接続技術である。Wi−Fi Directはまた、Wi−Fiポイント・ツー・ポイント(Wi−Fi Point to Point、略してWi−Fi P2P)と呼ばれるかもしれない。Wi−Fi Directは、802.11物理レイヤを利用して、2つのデバイスが互いを検出し、ポイント・ツー・ポイント接続を確立するシナリオにレイヤが適したものとなるように、既存の802.11媒体アクセス制御(Media Access Control、略してMAC)レイヤ及び上位レイヤを修正する。 Wi-Fi Direct (Wi-Fi Direct) is an 802.11 base point-to-point connection technology defined by Wi-Fi appliances. Wi-Fi Direct may also be referred to as Wi-Fi Point to Point (Wi-Fi P2P for short). Wi-Fi Direct utilizes the 802.11 physical layer to ensure that the layer is suitable for scenarios where two devices detect each other and establish a point-to-point connection. 11 Modify Media Access Control (MAC for short) layer and higher layers.
従来技術では、Wi−Fi Directプロトコルにより定義される接続確立手順は、デバイス検出、グループオーナ(Group Owner、略してGO)ネゴシエーション及びWi−Fi Protected Setupプロトコル(Wi−Fi Protected Setup、略してWPS)認証情報の交換などのプロセスを含む。接続確立手順全体はやや複雑で長い。さらに、何れかのグループに加入していない2つの端末は、Wi−Fi Directプロトコルにより定義される方法を利用して接続を確立してもよく、何れかのグループに加入していない端末は、Wi−Fi Directプロトコルにより定義された方法を利用して、既存のグループに加入し、GO又はGOを介しグループのクライアント(Client)と通信してもよい。Wi−Fi Directプロトコルの制限のため、あるグループのクライアントと他のグループのGO又はクライアントとは互いを検出することができず、更に接続を確立し、互いに通信することができない。 In the prior art, the connection establishment procedure defined by the Wi-Fi Direct protocol includes device detection, group owner (GO for short) negotiation, and Wi-Fi Protected Setup protocol (Wi-Fi Protected Setup, abbreviated as WPS). Includes processes such as authentication information exchange. The entire connection establishment procedure is somewhat complicated and long. Furthermore, two terminals that do not join any group may establish a connection using a method defined by the Wi-Fi Direct protocol, and terminals that do not join any group A method defined by the Wi-Fi Direct protocol may be used to join an existing group and communicate with a group client via the GO or GO. Due to limitations of the Wi-Fi Direct protocol, one group of clients and another group of GOs or clients cannot detect each other, and cannot establish a connection and communicate with each other.
本発明は、2つの端末の双方がNFC通信の範囲内で2つの端末間のWi−Fi Direct接続を確立することができるように、Wi−Fi Direct接続を確立するプロセスを簡単化するため、通信接続を確立するための方法及び端末を提供する。 The present invention simplifies the process of establishing a Wi-Fi Direct connection so that both terminals can establish a Wi-Fi Direct connection between the two terminals within the NFC range. A method and terminal for establishing a communication connection are provided.
第1の態様では、本発明は、通信接続を確立する方法であって、
第1端末が、前記第1端末と第2端末との間のニアフィールド通信接続を介し前記第2端末とWi−Fi(Wireless Fidelity) Directコンフィギュレーション情報を交換するステップであって、前記交換されるWi−Fi Directコンフィギュレーション情報は前記第1端末又は前記第2端末のグループ情報を有する、交換するステップと、
前記交換されたWi−Fi Directコンフィギュレーション情報に従って前記第1端末と前記第2端末との間のWi−Fi Direct接続を確立するステップと、
を有する方法を提供する。
In a first aspect, the present invention is a method for establishing a communication connection comprising:
A first terminal exchanging Wi-Fi (Wireless Fidelity) Direct configuration information with the second terminal via a near-field communication connection between the first terminal and the second terminal, the exchange being performed And exchanging Wi-Fi Direct configuration information comprising group information of the first terminal or the second terminal;
Establishing a Wi-Fi Direct connection between the first terminal and the second terminal according to the exchanged Wi-Fi Direct configuration information;
A method is provided.
第1の態様の第1の可能な実現方式では、前記第1端末が、前記第1端末と第2端末との間のニアフィールド通信接続を介し前記第2端末とWi−Fi Directコンフィギュレーション情報を交換するステップは、
前記第1端末が、前記ニアフィールド通信接続を介し前記第2端末によって送信された前記第2端末のWi−Fi Directコンフィギュレーション情報を受信するステップであって、前記第2端末のWi−Fi Directコンフィギュレーション情報は前記第2端末のグループ情報を有する、受信するステップを有し、
前記交換されたWi−Fi Directコンフィギュレーション情報に従って前記第1端末と前記第2端末との間のWi−Fi Direct接続を確立するステップは、
前記第1端末が前記第1端末のグループ情報と前記第2端末のグループ情報とに従って前記第1端末と前記第2端末との何れもが既存のグループのメンバーでないと判断した場合、前記第1端末が、前記第1端末のWi−Fi Directコンフィギュレーション情報と前記第2端末のWi−Fi Directコンフィギュレーション情報とに従って前記第2端末とのWi−Fi Direct接続を確立するステップ、又は、
前記第1端末が前記第1端末のグループ情報と前記第2端末のグループ情報とに従って前記第1端末と前記第2端末との少なくとも1つが既存のグループのメンバーであると判断した場合、前記第1端末が、前記既存のグループ又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って前記第2端末とのWi−Fi Direct接続を確立するステップ、
を有する。
In a first possible implementation manner of the first aspect, the first terminal communicates with the second terminal via Wi-Fi Direct configuration information via a near-field communication connection between the first terminal and the second terminal. The steps to replace
Wherein the first terminal receives Wi-Fi Direct configuration information of the second terminal transmitted by the second terminal via the near-field communication connection, the Wi-Fi Direct of the second terminal. Receiving the configuration information including group information of the second terminal;
Establishing a Wi-Fi Direct connection between the first terminal and the second terminal according to the exchanged Wi-Fi Direct configuration information,
When the first terminal determines that neither the first terminal nor the second terminal is a member of an existing group according to the group information of the first terminal and the group information of the second terminal, the first terminal The terminal establishes a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal, or
When the first terminal determines that at least one of the first terminal and the second terminal is a member of an existing group according to the group information of the first terminal and the group information of the second terminal, the first terminal A terminal establishing a Wi-Fi Direct connection with the second terminal according to Wi-Fi Direct configuration information of the existing group or a new group to be created;
Have
第1の態様の第1の可能な実現方式を参照して、第1の態様の第2の可能な実現方式では、前記第2端末のWi−Fi Directコンフィギュレーション情報は更に、前記第2端末のグループオーナ意図、前記第2端末におけるMAC(Media Access Control)エンティティの個数及び各MACエンティティのアドレスを有し、
前記第2端末のグループ情報は、前記第2端末が既存のグループのメンバーでないこと、前記第2端末が前記第2端末が属する既存のグループのグループオーナであること、又は前記第2端末が前記第2端末が属する既存のグループのクライアントであることを有し、
前記第1端末のWi−Fi Directコンフィギュレーション情報は、前記第1端末のグループ情報を有し、
前記第1端末のグループ情報は、前記第1端末が既存のグループのメンバーでないこと、前記第1端末が前記第1端末が属する既存のグループのグループオーナであること、又は前記第1端末が前記第1端末が属する既存のグループのクライアントであることを有し、
前記第1端末のWi−Fi Directコンフィギュレーション情報は更に、前記第1端末のグループオーナ意図、前記第1端末におけるMACエンティティの個数及び各MACエンティティのアドレスを有し、
前記作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、前記作成予定の新たなグループの識別子、前記作成予定の新たなグループのベーシックサービスセット識別子、前記作成予定の新たなグループの動作チャネル、前記第1端末のグループオーナ意図、前記作成予定の新たなグループのIPベースアドレス及び前記作成予定の新たなグループにおける前記第1端末によって用いられるMACエンティティのアドレスを有する。
Referring to the first possible implementation scheme of the first aspect, in the second possible implementation scheme of the first aspect, the Wi-Fi Direct configuration information of the second terminal is further the second terminal Group owner intention, the number of MAC (Media Access Control) entities in the second terminal, and the address of each MAC entity,
The group information of the second terminal indicates that the second terminal is not a member of an existing group, the second terminal is a group owner of an existing group to which the second terminal belongs, or the second terminal Having a client of an existing group to which the second terminal belongs,
The Wi-Fi Direct configuration information of the first terminal includes group information of the first terminal,
The group information of the first terminal indicates that the first terminal is not a member of an existing group, the first terminal is a group owner of an existing group to which the first terminal belongs, or the first terminal Having a client of an existing group to which the first terminal belongs,
The Wi-Fi Direct configuration information of the first terminal further includes a group owner intention of the first terminal, the number of MAC entities in the first terminal, and an address of each MAC entity,
The Wi-Fi Direct configuration information of the new group to be created includes an identifier of the new group to be created, a basic service set identifier of the new group to be created, and an operation channel of the new group to be created , The group owner intent of the first terminal, the IP base address of the new group to be created, and the address of the MAC entity used by the first terminal in the new group to be created.
第2の態様では、本発明は、第1端末である端末であって、
前記第1端末と第2端末との間のニアフィールド通信接続を介し前記第2端末により送信される前記第2端末のWi−Fi(Wireless Fidelity) Directコンフィギュレーション情報を受信するよう構成される受信モジュールであって、前記第2端末のWi−Fi Directコンフィギュレーション情報は前記第2端末のグループ情報を有する、受信モジュールと、
前記受信モジュールにより受信された前記第1端末のグループ情報と前記第2端末のグループ情報とに従って、前記第1端末と前記第2端末との何れも既存のグループのメンバーでないと判断するか、又は前記受信モジュールにより受信された前記第1端末のグループ情報と前記第2端末のグループ情報とに従って、前記第1端末と前記第2端末との少なくとも1つが既存のグループのメンバーであると判断するよう構成される判定モジュールと、
前記判定モジュールが前記第1端末と前記第2端末との何れも既存のグループのメンバーでないと判断すると、前記第1端末のWi−Fi Directコンフィギュレーション情報と前記第2端末のWi−Fi Directコンフィギュレーション情報とに従って前記第2端末とのWi−Fi Direct接続を確立するか、又は前記判定モジュールが前記第1端末と前記第2端末との少なくとも1つが既存のグループのメンバーであると判断すると、前記既存のグループ又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って前記第2端末とのWi−Fi Direct接続を確立するよう構成される確立モジュールと、
を有する端末を提供する。
In a second aspect, the present invention is a terminal which is a first terminal,
A reception configured to receive Wi-Fi (Wireless Fidelity) Direct configuration information of the second terminal transmitted by the second terminal via a near-field communication connection between the first terminal and the second terminal. A receiving module, wherein the Wi-Fi Direct configuration information of the second terminal includes group information of the second terminal;
According to the group information of the first terminal and the group information of the second terminal received by the receiving module, it is determined that neither the first terminal nor the second terminal is a member of an existing group, or According to the group information of the first terminal and the group information of the second terminal received by the receiving module, it is determined that at least one of the first terminal and the second terminal is a member of an existing group. A determination module configured; and
If the determination module determines that neither the first terminal nor the second terminal is a member of an existing group, the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration of the second terminal Or establishing a Wi-Fi Direct connection with the second terminal according to the location information, or when the determination module determines that at least one of the first terminal and the second terminal is a member of an existing group, An establishment module configured to establish a Wi-Fi Direct connection with the second terminal according to Wi-Fi Direct configuration information of the existing group or a new group to be created;
A terminal is provided.
第2の態様の第1の可能な実現方式では、前記受信モジュールにより受信される前記第2端末のWi−Fi Directコンフィギュレーション情報は更に、前記第2端末のグループオーナ意図、前記第2端末におけるMAC(Media Access Control)エンティティの個数及び各MACエンティティのアドレスを有し、
前記第2端末のグループ情報は、前記第2端末が既存のグループのメンバーでないこと、前記第2端末が前記第2端末が属する既存のグループのグループオーナであること、又は前記第2端末が前記第2端末が属する既存のグループのクライアントであることを有し、
前記第1端末のWi−Fi Directコンフィギュレーション情報は、前記第1端末のグループ情報を有し、
前記第1端末のグループ情報は、前記第1端末が既存のグループのメンバーでないこと、前記第1端末が前記第1端末が属する既存のグループのグループオーナであること、又は前記第1端末が前記第1端末が属する既存のグループのクライアントであることを有し、
前記第1端末のWi−Fi Directコンフィギュレーション情報は更に、前記第1端末のグループオーナ意図、前記第1端末におけるMACエンティティの個数及び各MACエンティティのアドレスを有し、
前記作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、前記作成予定の新たなグループの識別子、前記作成予定の新たなグループのベーシックサービスセット識別子、前記作成予定の新たなグループの動作チャネル、前記第1端末のグループオーナ意図、前記作成予定の新たなグループのIPベースアドレス及び前記作成予定の新たなグループにおける前記第1端末により利用されるMACエンティティのアドレスを有する。
In a first possible realization scheme of the second aspect, the Wi-Fi Direct configuration information of the second terminal received by the receiving module is further a group owner intention of the second terminal, in the second terminal It has the number of MAC (Media Access Control) entities and the address of each MAC entity,
The group information of the second terminal indicates that the second terminal is not a member of an existing group, the second terminal is a group owner of an existing group to which the second terminal belongs, or the second terminal Having a client of an existing group to which the second terminal belongs,
The Wi-Fi Direct configuration information of the first terminal includes group information of the first terminal,
The group information of the first terminal indicates that the first terminal is not a member of an existing group, the first terminal is a group owner of an existing group to which the first terminal belongs, or the first terminal Having a client of an existing group to which the first terminal belongs,
The Wi-Fi Direct configuration information of the first terminal further includes a group owner intention of the first terminal, the number of MAC entities in the first terminal, and an address of each MAC entity,
The Wi-Fi Direct configuration information of the new group to be created includes an identifier of the new group to be created, a basic service set identifier of the new group to be created, and an operation channel of the new group to be created , A group owner intention of the first terminal, an IP base address of the new group to be created, and an address of a MAC entity used by the first terminal in the new group to be created.
第3の態様では、本発明は、第1端末である端末であって、
前記第1端末と第2端末との間のニアフィールド通信接続を介し前記第2端末に前記第1端末のWi−Fi(Wireless Fidelity) Directコンフィギュレーション情報を送信するよう構成される送信モジュールであって、前記第1端末のWi−Fi Directコンフィギュレーション情報は前記第1端末のグループ情報を有する、送信モジュールと、
前記第1端末と前記第2端末との何れも既存のグループのメンバーでないとき、前記第1端末のWi−Fi Directコンフィギュレーション情報と前記第2端末のWi−Fi Directコンフィギュレーション情報とに従って前記第2端末とのWi−Fi Direct接続を確立するか、又は、前記第1端末と前記第2端末との少なくとも1つが既存のグループのメンバーであるとき、前記既存のグループ又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って前記第2端末とのWi−Fi Direct接続を確立するよう構成される確立モジュールと、
を有する端末を提供する。
In a third aspect, the present invention is a terminal which is a first terminal,
A transmission module configured to transmit Wi-Fi (Wireless Fidelity) Direct configuration information of the first terminal to the second terminal via a near-field communication connection between the first terminal and the second terminal. The Wi-Fi Direct configuration information of the first terminal includes group information of the first terminal;
When neither the first terminal nor the second terminal is a member of an existing group, the first terminal and the second terminal follow the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal. When establishing a Wi-Fi Direct connection with two terminals, or when at least one of the first terminal and the second terminal is a member of an existing group, the existing group or a new group to be created An establishment module configured to establish a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of
A terminal is provided.
第3の態様の第1の可能な実現方式では、前記送信モジュールにより送信される前記第1端末のWi−Fi Directコンフィギュレーション情報は更に、前記第1端末のグループオーナ意図、前記第1端末におけるMAC(Media Access Control)エンティティの個数及び各MACエンティティのアドレスを有し、
前記第1端末のグループ情報は、前記第1端末が既存のグループのメンバーでないこと、前記第1端末が前記第1端末が属する既存のグループのグループオーナであること、又は前記第1端末が前記第1端末が属する既存のグループのクライアントであることを有し、
前記第2端末のWi−Fi Directコンフィギュレーション情報は、前記第2端末のグループ情報、前記第2端末のグループオーナ意図、前記第2端末におけるMACエンティティの個数及び各MACエンティティのアドレスを有し、
前記第2端末のグループ情報は、前記第2端末が既存のグループのメンバーでないこと、前記第2端末が前記第2端末が属する既存のグループのグループオーナであること、又は前記第2端末が前記第2端末が属する既存のグループのクライアントであることを有し、
前記作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、前記作成予定の新たなグループの識別子、前記作成予定の新たなグループのベーシックサービスセット識別子、前記作成予定の新たなグループの動作チャネル、前記第2端末のグループオーナ意図、前記作成予定の新たなグループのIPベースアドレス及び前記作成予定の新たなグループにおける前記第2端末により利用されるMACエンティティのアドレスを有する。
In a first possible realization scheme of the third aspect, the Wi-Fi Direct configuration information of the first terminal transmitted by the transmission module further includes the group owner intention of the first terminal, the first terminal It has the number of MAC (Media Access Control) entities and the address of each MAC entity,
The group information of the first terminal indicates that the first terminal is not a member of an existing group, the first terminal is a group owner of an existing group to which the first terminal belongs, or the first terminal Having a client of an existing group to which the first terminal belongs,
The Wi-Fi Direct configuration information of the second terminal includes the group information of the second terminal, the group owner intention of the second terminal, the number of MAC entities in the second terminal, and the address of each MAC entity,
The group information of the second terminal indicates that the second terminal is not a member of an existing group, the second terminal is a group owner of an existing group to which the second terminal belongs, or the second terminal Having a client of an existing group to which the second terminal belongs,
The Wi-Fi Direct configuration information of the new group to be created includes an identifier of the new group to be created, a basic service set identifier of the new group to be created, and an operation channel of the new group to be created , The group owner intention of the second terminal, the IP base address of the new group to be created, and the address of the MAC entity used by the second terminal in the new group to be created.
第4の態様では、本発明は、第1端末である端末であって、
少なくとも1つのプロセッサとメモリとを有し、
前記メモリは、実行可能なプログラムコードを格納するよう構成され、
前記プロセッサは、前記メモリに格納される実行可能なプログラムコードを読み出すことによって、前記実行可能なプログラムコードに対応するプログラムを実行し、
前記第1端末と第2端末との間のニアフィールド通信接続を介し前記第2端末により送信される前記第2端末のWi−Fi Directコンフィギュレーション情報を受信するステップであって、前記第2端末のWi−Fi Directコンフィギュレーション情報は前記第2端末のグループ情報を有する、受信するステップと、
前記第1端末のグループ情報と前記第2端末のグループ情報とに従って、前記第1端末と前記第2端末との何れも既存のグループのメンバーでないと判断された場合、前記第1端末のWi−Fi Directコンフィギュレーション情報と前記第2端末のWi−Fi Directコンフィギュレーション情報とに従って前記第2端末とのWi−Fi Direct接続を確立するか、又は、前記第1端末のグループ情報と前記第2端末のグループ情報とに従って、前記第1端末と前記第2端末との少なくとも1つが既存のグループのメンバーであると判断された場合、前記既存のグループ又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って前記第2端末とのWi−Fi Direct接続を確立するステップと、
を実行するよう構成される端末を提供する。
In a fourth aspect, the present invention is a terminal which is a first terminal,
Having at least one processor and memory;
The memory is configured to store executable program code;
The processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory;
Receiving Wi-Fi Direct configuration information of the second terminal transmitted by the second terminal via a near-field communication connection between the first terminal and the second terminal, the second terminal Receiving the Wi-Fi Direct configuration information of the second terminal having group information of the second terminal;
If it is determined that neither the first terminal nor the second terminal is a member of an existing group according to the group information of the first terminal and the group information of the second terminal, the Wi- Establishing a Wi-Fi Direct connection with the second terminal according to Fi Direct configuration information and the Wi-Fi Direct configuration information of the second terminal, or group information of the first terminal and the second terminal If it is determined that at least one of the first terminal and the second terminal is a member of an existing group according to the group information, the Wi-Fi Direct configuration of the existing group or a new group to be created Establish Wi-Fi Direct connection with the second terminal according to the operation information And the step,
A terminal configured to execute is provided.
第5の態様では、本発明は、第1端末である端末であって、
少なくとも1つのプロセッサとメモリとを有し、
前記メモリは、実行可能なプログラムコードを格納するよう構成され、
前記プロセッサは、前記メモリに格納される実行可能なプログラムコードを読み出すことによって、前記実行可能なプログラムコードに対応するプログラムを実行し、
前記第1端末と第2端末との間のニアフィールド通信接続を介し前記第2端末に前記第1端末のWi−Fi Directコンフィギュレーション情報を送信するステップであって、前記第1端末のWi−Fi Directコンフィギュレーション情報は前記第1端末のグループ情報を有する、送信するステップと、
前記第1端末と前記第2端末との何れも既存のグループのメンバーでない場合、前記第1端末のWi−Fi Directコンフィギュレーション情報と前記第2端末のWi−Fi Directコンフィギュレーション情報とに従って前記第2端末とのWi−Fi Direct接続を確立するか、又は、前記第1端末と前記第2端末との少なくとも1つが既存のグループのメンバーである場合、前記既存のグループ又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って前記第2端末とのWi−Fi Direct接続を確立するステップと、
を実行するよう構成される端末を提供する。
In a fifth aspect, the present invention is a terminal which is a first terminal,
Having at least one processor and memory;
The memory is configured to store executable program code;
The processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory;
Transmitting Wi-Fi Direct configuration information of the first terminal to the second terminal via a near-field communication connection between the first terminal and the second terminal, the Wi-Fi of the first terminal Fi Direct configuration information includes group information of the first terminal, and transmits.
If neither the first terminal nor the second terminal is a member of an existing group, the first terminal and the second terminal according to Wi-Fi Direct configuration information of the first terminal and Wi-Fi Direct configuration information of the second terminal When establishing Wi-Fi Direct connection with two terminals, or when at least one of the first terminal and the second terminal is a member of an existing group, the existing group or a new group to be created Establishing a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of
A terminal configured to execute is provided.
本発明では、第1端末と第2端末とは、NFC接続を利用することによってWi−Fi Directコンフィギュレーション情報を交換し、デバイス検出手順とGOネゴシエーション手順とが交換処理に暗黙的に含まれ、これにより、無線シグナリングを利用することによって実行され、Wi−Fi Directプロトコルに定義されるデバイス検出、GOネゴシエーション及びWPS認証情報交換などのハンドシェイク手順を利用せず、Wi−Fi Direct接続の確立手順を簡単化することができる。さらに、Wi−Fi Directプロトコルは、Wi−Fi Directグループのクライアントが他のグループのGO又はクライアントをアクティブには検出できないことを指定する。このシナリオでは、Wi−Fi Direct接続は、無線シグナリングを利用することによって確立することはできず、当該制約は、本発明により提供される技術的手段が利用されるときには存在しない。第1端末と第2端末とがNFC通信範囲内にある限り、第1端末と第2端末とはコンフィギュレーション情報を交換可能であり、双方は第1端末と第2端末との間のWi−Fi Direct接続を確立できる。 In the present invention, the first terminal and the second terminal exchange Wi-Fi Direct configuration information by using an NFC connection, and a device detection procedure and a GO negotiation procedure are implicitly included in the exchange process. Accordingly, a procedure for establishing a Wi-Fi Direct connection without using handshake procedures such as device detection, GO negotiation, and WPS authentication information exchange defined by the Wi-Fi Direct protocol, which is executed by using wireless signaling. Can be simplified. Furthermore, the Wi-Fi Direct protocol specifies that clients in the Wi-Fi Direct group cannot actively detect GOs or clients in other groups. In this scenario, a Wi-Fi Direct connection cannot be established by utilizing wireless signaling, and this restriction does not exist when the technical means provided by the present invention are utilized. As long as the first terminal and the second terminal are within the NFC communication range, the first terminal and the second terminal can exchange configuration information, and both of them are Wi− between the first terminal and the second terminal. A Fi Direct connection can be established.
本発明の実施例又は先行技術における技術的手段をより明確に説明するため、以下において、実施例又は先行技術を説明するのに必要とされる添付図面が簡単に紹介される。明らかに、以下の説明における添付図面は本発明のいくつかの実施例を示し、当業者は創造的な努力なくこれらの添付図面から他の図面を依然として導出してもよい。
本発明の実施例の課題、技術的手段及び効果をより明確にするため、以下において、本発明の実施例における添付図面を参照して、本発明の実施例における技術的手段が明確かつ完全に説明される。明らかに、説明された実施例は本発明の実施例の全てというよりも一部である。創造的な努力なく本発明の実施例に基づき当業者により取得される他の全ての実施例は、本発明の保護範囲内に属する。 In order to clarify the problems, technical means and effects of the embodiments of the present invention, the technical means in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Explained. Apparently, the described embodiments are a part rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
図1は、本発明による通信接続を確立する方法の実施例のフローチャートである。図1に示されるように、通信接続を確立する方法は以下を含むものであってもよい。 FIG. 1 is a flowchart of an embodiment of a method for establishing a communication connection according to the present invention. As shown in FIG. 1, a method for establishing a communication connection may include:
ステップ101:第1端末が、第1端末と第2端末との間のニアフィールド通信(NFC)接続を介し第2端末とWi−Fi Directコンフィギュレーション情報を交換し、ここで、交換されるWi−Fi Directコンフィギュレーション情報は第1端末又は第2端末のグループ情報を有する。 Step 101: The first terminal exchanges Wi-Fi Direct configuration information with the second terminal via a near field communication (NFC) connection between the first terminal and the second terminal, where the exchanged Wi -Fi Direct configuration information includes group information of the first terminal or the second terminal.
ステップ102:交換されたWi−Fi Directコンフィギュレーション情報に従って第1端末と第2端末との間のWi−Fi Direct接続を確立する。 Step 102: Establish a Wi-Fi Direct connection between the first terminal and the second terminal according to the exchanged Wi-Fi Direct configuration information.
具体的には、一実施例では、第1端末が、第1端末と第2端末との間のNFC接続を介し第2端末とWi−Fi Directコンフィギュレーション情報を交換するステップ101は、第1端末が、NFC接続を介し第2端末により送信される第2端末のWi−Fi Directコンフィギュレーション情報を受信することであってもよい。
Specifically, in one embodiment, the
第2端末のWi−Fi Directコンフィギュレーション情報は、第2端末のグループ情報を含む。 The Wi-Fi Direct configuration information of the second terminal includes group information of the second terminal.
Wi−Fi Direct接続が交換されたWi−Fi Directコンフィギュレーション情報に従って第1端末と第2端末との間で確立されるステップ102は、第1端末が第1端末のグループ情報と第2端末のグループ情報とに従って第1端末と第2端末との何れもが既存のグループのメンバーでないと判断した場合、第1端末が、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って第2端末とのWi−Fi Direct接続を確立するか、又は、第1端末が第1端末のグループ情報と第2端末のグループ情報とに従って第1端末と第2端末との少なくとも1つが既存のグループのメンバーであると判断した場合、第1端末が、既存のグループ又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよい。
The
本実施例では、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とWi−Fi Direct接続を確立することは、第1端末が第2端末と新たなグループを作成することを意味することに留意すべきである。 In this embodiment, the first terminal establishes a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group scheduled to be created by the first terminal. It should be noted that it means creating.
本実施例では、第1端末のWi−Fi Directコンフィギュレーション情報は、第1端末のグループ情報を有し、ここで、第1端末のグループ情報の値は、第1端末が既存のグループのメンバーでないこと、第1端末が第1端末が属する既存のグループのグループオーナであること、又は第1端末が第1端末が属する既存のグループのクライアントであることであってもよく、さらに、第1端末のWi−Fi Directコンフィギュレーション情報は更に、第1端末のグループオーナ意図、第1端末におけるMACエンティティの個数及び各MACエンティティのアドレスを有してもよく、
第2端末のWi−Fi Directコンフィギュレーション情報は更に、第2端末のグループオーナ意図、第2端末におけるMACエンティティの個数及び各MACエンティティのアドレスを有し、ここで、第2端末のグループ情報の値は、第2端末が既存のグループのメンバーでないこと、第2端末が第2端末が属する既存のグループのグループオーナであること、又は第2端末が第2端末が属する既存のグループのクライアントであることであってもよく、
作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、作成予定の新たなグループの識別子、作成予定の新たなグループのベーシックサービスセット識別子(BSSID)、作成予定の新たなグループの動作チャネル、第1端末のグループオーナ意図、作成予定の新たなグループのIPベースアドレス及び作成予定の新たなグループにおける第1端末によって用いられるMACエンティティのアドレスを有する。
In the present embodiment, the Wi-Fi Direct configuration information of the first terminal includes group information of the first terminal, where the value of the group information of the first terminal is a member of an existing group of the first terminal. The first terminal may be a group owner of an existing group to which the first terminal belongs, or the first terminal may be a client of an existing group to which the first terminal belongs. The Wi-Fi Direct configuration information of the terminal may further include the group owner intention of the first terminal, the number of MAC entities in the first terminal, and the address of each MAC entity,
The Wi-Fi Direct configuration information of the second terminal further includes the group owner intention of the second terminal, the number of MAC entities in the second terminal, and the address of each MAC entity, where the group information of the second terminal The value is that the second terminal is not a member of an existing group, that the second terminal is a group owner of an existing group to which the second terminal belongs, or that the second terminal is a client of an existing group to which the second terminal belongs. It may be,
The Wi-Fi Direct configuration information of the new group to be created includes the identifier of the new group to be created, the basic service set identifier (BSSID) of the new group to be created, the operation channel of the new group to be created, It has the first terminal's group owner intent, the IP base address of the new group to be created, and the address of the MAC entity used by the first terminal in the new group to be created.
本実施例の一実現方式では、第1端末が第1端末のグループ情報と第2端末のグループ情報とに従って第1端末と第2端末との何れもが既存のグループのメンバーでないと判断した場合、第1端末が第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定し、その後、第1端末がNFC接続を介し第2端末に作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信し、最後に、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよい。 In one implementation of this embodiment, when the first terminal determines that neither the first terminal nor the second terminal is a member of an existing group according to the group information of the first terminal and the group information of the second terminal The first terminal establishes a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal. The Wi-Fi Direct configuration information of a new group to be created is set according to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal, and then the first terminal is NFC Wi of the new group scheduled to be created on the second terminal via the connection Fi Direct configuration information may be transmitted, and finally, the first terminal may establish a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be created. .
例えば、作成予定の新たなグループの識別子を設定するときなど、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する際、第1端末は、第1端末のWi−Fi Directコンフィギュレーション情報におけるグループ識別子を利用するか、第2端末のWi−Fi Directコンフィギュレーション情報におけるグループ識別子もまた利用するか、第1端末のWi−Fi Directコンフィギュレーション情報におけるグループ識別子を利用しないか、又は、第2端末のWi−Fi Directコンフィギュレーション情報におけるグループ識別子を利用せず、作成予定の新たなグループについて新たな識別子を設定してもよい。同様に、作成予定の新たなグループのBSSID、作成予定の新たなグループの動作チャネル、作成予定の新たなグループのIPベースアドレス及び作成予定の新たなグループにおいて利用されるMACエンティティのアドレスはまた上述したように設定されてもよく、すなわち、第1端末又は第2端末のWi−Fi Directコンフィギュレーション情報に含まれる対応する情報が利用されてもよく、又は、新たな値が設定される。詳細はここでは繰り返されない。 For example, when setting Wi-Fi Direct configuration information of a new group scheduled to be created, such as when setting an identifier of a new group scheduled to be created, the first terminal uses the Wi-Fi Direct configuration of the first terminal. Use the group identifier in the information, use the group identifier in the Wi-Fi Direct configuration information of the second terminal, do not use the group identifier in the Wi-Fi Direct configuration information of the first terminal, or A new identifier may be set for a new group to be created without using the group identifier in the Wi-Fi Direct configuration information of the second terminal. Similarly, the BSSID of the new group to be created, the operating channel of the new group to be created, the IP base address of the new group to be created, and the MAC entity address used in the new group to be created are also described above. That is, the corresponding information included in the Wi-Fi Direct configuration information of the first terminal or the second terminal may be used, or a new value is set. Details are not repeated here.
本実施例の他の実現方式では、第1端末が第1端末のグループ情報と第2端末のグループ情報とに従って第1端末と第2端末との少なくとも1つが既存のグループのメンバーであると判断することは、
第1端末が、第1端末のグループ情報と第2端末のグループ情報とに従って第1端末が既存のグループのメンバーであり、第2端末が既存のグループのメンバーでないことを判断することであってもよい。
In another implementation method of this embodiment, the first terminal determines that at least one of the first terminal and the second terminal is a member of an existing group according to the group information of the first terminal and the group information of the second terminal. To do
The first terminal determines that the first terminal is a member of an existing group and the second terminal is not a member of the existing group according to the group information of the first terminal and the group information of the second terminal. Also good.
さらに、第1端末が、NFC接続を介し第2端末によって送信される第2端末のデフォルト設定を受信する。具体的には、第2端末のデフォルト設定は、第2端末のWi−Fi Directコンフィギュレーション情報に含まれ、第1端末に送信されてもよいか、又は、デフォルト設定はまた、第2端末のWi−Fi Directコンフィギュレーション情報に含まれなくてもよく、第2端末のWi−Fi Directコンフィギュレーション情報と共に第1端末に送信され、ここで、デフォルト設定は、第2端末が第1端末が属する既存のグループに加わることを要求しているか、又は第2端末が第1端末と新たなグループを作成することを要求していることを反映する。 Furthermore, the first terminal receives the default setting of the second terminal transmitted by the second terminal via the NFC connection. Specifically, the default setting of the second terminal may be included in the Wi-Fi Direct configuration information of the second terminal and transmitted to the first terminal, or the default setting may also be The Wi-Fi Direct configuration information may not be included in the Wi-Fi Direct configuration information and is transmitted to the first terminal together with the Wi-Fi Direct configuration information of the second terminal. Here, the default setting is that the second terminal belongs to the first terminal. Reflects that it is requesting to join an existing group or that the second terminal is requesting to create a new group with the first terminal.
本実現方式の特定の実現方式では、第1端末が既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が第2端末のデフォルト設定に従って第2端末が第1端末が属する既存のグループに加入することを要求していると判断し、第1端末が第1端末のグループ情報に従って第1端末が第1端末が属する既存のグループのグループオーナであると判断した場合、第2端末が既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値を第1端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値より小さい値に設定するように、第1端末が、NFC接続を介し第2端末に第1端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報を送信し、このようにして、第2端末は、第1端末が属する既存のグループに加わるためクライアントとして利用可能であり、その後、第1端末が、既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよい。 In a specific implementation of this implementation, the first terminal establishes a Wi-Fi Direct connection with the second terminal in accordance with the existing group's Wi-Fi Direct configuration information. It is determined that the second terminal is requesting to join the existing group to which the first terminal belongs according to the default setting, and the first terminal is the existing to which the first terminal belongs according to the group information of the first terminal. If the second terminal determines that it is the group owner of the group, the second terminal sets the value of the group owner intent in the Wi-Fi Direct configuration information of the second terminal according to the Wi-Fi Direct configuration information of the existing group. -Group owner in Fi Direct configuration information The first terminal transmits Wi-Fi Direct configuration information of the existing group to which the first terminal belongs to the second terminal via the NFC connection so as to set a value smaller than the intended value, and thus, Since the second terminal joins the existing group to which the first terminal belongs, the second terminal can be used as a client. Thereafter, the first terminal can perform Wi-Fi with the second terminal according to the Wi-Fi Direct configuration information of the existing group. It may be to establish a Direct connection.
本実現方式の他の特定の実現方式では、第1端末が既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が第2端末のデフォルト設定に従って第2端末が第1端末が属する既存のグループに加入することを要求していると判断し、第1端末が第1端末のグループ情報に従って第1端末が第1端末が属する既存のグループのクライアントであると判断した場合、第2端末がグループオーナの記述情報に従って既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報をグループオーナに要求し、グループオーナにより送信された既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報を受信するように、第1端末が、NFC接続を介し第2端末に既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報と既存のグループのグループオーナの記述情報とを除くコンフィギュレーション情報を送信し、このようにして、第2端末は、第1端末が属する既存のグループの全てのWi−Fi Directコンフィギュレーション情報を取得し、その後、第1端末が、既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよい。 In another specific implementation scheme of the present implementation scheme, the first terminal establishes a Wi-Fi Direct connection with the second terminal according to the existing group's Wi-Fi Direct configuration information. According to the default setting of the terminal, it is determined that the second terminal requests to join the existing group to which the first terminal belongs, and the first terminal belongs to the first terminal according to the group information of the first terminal If it is determined that the client is an existing group client, the second terminal requests encryption information in the existing group's Wi-Fi Direct configuration information from the group owner according to the description information of the group owner, and is transmitted by the group owner. In the Wi-Fi Direct configuration information of the existing group The first terminal excludes the encryption information in the Wi-Fi Direct configuration information of the existing group and the description information of the group owner of the existing group via the NFC connection so as to receive the encryption information Configuration information is transmitted, and in this way, the second terminal acquires all Wi-Fi Direct configuration information of the existing group to which the first terminal belongs, and then the first terminal It may be to establish a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information.
本実現方式の更なる他の特定の実現方式では、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が、第2端末のデフォルト設定に従って第2端末が第1端末と新たなグループを作成することを要求していると判断し、第1端末が少なくとも1つの未使用のMACエンティティを有すると第1端末が判断した場合、第1端末が、作成予定の新たなグループにおいて第1端末により使用されるMACエンティティとして第1端末における未使用のMACエンティティから1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定し、その後、第1端末が、NFC接続を介し第2端末に作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよく、ここで、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は第1端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報と矛盾せず、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に第1端末のグループ情報を有する。具体的には、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する際、第1端末は、第2端末のWi−Fi Directコンフィギュレーション情報の一部又は全てを利用してもよいか、あるいは、第2端末のWi−Fi Directコンフィギュレーション情報を利用せず、作成予定の新たなグループの新たなWi−Fi Directコンフィギュレーション情報を設定してもよい。本発明は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報が、第1端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報と矛盾しない限り、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する方法を限定しない。 In yet another specific implementation of this implementation, establishing a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group that the first terminal is scheduled to create is When one terminal determines that the second terminal requests to create a new group with the first terminal according to the default setting of the second terminal, and the first terminal has at least one unused MAC entity If the first terminal determines, the first terminal selects one of the unused MAC entities in the first terminal as the MAC entity to be used by the first terminal in the new group to be created and Group Wi-Fi Direct configuration information is set, and then the first terminal is connected via an NFC connection. The Wi-Fi Direct configuration information of the new group scheduled to be created is transmitted to the second terminal, and the Wi-Fi Direct connection with the second terminal is established according to the Wi-Fi Direct configuration information of the new group scheduled to be created. Here, the Wi-Fi Direct configuration information of the new group scheduled to be created is consistent with the Wi-Fi Direct configuration information of the existing group to which the first terminal belongs, and The group Wi-Fi Direct configuration information further includes group information of the first terminal. Specifically, when setting Wi-Fi Direct configuration information of a new group to be created, the first terminal may use part or all of the Wi-Fi Direct configuration information of the second terminal. Alternatively, the new Wi-Fi Direct configuration information of a new group to be created may be set without using the Wi-Fi Direct configuration information of the second terminal. As long as the Wi-Fi Direct configuration information of the new group scheduled to be created is consistent with the Wi-Fi Direct configuration information of the existing group to which the first terminal belongs, the present invention The method for setting the Wi-Fi Direct configuration information of the group is not limited.
本実現方式の更なる他の特定の実現方式では、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が、第2端末のデフォルト設定に従って第2端末が第1端末と新たなグループを作成することを要求していると判断し、第1端末が第1端末における全てのMACエンティティが使用されていると判断した場合、第1端末が、第1端末が属する既存のグループをやめるか第1端末を利用するユーザに促し、第1端末を利用するユーザが第1端末が属する既存のグループをやめることを選択した場合、第1端末が、第1端末が属する既存のグループをやめ、その後、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定することであってもよく、ここで、第1端末のグループオーナ意図の値は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報における第2端末のグループオーナ意図の値と異なり、次に、第1端末が、NFC接続を介し第2端末に作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよい。 In yet another specific implementation of this implementation, establishing a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group that the first terminal is scheduled to create is One terminal determines that the second terminal requests to create a new group with the first terminal according to the default setting of the second terminal, and the first terminal uses all the MAC entities in the first terminal. The first terminal prompts the user using the first terminal to quit the existing group to which the first terminal belongs, and the user using the first terminal selects the existing group to which the first terminal belongs. If the user chooses to quit, the first terminal quits the existing group to which the first terminal belongs, and then the Wi-Fi Direct configuration of the first terminal. The Wi-Fi Direct configuration information of the new group to be created may be set according to the location information and the Wi-Fi Direct configuration information of the second terminal. Here, the group owner of the first terminal may be set. The intention value is different from the group owner intention value of the second terminal in the Wi-Fi Direct configuration information of the new group to be created. Next, the first terminal is scheduled to create the second terminal via the NFC connection. The Wi-Fi Direct configuration information of the new group may be transmitted, and the Wi-Fi Direct connection with the second terminal may be established according to the Wi-Fi Direct configuration information of the new group to be created.
本実施例の更なる他の実現方式では、第1端末が第1端末のグループ情報と第2端末のグループ情報とに従って第1端末と第2端末との少なくとも1つが既存のグループのメンバーであると判断することは、第1端末が、第1端末のグループ情報と第2端末のグループ情報とに従って、第2端末が既存のグループのメンバーであり、第1端末が既存のメンバーでないと判断することであってもよい。 In yet another implementation method of the present embodiment, at least one of the first terminal and the second terminal is a member of an existing group according to the group information of the first terminal and the group information of the second terminal. The first terminal determines that the second terminal is a member of an existing group and the first terminal is not an existing member according to the group information of the first terminal and the group information of the second terminal. It may be.
本実現方式の特定の実現方式では、第1端末が既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が、第1端末のデフォルト設定に従って第1端末が第2端末が属する既存のグループに加わることを要求していると判断し、第1端末が第2端末のグループ情報に従って第2端末が第2端末が属する既存のグループのグループオーナであると判断した場合、第1端末が、第1端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値を第2端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値より小さい値に設定し、これにより、第1端末は第2端末が属する既存のグループのクライアントとして既存のグループに加わることが可能となり、その後、第1端末が、第2端末のWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよく、ここで、第2端末のWi−Fi Directコンフィギュレーション情報は第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報である。 In a specific implementation of this implementation, the first terminal establishes a Wi-Fi Direct connection with the second terminal according to the existing group's Wi-Fi Direct configuration information. The first terminal determines that the first terminal is requesting to join the existing group to which the second terminal belongs according to the default setting of the second terminal, and the second terminal belongs to the existing terminal to which the second terminal belongs according to the group information of the second terminal. If the first terminal determines that it is the group owner of the group, the first terminal sets the value of the group owner intention in the Wi-Fi Direct configuration information of the first terminal to the value of the group owner intention in the Wi-Fi Direct configuration information of the second terminal. The value is set to a value smaller than the first value so that the first terminal can The first terminal can establish a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the second terminal. Here, the Wi-Fi Direct configuration information of the second terminal is Wi-Fi Direct configuration information of the existing group to which the second terminal belongs.
本実現方式の他の特定の実現方式では、第2端末が第2端末が属する既存のグループのクライアントであるとき、第2端末のWi−Fi Directコンフィギュレーション情報は、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報を除くコンフィギュレーション情報であり、更に、第1端末が、NFC接続を介し第2端末により送信され、第2端末が属する既存のグループのグループオーナの記述情報を受信する。具体的には、第2端末が属する既存のグループのグループオーナの記述情報は、第2端末のWi−Fi Directコンフィギュレーション情報に含まれてもよいか、又は、第2端末が属する既存のグループのグループオーナの記述情報はまた、第2端末のWi−Fi Directコンフィギュレーション情報に含まれなくてもよく、第2端末のWi−Fi Directコンフィギュレーション情報と共に第1端末に送信される。 In another specific implementation scheme of this implementation scheme, when the second terminal is a client of an existing group to which the second terminal belongs, the Wi-Fi Direct configuration information of the second terminal is the existing one to which the second terminal belongs. Configuration information excluding encryption information in the Wi-Fi Direct configuration information of the group, and further, the first terminal is transmitted by the second terminal via the NFC connection, and the group owner of the existing group to which the second terminal belongs The description information is received. Specifically, the description information of the group owner of the existing group to which the second terminal belongs may be included in the Wi-Fi Direct configuration information of the second terminal, or the existing group to which the second terminal belongs. The group owner description information may not be included in the Wi-Fi Direct configuration information of the second terminal, and is transmitted to the first terminal together with the Wi-Fi Direct configuration information of the second terminal.
このようにして、第1端末が既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が、第1端末のデフォルト設定に従って、第1端末が第2端末が属する既存のグループに加わることを要求していると判断し、第1端末が、第2端末が属する既存のグループのグループオーナの記述情報に従って、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報をグループオーナに要求し、グループオーナにより送信された既存のグループのWi−Fi Directコンフィギュレーション情報において暗号化情報を受信し、その後、第1端末が、既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよい。 In this way, the first terminal establishes the Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the existing group. The first terminal follows the default setting of the first terminal, It is determined that the first terminal is requesting to join the existing group to which the second terminal belongs, and the first terminal belongs according to the description information of the group owner of the existing group to which the second terminal belongs Request encryption information in the Wi-Fi Direct configuration information of the existing group from the group owner, receive the encryption information in the Wi-Fi Direct configuration information of the existing group transmitted by the group owner, and then One terminal is a Wi-Fi Direct link for an existing group. It may be to establish a Wi-Fi Direct connection with the second terminal according to the configuration information.
本実現方式の更なる他の特定の実現方式では、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が、第1端末のデフォルト設定に従って第1端末が第2端末と新たなグループを作成することを要求していると判断し、第1端末が第2端末が少なくとも1つの未使用のMACエンティティを有すると判断した場合、第1端末が、第2端末における未使用のMACエンティティから1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定し、その後、第1端末が、NFC接続を介し第2端末に作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよい。 In yet another specific implementation of this implementation, establishing a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group that the first terminal is scheduled to create is One terminal determines that the first terminal requests to create a new group with the second terminal according to the default setting of the first terminal, and the first terminal has at least one unused MAC If the first terminal determines that it has an entity, the first terminal selects one of the unused MAC entities in the second terminal, sets the Wi-Fi Direct configuration information for the new group to be created, and then 1 terminal establishes Wi-Fi Direct configuration of a new group to be created in the 2nd terminal via NFC connection Sends down information, it may be to establish a Wi-Fi Direct connection with the second terminal in accordance with Wi-Fi Direct configuration information for the new group creation schedule.
作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に第2端末から第1端末によって選択されたMACエンティティのアドレスを有し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報と矛盾しない。具体的には、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する際、第1端末は、第1端末のWi−Fi Directコンフィギュレーション情報の一部又は全てを利用してもよいか、あるいは、第1端末のWi−Fi Directコンフィギュレーション情報を利用せず、作成予定の新たなグループの新たなWi−Fi Directコンフィギュレーション情報を設定してもよい。本発明は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報が、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報と矛盾しない限り、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する方法を限定しない。 The Wi-Fi Direct configuration information of the new group to be created further includes the address of the MAC entity selected by the first terminal from the second terminal, and the Wi-Fi Direct configuration information of the new group to be created is This is consistent with the Wi-Fi Direct configuration information of the existing group to which the second terminal belongs. Specifically, when setting Wi-Fi Direct configuration information of a new group to be created, the first terminal may use part or all of the Wi-Fi Direct configuration information of the first terminal. Alternatively, new Wi-Fi Direct configuration information of a new group to be created may be set without using the Wi-Fi Direct configuration information of the first terminal. As long as the Wi-Fi Direct configuration information of the new group scheduled to be created is consistent with the Wi-Fi Direct configuration information of the existing group to which the second terminal belongs, the present invention The method for setting the Wi-Fi Direct configuration information of the group is not limited.
本実現方式の更なる他の特定の実現方式では、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が、第1端末のデフォルト設定に従って第1端末が第2端末と新たなグループを作成することを要求していると判断し、第1端末が第2端末が少なくとも1つの未使用のMACエンティティを有すると判断した場合、第1端末が、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定し、ここで、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報と矛盾せず、その後、第2端末が第2端末における未使用のMACエンティティから1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第1端末とのWi−Fi Direct接続を確立するように、前記第1端末が、NFC接続を介し第2端末に作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信することであってもよい。具体的には、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する際、第1端末は、第1端末のWi−Fi Directコンフィギュレーション情報の一部又は全てを利用してもよいか、あるいは、第1端末のWi−Fi Directコンフィギュレーション情報を利用せず、作成予定の新たなグループの新たなWi−Fi Directコンフィギュレーション情報を設定してもよい。本発明は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報が、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報と矛盾しない限り、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する方法を限定しない。 In yet another specific implementation of this implementation, establishing a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group that the first terminal is scheduled to create is One terminal determines that the first terminal requests to create a new group with the second terminal according to the default setting of the first terminal, and the first terminal has at least one unused MAC If it is determined that the first terminal has an entity, the first terminal sets Wi-Fi Direct configuration information of the new group scheduled to be created, and the Wi-Fi Direct configuration information of the new group scheduled to be created is Conflict with Wi-Fi Direct configuration information of existing group to which two terminals belong Thereafter, the second terminal selects one of the unused MAC entities in the second terminal, and establishes a Wi-Fi Direct connection with the first terminal according to the Wi-Fi Direct configuration information of the new group to be created. As established, the first terminal may transmit Wi-Fi Direct configuration information of a new group to be created to the second terminal through an NFC connection. Specifically, when setting Wi-Fi Direct configuration information of a new group to be created, the first terminal may use part or all of the Wi-Fi Direct configuration information of the first terminal. Alternatively, new Wi-Fi Direct configuration information of a new group to be created may be set without using the Wi-Fi Direct configuration information of the first terminal. As long as the Wi-Fi Direct configuration information of the new group scheduled to be created is consistent with the Wi-Fi Direct configuration information of the existing group to which the second terminal belongs, the present invention The method for setting the Wi-Fi Direct configuration information of the group is not limited.
本実現方式の更なる他の特定の実現方式では、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が、第1端末のデフォルト設定に従って第1端末が第2端末と新たなグループを作成することを要求していると判断し、第1端末が第2端末における全てのMACエンティティが利用されると判断した場合、第2端末が、第2端末が属する既存のグループをやめるか第2端末を利用するユーザを促し、第2端末を利用するユーザが第2端末が属する既存のグループをやめることを選択した後、第2端末が属する既存のグループをやめ、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第1端末とのWi−Fi Direct接続を確立するように、第1端末が、第1端末が第2端末と新たなグループを作成することを要求しているという通知を第2端末に送信することであってもよい。 In yet another specific implementation of this implementation, establishing a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group that the first terminal is scheduled to create is One terminal determines that the first terminal requests to create a new group with the second terminal according to the default setting of the first terminal, and the first terminal uses all the MAC entities in the second terminal. If it is determined that the second terminal stops the existing group to which the second terminal belongs or prompts the user to use the second terminal, the user using the second terminal stops the existing group to which the second terminal belongs After the selection is made, the existing group to which the second terminal belongs is stopped, the Wi-Fi Direct configuration information of the first terminal and the Wi of the second terminal Wi-Fi Direct configuration information of a new group to be created is set according to the Fi Direct configuration information, and Wi-Fi Direct connection with the first terminal is set according to the Wi-Fi Direct configuration information of the new group to be created The first terminal may send a notification to the second terminal that the first terminal is requesting to create a new group with the second terminal so as to establish
本実施例の更なる他の実現方式では、第1端末が第1端末のグループ情報と第2端末のグループ情報とに従って第1端末と第2端末との少なくとも1つが既存のグループのメンバーであると判断することは、第1端末が第1端末のグループ情報と第2端末のグループ情報とに従って第1端末と第2端末との双方が既存のグループのメンバーであると判断することであってもよい。 In yet another implementation method of the present embodiment, at least one of the first terminal and the second terminal is a member of an existing group according to the group information of the first terminal and the group information of the second terminal. Determining that both the first terminal and the second terminal are members of an existing group according to the group information of the first terminal and the group information of the second terminal. Also good.
本実現方式の特定の実現方式では、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って、第1端末と第2端末とが同じグループに属さず、第1端末と第2端末との双方が少なくとも1つの未使用のMACエンティティを有すると判断し、第1端末が、第1端末のグループ情報と第2端末のグループ情報とに従って、第1端末と第2端末との少なくとも1つがグループオーナであると判断した場合、第1端末が、作成予定の新たなグループにおける第1端末により利用されるMACエンティティとして第1端末における未使用のMACエンティティからの1つを選択し、第2端末における未使用のMACエンティティからの1つを選択し、その後、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定することであってもよく、ここで、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に、第2端末から第1端末によって選択されたMACエンティティのアドレスを有してもよく、最後に、第1端末が、NFC接続を介し第2端末に作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよい。 In a particular implementation of this implementation, the first terminal establishes a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group that the first terminal is scheduled to create. According to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal, the first terminal and the second terminal do not belong to the same group, and the first terminal and the second terminal It is determined that both have at least one unused MAC entity, and at least one of the first terminal and the second terminal is a group according to the group information of the first terminal and the group information of the second terminal. If it is determined to be the owner, the first terminal is used by the first terminal in the new group scheduled to be created Select one of the unused MAC entities at the first terminal as the selected MAC entity, select one from the unused MAC entity at the second terminal, and then create a new group of Wi-Fi to be created Direct configuration information may be set, where the Wi-Fi Direct configuration information of the new group to be created further includes the address of the MAC entity selected by the first terminal from the second terminal. Finally, the first terminal transmits Wi-Fi Direct configuration information of the new group scheduled to be created to the second terminal via the NFC connection, and Wi-Fi of the new group scheduled to be created. With the second terminal according to the Direct configuration information. i-Fi Direct connection may be to establish a.
本実施例では、第1端末と第2端末との一方のみが既存のグループにおけるグループオーナである場合、既存のグループにおいてグループオーナである端末は、新たなグループにおけるクライアントでなければならず、当該端末のグループオーナ意図の値は、新たなグループのWi−Fi Directコンフィギュレーション情報におけるピアエンドのグループオーナ意図の値より小さくなるよう設定される必要があり、第1端末と第2端末との双方が既存のグループにおけるグループオーナである場合、新たなグループのWi−Fi Directコンフィギュレーション情報における2つの端末のグループオーナ意図は、これら2つの端末のグループオーナ意図の値が異なって設定される限り、ランダムに設定されてもよい。 In this example, if only one of the first terminal and the second terminal is a group owner in an existing group, the terminal that is the group owner in the existing group must be a client in the new group, The value of the group owner intention of the terminal needs to be set to be smaller than the value of the group owner intention of the peer end in the Wi-Fi Direct configuration information of the new group, and both the first terminal and the second terminal In the case of a group owner in an existing group, the group owner intentions of the two terminals in the Wi-Fi Direct configuration information of the new group are random as long as the group owner intention values of these two terminals are set differently. May be set.
本実現方式の他の特定の実現方式では、第1端末が既存のグループ又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って第1端末と第2端末とが同じグループに属さないと判断し、第1端末が、第1端末のグループ情報と第2端末のグループ情報とに従って第1端末と第2端末との何れもグループオーナでないと判断した場合、又は、第1端末が、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って第1端末と第2端末とが同じグループに属さず、第1端末及び/又は第2端末における全てのMACエンティティが利用されると判断した場合、第1端末が、第1端末が属する既存のグループをやめるか第1端末を利用するユーザに促し、第2端末が属する既存のグループをやめるか第2端末を利用したユーザに促すよう第2端末に指示し、第1端末を利用するユーザが第1端末が属する既存のグループをやめることを選択した後、及び/又は第2端末を利用するユーザが第2端末が属する既存のグループをやめることを選択した後、第1端末が、端末が属する既存のグループをやめない端末のWi−Fi Directコンフィギュレーション情報又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って、第2端末とのWi−Fi Direct接続を確立することであってもよい。 In another specific implementation scheme of the present implementation scheme, the first terminal establishes a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of an existing group or a new group to be created. The first terminal determines that the first terminal and the second terminal do not belong to the same group according to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal, When one terminal determines that neither the first terminal nor the second terminal is a group owner according to the group information of the first terminal and the group information of the second terminal, or the first terminal is Wi of the first terminal -Fi Direct configuration information and Wi-Fi Direct configuration of the second terminal According to the information, if it is determined that the first terminal and the second terminal do not belong to the same group and all the MAC entities in the first terminal and / or the second terminal are used, the first terminal Prompt the user who uses the first terminal to quit the existing group to which it belongs, instruct the second terminal to urge the user who uses the second terminal or quit the existing group to which the second terminal belongs, and use the first terminal After the user selects to stop the existing group to which the first terminal belongs and / or after the user using the second terminal has selected to stop the existing group to which the second terminal belongs, Wi-Fi Direct configuration information of a terminal that does not quit an existing group to which the terminal belongs, or Wi-Fi Direct configuration of a new group to be created According Deployment information, it may be to establish a Wi-Fi Direct connection with the second terminal.
第1端末又は第2端末が当初の接続を確保するだけでなく、新たな接続を確立する場合、端末は、2つのグループの双方においてクライアントとして利用できない。具体的には、端末が当初の接続においてクライアントとして利用される場合、端末は新たな接続におけるグループオーナとして利用される必要があり、端末が当初の接続においてグループオーナとして利用される場合、端末は、新たなグループにおけるグループオーナ又はクライアントとして利用可能である。 If the first terminal or the second terminal not only secures the initial connection but also establishes a new connection, the terminal cannot be used as a client in both of the two groups. Specifically, if the terminal is used as a client in the initial connection, the terminal needs to be used as a group owner in the new connection, and if the terminal is used as a group owner in the initial connection, the terminal It can be used as a group owner or client in a new group.
具体的には、他の実施例では、第1端末が第1端末と第2端末との間のNFC接続を介し第2端末とのWi−Fi Directコンフィギュレーション情報を交換するステップ101は、第1端末が、第1端末と第2端末との間のNFC接続を介し第2端末に第1端末のWi−Fi Directコンフィギュレーション情報を送信することであってもよく、ここで、第1端末のWi−Fi Directコンフィギュレーション情報は第1端末のグループ情報を有する。
Specifically, in another embodiment, the
交換されたWi−Fi Directコンフィギュレーション情報に従って第1端末と第2端末との間でWi−Fi Direct接続が確立されるステップ102は、第1端末と第2端末との何れもが既存のグループのメンバーでない場合、第1端末が、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って第2端末とのWi−Fi Direct接続を確立するか、又は、第1端末と第2端末との少なくとも1つが既存のグループのメンバーである場合、第1端末が、既存のグループ又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよい。
In
第1端末が第2端末とのWi−Fi Direct接続を確立することは、第1端末が第2端末と新たなグループを作成することを意味することに留意すべきである。 It should be noted that the establishment of a Wi-Fi Direct connection with the second terminal by the first terminal means that the first terminal creates a new group with the second terminal.
この場合、第1端末のWi−Fi Directコンフィギュレーション情報は更に、第1端末のグループオーナ意図、第1端末におけるMACエンティティの個数及び各MACエンティティのアドレスを有してもよく、第1端末のグループ情報の値は、第1端末が既存のグループのメンバーでないこと、第1端末が第1端末が属する既存のグループのグループオーナであること、又は第1端末が第1端末が属する既存のグループのクライアントであることであってもよく、
第2端末のWi−Fi Directコンフィギュレーション情報は、第2端末のグループ情報、第2端末のグループオーナ意図、第2端末におけるMACエンティティの個数及び各MACエンティティのアドレスを有してもよく、第2端末のグループ情報の値は、第2端末が既存のグループのメンバーでないこと、第2端末が第2端末が属する既存のグループのグループオーナであること、又は第2端末が第2端末が属する既存のグループのクライアントであることであってもよく、
作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、作成予定の新たなグループの識別子、作成予定の新たなグループのBSSID、作成予定の新たなグループの動作チャネル、第2端末のグループオーナ意図、作成予定の新たなグループのIPベースアドレス及び作成予定の新たなグループにおける第2端末により利用されるMACエンティティのアドレスを有する。
In this case, the Wi-Fi Direct configuration information of the first terminal may further include the group owner intention of the first terminal, the number of MAC entities in the first terminal, and the address of each MAC entity. The value of the group information indicates that the first terminal is not a member of an existing group, that the first terminal is a group owner of an existing group to which the first terminal belongs, or that the first terminal is an existing group to which the first terminal belongs. May be a client of the
The Wi-Fi Direct configuration information of the second terminal may include the group information of the second terminal, the group owner intention of the second terminal, the number of MAC entities in the second terminal, and the address of each MAC entity. The value of the group information of the two terminals indicates that the second terminal is not a member of an existing group, the second terminal is a group owner of an existing group to which the second terminal belongs, or the second terminal belongs to the second terminal May be a client of an existing group,
The Wi-Fi Direct configuration information of the new group to be created includes the identifier of the new group to be created, the BSSID of the new group to be created, the operation channel of the new group to be created, the group owner of the second terminal Intent, having the IP base address of the new group to be created and the address of the MAC entity used by the second terminal in the new group to be created.
本実施例の実現方式では、第1端末と第2端末との何れも既存のグループのメンバーでない場合、第1端末が第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が、NFC接続を介し第2端末により送信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を受信することであってもよく、ここで、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って設定され、第2端末によって第1端末に送信され、その後、第1端末が、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよい。 In the realization method of the present embodiment, when neither the first terminal nor the second terminal is a member of an existing group, the first terminal is connected to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi of the second terminal. Establishing a Wi-Fi Direct connection with the second terminal according to the Direct configuration information means that the first terminal transmits a new group of Wi-Fi Direct configurations to be created transmitted by the second terminal via the NFC connection. In this case, the Wi-Fi Direct configuration information of the new group scheduled to be created includes the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct of the second terminal. Set according to Direct configuration information Transmitted by the second terminal to the first terminal, and then the first terminal establishes a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be created. There may be.
本実施例の他の実現方式では、第1端末と第2端末との少なくとも1つが既存のグループのメンバーである場合、更に、第1端末が、NFC接続を介し第2端末に第1端末のデフォルト設定を送信する。第1端末のデフォルト設定は、第1端末のWi−Fi Directコンフィギュレーション情報に含まれ、第2端末に送信されてもよいし、あるいは、第1端末のデフォルト設定はまた、第1端末のWi−Fi Directコンフィギュレーション情報に含まれなくてもよく、第1端末のWi−Fi Directコンフィギュレーション情報と共に、第2端末に送信される。第1端末のデフォルト設定は、第1端末が第2端末が属する既存のグループに加わることを要求することであるか、又は、第1端末が第2端末と新たなグループを作成することを要求することであってもよい。 In another implementation method of the present embodiment, when at least one of the first terminal and the second terminal is a member of an existing group, the first terminal further connects the first terminal to the second terminal via the NFC connection. Send default settings. The default setting of the first terminal may be included in the Wi-Fi Direct configuration information of the first terminal and transmitted to the second terminal, or the default setting of the first terminal may also be the Wi-Fi Direct configuration of the first terminal. -It may not be included in the Fi Direct configuration information, and is transmitted to the second terminal together with the Wi-Fi Direct configuration information of the first terminal. The default setting of the first terminal is to request that the first terminal join an existing group to which the second terminal belongs, or to request that the first terminal create a new group with the second terminal It may be to do.
本実現方式の特定の実現方式では、第1端末が既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が既存のグループのメンバーでなく、第2端末が既存のグループのメンバーである場合、第1端末が、NFC接続を介し第2端末により送信された第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報を受信することであってもよく、ここで、第2端末が、第1端末のデフォルト設定に従って第2端末が属する既存のグループに第1端末が加わることを要求していると判断し、第2端末が、第2端末のグループ情報に従って第2端末が第2端末が属する既存のグループのグループオーナであると判断した後、既存のグループのWi−Fi Directコンフィギュレーション情報は第2端末によって第1端末に送信され、その後、第1端末が、既存のグループのWi−Fi Directコンフィギュレーション情報に従って第1端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値を第2端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値より小さい値に設定し、これにより、クライアントとして利用される第1端末は、第2端末が属する既存のグループに加わり、最後に、第1端末が、既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよい。 In a specific implementation scheme of this implementation scheme, the first terminal establishes a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the existing group. If the second terminal is not a member but is a member of an existing group, the first terminal sends Wi-Fi Direct configuration information of the existing group to which the second terminal transmitted by the second terminal via the NFC connection belongs. The second terminal may determine that the second terminal is requesting that the first terminal join the existing group to which the second terminal belongs according to the default setting of the first terminal, and the second terminal The terminal determines that the second terminal is the group owner of the existing group to which the second terminal belongs according to the group information of the second terminal The Wi-Fi Direct configuration information of the existing group is transmitted by the second terminal to the first terminal, and then the first terminal performs Wi-Fi of the first terminal according to the Wi-Fi Direct configuration information of the existing group. The value of the group owner intent in the Direct configuration information is set to a value smaller than the value of the group owner intent in the Wi-Fi Direct configuration information of the second terminal, whereby the first terminal used as a client The terminal may join the existing group to which the terminal belongs, and finally, the first terminal may establish a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the existing group.
本実現方式の他の特定の実現方式では、第1端末が既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が既存のグループのメンバーでなく、第2端末が既存のグループのメンバーであるとき、第1端末が、NFC接続を介し第2端末により送信される第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報と既存のグループのグループオーナの記述情報とを除くコンフィギュレーション情報を受信することであってもよく、ここで、第2端末が第1端末のデフォルト設定に従って第1端末が第2端末が属する既存のグループに加わることを要求していると判断し、第2端末が、第2端末のグループ情報に従って第2端末が第2端末が属する既存のグループのクライアントであると判断した後、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報と既存のグループのグループオーナの記述情報とを除くコンフィギュレーション情報は第2端末によって第1端末に送信され、その後、第1端末が、グループオーナの記述情報に従って既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報をグループオーナに要求し、グループオーナにより送信された既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報を受信し、最後に、第1端末が、既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよい。 In another specific implementation scheme of the present implementation scheme, the first terminal establishes a Wi-Fi Direct connection with the second terminal according to the existing group's Wi-Fi Direct configuration information. Wi-Fi Direct configuration of an existing group to which the second terminal is transmitted by the second terminal via the NFC connection when the second terminal is not a member of the group and is a member of the existing group Receiving configuration information excluding the encryption information in the information and the description information of the group owner of the existing group, wherein the second terminal is the first terminal according to the default setting of the first terminal. The second terminal determines that it is requesting to join an existing group to which the two terminals belong, and the second terminal After the second terminal determines that the second terminal is a client of the existing group to which the second terminal belongs according to the group information, the encryption information in the Wi-Fi Direct configuration information of the existing group to which the second terminal belongs and the existing group The configuration information excluding the group owner description information is transmitted to the first terminal by the second terminal, and then the first terminal encrypts the Wi-Fi Direct configuration information of the existing group according to the group owner description information. Requests information from the group owner, receives the encryption information in the Wi-Fi Direct configuration information of the existing group transmitted by the group owner, and finally, the first terminal receives the Wi-Fi Direct configuration of the existing group. Figu The Wi-Fi Direct connection with the second terminal may be established according to the communication information.
本実現方式の更なる他の特定の実現方式では、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が既存のグループのメンバーでなく、第2端末が既存のグループのメンバーであるとき、第1端末が、NFC接続を介し第2端末により送信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を受信し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよく、ここで、第2端末が作成予定の新たなグループにおける第2端末によって利用されるMACエンティティとして第2端末における未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定した後、第2端末が第1端末のデフォルト設定に従って第1端末が第2端末と新たなグループを作成するよう要求していると判断し、第2端末が少なくとも1つの未使用のMACエンティティを有すると判断したとき、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は第2端末によって第1端末に送信され、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報に矛盾せず、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に第2端末のグループ情報を有する。 In yet another specific implementation of this implementation, establishing a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group that the first terminal is scheduled to create is When one terminal is not a member of an existing group and the second terminal is a member of an existing group, the first terminal transmits a Wi-Fi of a new group to be created that is transmitted by the second terminal via an NFC connection. Receiving the Direct configuration information and establishing a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be created, where the second terminal A MAC entity used by the second terminal in the new group to be created; After selecting one of the unused MAC entities in the second terminal and setting the Wi-Fi Direct configuration information of the new group to be created, the second terminal sets the first according to the default setting of the first terminal. When it is determined that one terminal is requesting to create a new group with the second terminal and it is determined that the second terminal has at least one unused MAC entity, the Wi- The Fi Direct configuration information is transmitted to the first terminal by the second terminal, and the Wi-Fi Direct configuration information of the new group scheduled to be created is included in the Wi-Fi Direct configuration information of the existing group to which the second terminal belongs. A new group of Wi-Fi that will be created without conflict. The direct configuration information further includes group information of the second terminal.
本実現方式の更なる他の特定の実現方式では、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が既存のグループのメンバーでなく、第2端末が既存のグループのメンバーであるとき、第1端末が、NFC接続を介し第2端末により送信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を受信し、第1端末が、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよく、ここで、第2端末が第2端末が属する既存のグループをやめ、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定した後、第2端末が属する既存のグループをやめるか第2端末が第2端末を利用するユーザに促すときに第2端末を利用するユーザが第2端末が属する既存のグループをやめることを選択した場合、第2端末が第1端末のデフォルト設定に従って第1端末が第2端末と新たなグループを作成することを要求していると判断し、第2端末が第2端末における全てのMACエンティティが利用されていると判断するとき、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報が、第2端末によって第1端末に送信され、第2端末のグループオーナ意図の値は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報における第1端末のグループオーナ意図の値と異なる。 In yet another specific implementation of this implementation, establishing a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group that the first terminal is scheduled to create is When one terminal is not a member of an existing group and the second terminal is a member of an existing group, the first terminal transmits a Wi-Fi of a new group to be created that is transmitted by the second terminal via an NFC connection. Direct configuration information may be received, and the first terminal may establish a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be created, where The second terminal quits the existing group to which the second terminal belongs, and the Wi-Fi Dir of the first terminal After setting the Wi-Fi Direct configuration information of the new group to be created according to the ct configuration information and the Wi-Fi Direct configuration information of the second terminal, whether or not to stop the existing group to which the second terminal belongs If the user using the second terminal chooses to quit the existing group to which the second terminal belongs when the terminal prompts the user who uses the second terminal, the second terminal is in accordance with the default setting of the first terminal. When it is determined that the terminal is requesting to create a new group with the second terminal, and the second terminal determines that all MAC entities in the second terminal are used, the new group to be created Wi-Fi Direct configuration information is sent by the second terminal to the first terminal Is the value of the group owner intent of the second terminal is different from the value of the group owner intent of the first terminal in Wi-Fi Direct configuration information for the new group creation schedule.
本実施例の更なる他の実現方式では、第1端末が既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が既存のグループのメンバーであり、第2端末が既存のグループのメンバーでないとき、第2端末が第2端末のデフォルト設定に従って第2端末が第1端末が属する既存のグループに加わることを要求していると判断し、第2端末が第1端末のグループ情報に従って第1端末が第1端末が属する既存のグループのグループオーナであると判断した場合、第2端末が第2端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値を第1端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値より小さい値に設定した後、第1端末が、第1端末のWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよく、この場合、第1端末のWi−Fi Directコンフィギュレーション情報は第1端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報である。 In yet another implementation of this embodiment, the first terminal establishes a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the existing group. If the second terminal is a member of a group and the second terminal is not a member of an existing group, the second terminal requests that the second terminal join the existing group to which the first terminal belongs according to the default settings of the second terminal If the second terminal determines that the first terminal is a group owner of the existing group to which the first terminal belongs according to the group information of the first terminal, the second terminal determines the Wi-Fi Direct configuration of the second terminal. The value of the group owner intention in the information is set in the Wi-Fi Direct configuration information of the first terminal. The first terminal may establish a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the first terminal after setting to a value smaller than the value of the group owner intention, In this case, the Wi-Fi Direct configuration information of the first terminal is Wi-Fi Direct configuration information of the existing group to which the first terminal belongs.
本実施例の更なる他の実現方式では、第1端末が既存のグループのメンバーであり、第2端末が既存のグループのメンバーでなく、第1端末が第1端末が属する既存のグループのクライアントであるとき、第1端末によって送信される第1端末のWi−Fi Directコンフィギュレーション情報は、第1端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報を除くコンフィギュレーション情報であり、この場合、第1端末は更に、NFC接続を介し第2端末に第1端末が属する既存のグループのグループオーナの記述情報を送信する。具体的には、第1端末が属する既存のグループのグループオーナの記述情報は、第1端末のWi−Fi Directコンフィギュレーション情報に含まれてもよいし、あるいは、第1端末が属する既存のグループのグループオーナの記述情報はまた、第1端末のWi−Fi Directコンフィギュレーション情報に含まれなくてもよく、第1端末のWi−Fi Directコンフィギュレーション情報と共に第2端末に送信される。 In yet another implementation of this embodiment, the first terminal is a member of an existing group, the second terminal is not a member of the existing group, and the first terminal is a client of the existing group to which the first terminal belongs. The Wi-Fi Direct configuration information of the first terminal transmitted by the first terminal is configuration information excluding encryption information in the Wi-Fi Direct configuration information of the existing group to which the first terminal belongs. In this case, the first terminal further transmits the group owner description information of the existing group to which the first terminal belongs to the second terminal via the NFC connection. Specifically, the description information of the group owner of the existing group to which the first terminal belongs may be included in the Wi-Fi Direct configuration information of the first terminal, or the existing group to which the first terminal belongs. The group owner description information may not be included in the Wi-Fi Direct configuration information of the first terminal, and is transmitted to the second terminal together with the Wi-Fi Direct configuration information of the first terminal.
本実施例の更なる他の実現方式では、第1端末が既存のグループのメンバーであり、第2端末が既存のグループのメンバーでないとき、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が、NFC接続を介し第2端末により送信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を受信し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよく、ここで、第2端末が、第1端末における未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定し、第2端末が、第2端末のデフォルト設定に従って第2端末が第1端末と新たなグループを作成することを要求していると判断し、第1端末が少なくとも1つの未使用のMACエンティティを有すると判断した後、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、第2端末によって第1端末に送信され、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に、第1端末から第2端末によって選択されたMACエンティティのアドレスを有し、第1端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報と矛盾しない。 In yet another implementation of this embodiment, when the first terminal is a member of an existing group and the second terminal is not a member of an existing group, the first terminal will create a Wi-Fi for a new group to be created. Establishing a Wi-Fi Direct connection with the second terminal according to the Direct configuration information means that the first terminal transmits a new group Wi-Fi Direct configuration to be created that is transmitted by the second terminal via the NFC connection. Receiving the information and establishing a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be created, wherein the second terminal is the first Select one of the unused MAC entities at the terminal and create a new group The second terminal determines that the second terminal is requesting to create a new group with the first terminal according to the default setting of the second terminal, and the second terminal sets the Wi-Fi Direct configuration information of the first terminal, After determining that one terminal has at least one unused MAC entity, the Wi-Fi Direct configuration information of the new group to be created is transmitted to the first terminal by the second terminal, and the new group to be created is created. The group's Wi-Fi Direct configuration information further has the address of the MAC entity selected by the second terminal from the first terminal, and is consistent with the Wi-Fi Direct configuration information of the existing group to which the first terminal belongs. .
本実施例の更なる他の実現方式では、第1端末が既存のグループのメンバーであり、第2端末が既存のグループのメンバーでないとき、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が、NFC接続を介し第2端末により送信される作成予定のグループのWi−Fi Directコンフィギュレーション情報を受信することであってもよく、ここで、第2端末が第2端末のデフォルト設定に従って第2端末が第1端末と新たなグループを作成することを要求していると判断し、第1端末が少なくとも1つの未使用のMACエンティティを有し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報が第1端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報に矛盾しないと判断した後、第2端末により送信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、第2端末によって設定され、第1端末に送信され、その後、第1端末が、第1端末における未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよい。 In yet another implementation of this embodiment, when the first terminal is a member of an existing group and the second terminal is not a member of an existing group, the first terminal will create a Wi-Fi for a new group to be created. Establishing a Wi-Fi Direct connection with the second terminal according to the Direct configuration information means that the first terminal obtains the Wi-Fi Direct configuration information of the group to be created, which is transmitted by the second terminal via the NFC connection. The second terminal may determine that the second terminal is requesting to create a new group with the first terminal according to the default setting of the second terminal, and the first terminal Has at least one unused MAC entity, and a new group Wi-Fi Direct config to be created The Wi-Fi Direct configuration information of the new group to be created transmitted by the second terminal is determined to be consistent with the Wi-Fi Direct configuration information of the existing group to which the first terminal belongs, Configured by the second terminal and transmitted to the first terminal, after which the first terminal selects one of the unused MAC entities at the first terminal and creates a new group of Wi-Fi Direct configurations to be created. It may be to establish a Wi-Fi Direct connection with the second terminal according to the operation information.
本実施例の更なる他の実現方式では、第1端末は既存のグループのメンバーであり、第2端末は既存のグループのメンバーでないとき、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が、第2端末が第1端末と新たなグループを作成することを要求しているという第2端末により送信される通知を受信することであってもよく、ここで、第2端末が第2端末のデフォルト設定に従って第2端末が第1端末と新たなグループを作成することを要求していると判断し、第1端末における全てのMACエンティティが利用されると判断した後、当該通知は第2端末によって第1端末に送信され、その後、第1端末が、第1端末が属する既存のグループをやめるか第1端末を利用するユーザを促し、第1端末を利用するユーザが第1端末が属する既存のグループをやめることを選択した後、第1端末が属する既存のグループをやめ、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよい。 In yet another implementation of this embodiment, when the first terminal is a member of an existing group and the second terminal is not a member of the existing group, the first terminal is scheduled to create a new group Wi-Fi. Establishing a Wi-Fi Direct connection with the second terminal in accordance with the Direct configuration information means that the first terminal requests that the second terminal create a new group with the first terminal. The second terminal is requesting that the second terminal create a new group with the first terminal in accordance with the default settings of the second terminal. After determining and determining that all MAC entities in the first terminal are used, the notification is transmitted by the second terminal to the first terminal, after which the first terminal Stop the existing group to which one terminal belongs or prompt the user who uses the first terminal, and after the user using the first terminal chooses to quit the existing group to which the first terminal belongs, the existing one to which the first terminal belongs , And set Wi-Fi Direct configuration information for a new group to be created according to the Wi-Fi Direct configuration information for the first terminal and the Wi-Fi Direct configuration information for the second terminal. The Wi-Fi Direct connection with the second terminal may be established according to the Wi-Fi Direct configuration information of the new group.
本実施例の更なる他の実現方式では、第1端末と第2端末との双方が既存のグループのメンバーであるとき、第1端末が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することは、第1端末が、NFC接続を介し第2端末により送信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を受信し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立することであってもよく、ここで、第2端末が作成予定の新たなグループにおける第2端末により利用されるMACエンティティとして第2端末における未使用のMACエンティティからの1つを選択し、第1端末における未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定した後、第2端末が第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って第1端末と第2端末とが同じグループに属さず、第1端末と第2端末との双方が少なくとも1つの未使用のMACエンティティを有すると判断し、第2端末が第1端末のグループ情報と第2端末のグループ情報とに従って第1端末と第2端末との少なくとも1つがグループオーナであると判断すると、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、第2端末によって第1端末に送信され、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に、第1端末から第2端末によって選択されたMACエンティティのアドレスを有する。 In still another implementation method of the present embodiment, when both the first terminal and the second terminal are members of an existing group, the Wi-Fi Direct configuration information of the new group that the first terminal is scheduled to create Establishing a Wi-Fi Direct connection with the second terminal according to the first terminal receives the Wi-Fi Direct configuration information of the new group to be created transmitted by the second terminal via the NFC connection The Wi-Fi Direct connection with the second terminal may be established according to the Wi-Fi Direct configuration information of the new group to be created, where the second terminal in the new group to be created Unused MAC in the second terminal as a MAC entity used by the second terminal After selecting one from the entity, selecting one from the unused MAC entity at the first terminal and setting the Wi-Fi Direct configuration information for the new group to be created, the second terminal According to the Wi-Fi Direct configuration information of one terminal and the Wi-Fi Direct configuration information of the second terminal, the first terminal and the second terminal do not belong to the same group, and both the first terminal and the second terminal The second terminal determines that it has at least one unused MAC entity, and at least one of the first terminal and the second terminal is a group owner according to the group information of the first terminal and the group information of the second terminal Once determined, the new group's Wi-Fi Direct configuration to be created Broadcast is transmitted by the second terminal to the first terminal, Wi-Fi Direct configuration information for the new group creation schedule further includes the address of the selected MAC entity by the second terminal from the first terminal.
本実施例では、第1端末と第2端末との一方のみがグループオーナである場合、既存のグループにおいてグループオーナである端末は、新たなグループにおけるクライアントでなければならず、当該端末のグループオーナ意図は、新たなグループのWi−Fi Directコンフィギュレーション情報におけるピアエンドのグループオーナ意図より小さくなるよう設定される必要があり、第1端末と第2端末との双方が既存のグループにおけるグループオーナである場合、新たなグループのコンフィギュレーション情報における2つの端末のグループオーナ意図は、これら2つの端末のグループオーナ意図の値が異なって設定される限り、ランダムに設定されてもよい。 In this embodiment, when only one of the first terminal and the second terminal is the group owner, the terminal that is the group owner in the existing group must be a client in the new group, and the group owner of the terminal The intention needs to be set to be smaller than the peer end group owner intention in the Wi-Fi Direct configuration information of the new group, and both the first terminal and the second terminal are group owners in the existing group. In this case, the group owner intention of the two terminals in the new group configuration information may be set randomly as long as the values of the group owner intention of the two terminals are set differently.
上記実施例では、第1端末と第2端末とは、NFC接続を利用することによってWi−Fi Directコンフィギュレーション情報を交換し、デバイス検出手順とGOネゴシエーション手順とが暗黙的に交換処理に含まれ、これにより、無線シグナリングを利用することによって実行され、Wi−Fi Directプロトコルにおいて定義されるデバイス検出、GOネゴシエーション及びWPS認証情報交換などのハンドシェイク手順を利用しなくてよく、Wi−Fi Direct接続確立手順を簡単化することができる。さらに、Wi−Fi Directプロトコルは、Wi−Fi Directグループのクライアントが他のグループのクライアント又はGOをアクティブに検出することができないことを指定する。このシナリオでは、Wi−Fi Direct接続は無線シグナリングを利用することによって確立することはできず、本実施例により提供される技術的手段が利用されるとき、当該制約は存在しない。第1端末と第2端末とがNFC通信範囲内にある限り、第1端末と第2端末とはコンフィギュレーション情報を交換することができ、双方が第1端末と第2端末との間のWi−Fi Direct接続を確立することができる。 In the above embodiment, the first terminal and the second terminal exchange Wi-Fi Direct configuration information by using an NFC connection, and the device detection procedure and the GO negotiation procedure are implicitly included in the exchange process. Thus, it is not necessary to use handshake procedures such as device detection, GO negotiation and WPS authentication information exchange, which are executed by using wireless signaling and defined in the Wi-Fi Direct protocol. The establishment procedure can be simplified. Furthermore, the Wi-Fi Direct protocol specifies that clients in the Wi-Fi Direct group cannot actively detect clients or GOs in other groups. In this scenario, a Wi-Fi Direct connection cannot be established by using wireless signaling, and there is no such restriction when the technical means provided by this embodiment is used. As long as the first terminal and the second terminal are within the NFC communication range, the first terminal and the second terminal can exchange configuration information, and both are Wi between the first terminal and the second terminal. -A Fi Direct connection can be established.
本発明による通信接続を確立する方法において、Wi−Fi Direct接続はNFCハンドオーバを利用することによって確立される。本発明により提供される方法を利用してWi−Fi Direct接続を確立する2つの端末は何れも、NFC及びWi−Fi Direct機能をサポートする必要がある。図2に示されるように、端末A及び端末Bは別々に各自のWi−Fi Directコンフィギュレーション情報を読み出し、その後、NFCインタフェースを介しタッチ方式により接続が確立されるピアエンドとWi−Fi Directコンフィギュレーション情報を交換し、本発明により提供される方法に従ってWi−Fi Direct接続を確立する。図2は、本発明によるアプリケーションシナリオの一実施例の概略図である。 In the method for establishing a communication connection according to the present invention, a Wi-Fi Direct connection is established by using NFC handover. Any two terminals that establish a Wi-Fi Direct connection using the method provided by the present invention must support NFC and Wi-Fi Direct functions. As shown in FIG. 2, the terminal A and the terminal B separately read their Wi-Fi Direct configuration information, and then the peer end and the Wi-Fi Direct configuration where the connection is established by the touch method via the NFC interface. Exchange information and establish a Wi-Fi Direct connection according to the method provided by the present invention. FIG. 2 is a schematic diagram of one embodiment of an application scenario according to the present invention.
図2において、端末Aと端末Bとの間で交換されるWi−Fi Directコンフィギュレーション情報は、以下のコンテンツを有する。
(1)Wi−Fi P2PグループのID(Wi−Fi P2P、すなわち、Wi−Fi Direct)
(2)Wi−Fi P2PグループのBSSID
(3)チャネルリスト(Channel list)
(4)既存のグループの動作チャネル(Operating Channel、2つの端末の何れもが既存のグループに加入していない場合、コンテンツは合意されているヌル値により充填される)
(5)認証情報(WPS認証情報又は他の認証情報であってもよい認証)
(6)暗号化情報(WPS暗号化情報又は他の暗号化情報であってもよい暗号化)
(7)MACエンティティの個数及び各MACエンティティのアドレス(端末が有するMACエンティティの個数と各MACエンティティのアドレス)
(8)グループオーナ意図(GO Intent)
(9)グループ情報、その値は、端末が既存のグループにないことであるか、端末が既存のグループのグループオーナであること、又は、端末が既存のグループのクライアントであることであってもよい
(10)IPベースアドレス(端末が2つのグループのメンバーとして動作するとき、2つのグループの間のIPアドレスの競合を回避するため)
(11)Wi−Fi Directプロトコルにより定義され、無線信号フレームを利用することによって交換されてもよい他のコンテンツ
(12)端末が無線信号フレームを利用することによって既存のグループに加わることを要求しているか示すデフォルト設定オプション
In FIG. 2, Wi-Fi Direct configuration information exchanged between terminal A and terminal B has the following contents.
(1) ID of Wi-Fi P2P group (Wi-Fi P2P, that is, Wi-Fi Direct)
(2) Wi-Fi P2P group BSSID
(3) Channel list
(4) Operating channel of an existing group (Operating Channel, if neither of the two terminals has joined an existing group, the content is filled with an agreed null value)
(5) Authentication information (authentication which may be WPS authentication information or other authentication information)
(6) Encryption information (encryption which may be WPS encryption information or other encryption information)
(7) The number of MAC entities and the address of each MAC entity (the number of MAC entities that the terminal has and the address of each MAC entity)
(8) Group owner intention (GO Intent)
(9) Group information, even if the value is that the terminal is not in an existing group, the terminal is a group owner of an existing group, or the terminal is a client of an existing group Good (10) IP base address (to avoid IP address conflict between the two groups when the terminal operates as a member of the two groups)
(11) Other contents defined by the Wi-Fi Direct protocol and which may be exchanged by using a radio signal frame (12) Request that a terminal join an existing group by using a radio signal frame Default configuration options to indicate
図3は、本発明による通信接続を確立する方法の他の実施例のフローチャートである。図3に示されるように、通信接続を確立する方法は以下を含むものであってもよい。 FIG. 3 is a flowchart of another embodiment of a method for establishing a communication connection according to the present invention. As shown in FIG. 3, a method for establishing a communication connection may include:
ステップ301:端末Aは、スクリーンをアンロックし、NFC機能を有効にし、またNFC機能を有効にし、スクリーンをアンロックした端末Bにタッチし、その後、NFC接続が端末Aと端末Bとの間で確立される。 Step 301: Terminal A unlocks the screen, activates the NFC function, activates the NFC function, touches the terminal B that unlocked the screen, and then the NFC connection is between the terminal A and the terminal B. Established in
ステップ302:端末Bは、端末AによってNFC接続を介し送信される端末AのWi−Fi Directコンフィギュレーション情報を受信する。 Step 302: Terminal B receives Wi-Fi Direct configuration information of terminal A transmitted by terminal A via an NFC connection.
特定の実現形態中、端末A及び端末Bは、要求元(Requester)及び選択者(Selector)の識別子を決定するため、NFC接続ハンドオーバプロトコルに定義される“ハンドオーバリクエスト衝突解決機構”を利用してもよい。しかしながら、本実施例は、端末AがRequesterであり、端末BがSelectorであることを一例として利用することによって説明される。 In a specific implementation, terminal A and terminal B use the “handover request conflict resolution mechanism” defined in the NFC connection handover protocol to determine the identifier of the requester (Requester) and the selector (Selector). Also good. However, the present embodiment will be described by using as an example that the terminal A is a Requester and the terminal B is a Selector.
本実施例では、端末BのWi−Fi Directコンフィギュレーション情報は、端末Bのグループ情報を有し、端末AのWi−Fi Directコンフィギュレーション情報は、端末Aのグループ情報を有する。 In the present embodiment, the Wi-Fi Direct configuration information of the terminal B has group information of the terminal B, and the Wi-Fi Direct configuration information of the terminal A has group information of the terminal A.
本実施例では、端末BのWi−Fi Directコンフィギュレーション情報は更に、端末Bのグループオーナ意図、端末BにおけるMACエンティティの個数及び各MACエンティティのアドレスを有し、ここで、端末Bのグループ情報の値は、端末Bが既存のグループのメンバーでないこと、端末Bが端末Bが属する既存のグループのグループオーナであること、又は端末Bが端末Bが属する既存のグループのクライアントであることであってもよく、
端末AのWi−Fi Directコンフィギュレーション情報は更に、端末Aのグループオーナ意図、端末AにおけるMACエンティティの個数及び各MACエンティティのアドレスを有し、ここで、端末Aのグループ情報の値は、端末Aが既存のグループのメンバーでないこと、端末Aが端末Aが属する既存のグループのグループオーナであること、又は端末Aが端末Aが属する既存のグループのクライアントであることであってもよい。
In this embodiment, the Wi-Fi Direct configuration information of the terminal B further includes the group owner intention of the terminal B, the number of MAC entities in the terminal B, and the address of each MAC entity. Here, the group information of the terminal B The value of is that terminal B is not a member of an existing group, that terminal B is a group owner of an existing group to which terminal B belongs, or that terminal B is a client of an existing group to which terminal B belongs. You can,
The Wi-Fi Direct configuration information of the terminal A further includes the group owner intention of the terminal A, the number of MAC entities in the terminal A, and the address of each MAC entity, where the value of the group information of the terminal A is the terminal It may be that A is not a member of an existing group, terminal A is a group owner of an existing group to which terminal A belongs, or terminal A is a client of an existing group to which terminal A belongs.
ステップ303:端末Bが、端末Bのグループ情報と端末Aのグループ情報とに従って、端末Bと端末Aとの何れもが既存のグループのメンバーでないと判断した場合、端末Bは、端末BのWi−Fi Directコンフィギュレーション情報と端末AのWi−Fi Directコンフィギュレーション情報とに従って端末AとのWi−Fi Direct接続を確立する。 Step 303: If the terminal B determines that neither the terminal B nor the terminal A is a member of the existing group according to the group information of the terminal B and the group information of the terminal A, the terminal B -Establish a Wi-Fi Direct connection with the terminal A according to the Fi Direct configuration information and the Wi-Fi Direct configuration information of the terminal A.
具体的には、端末Bは、端末BのWi−Fi Directコンフィギュレーション情報と端末AのWi−Fi Directコンフィギュレーション情報とに従って作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定してもよく、ここで、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、作成予定の新たなグループの識別子、作成予定の新たなグループのBSSID、作成予定の新たなグループの動作チャネル、端末Bのグループオーナ意図、作成予定の新たなグループのIPベースアドレス及び作成予定の新たなグループにおける端末Bにより利用されるMACエンティティのアドレスを有し、その後、端末Bは、NFC接続を介し端末Bに作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信し、最後に、端末Bは、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って端末AとのWi−Fi Direct接続を確立する。 Specifically, terminal B sets Wi-Fi Direct configuration information of a new group to be created according to Wi-Fi Direct configuration information of terminal B and Wi-Fi Direct configuration information of terminal A. Here, the Wi-Fi Direct configuration information of the new group to be created includes the identifier of the new group to be created, the BSSID of the new group to be created, the operation channel of the new group to be created, Having the group owner intent of terminal B, the IP base address of the new group to be created and the address of the MAC entity used by terminal B in the new group to be created, after which terminal B will connect the terminal via NFC connection New to be created in B It sends a Wi-Fi Direct configuration information of the loop, and finally, the terminal B establishes a Wi-Fi Direct connection with the terminal A in accordance with Wi-Fi Direct configuration information for the new group creation schedule.
作成予定の新たなグループの識別子を設定するときなど、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する際、端末Bは、端末BのWi−Fi Directコンフィギュレーション情報におけるグループ識別子を利用してもよいか、端末AのWi−Fi Directコンフィギュレーション情報におけるグループ識別子を利用してもよいか、又は端末BのWi−Fi Directコンフィギュレーション情報におけるグループ識別子を利用せず、また端末AのWi−Fi Directコンフィギュレーション情報におけるグループ識別子も利用せず、作成予定の新たなグループに対して新たな識別子を設定してもよい。同様に、作成予定の新たなグループのBSSID、作成予定の新たなグループの動作チャネル、作成予定の新たなグループのIPベースアドレス及び作成予定の新たなグループにおいて利用されるMACエンティティのアドレスがまた、上述したようにして設定されてもよく、すなわち、端末B又は端末AのWi−Fi Directコンフィギュレーション情報に含まれる対応する情報が利用されるか、又は新たな値が設定される。詳細はここでは繰り返されない。 When setting Wi-Fi Direct configuration information of a new group to be created, such as when setting an identifier of a new group to be created, the terminal B uses the group identifier in the Wi-Fi Direct configuration information of the terminal B May be used, a group identifier in the Wi-Fi Direct configuration information of the terminal A may be used, or a group identifier in the Wi-Fi Direct configuration information of the terminal B may not be used. A new identifier may be set for a new group to be created without using the group identifier in A's Wi-Fi Direct configuration information. Similarly, the BSSID of the new group to be created, the operating channel of the new group to be created, the IP base address of the new group to be created and the MAC entity address used in the new group to be created are also It may be set as described above, that is, corresponding information included in the Wi-Fi Direct configuration information of the terminal B or the terminal A is used or a new value is set. Details are not repeated here.
本実施例のステップ302において、端末AがNFC接続を介し端末Bに端末AのWi−Fi Directコンフィギュレーション情報を送信することは、端末Aが端末BにNFC接続ハンドオーバリクエストメッセージを送信することであってもよく、ここで、NFC接続ハンドオーバリクエストメッセージは、端末AのWi−Fi Directコンフィギュレーション情報を含む。
In
具体的には、NFC接続ハンドオーバリクエストメッセージのカプセル化フォーマットは、図4に示されるようなものであってもよい。ステップ303において、NFC接続ハンドオーバレスポンスのカプセル化フォーマットは、図5に示されるようなものであってもよい。図4は、本発明による接続ハンドオーバリクエストのフォーマットの一実施例の概略図であり、図5は、本発明による接続ハンドオーバレスポンスのフォーマットの一実施例の概略図である。
Specifically, the encapsulation format of the NFC connection handover request message may be as shown in FIG. In
上記のメッセージカプセル化フォーマットでは、Wi−Fi Directコンフィギュレーション情報の一部は接続コンフィギュレーションデータに配置され、その一部は補助記述データに配置される。実際、Wi−Fi Directコンフィギュレーション情報の全ては、接続コンフィギュレーションデータに配置されてもよいし、又は、補助記述データに配置されてもよく、本実施例によって限定されるものでない。 In the above message encapsulation format, a part of the Wi-Fi Direct configuration information is arranged in the connection configuration data, and a part thereof is arranged in the auxiliary description data. In fact, all of the Wi-Fi Direct configuration information may be arranged in the connection configuration data or in the auxiliary description data, and is not limited by this embodiment.
上記実施例では、暗号化情報の交換に加えて、端末Bと端末Aとは、グループ情報、MACエンティティの個数及び各MACエンティティのアドレスなどのWi−Fi Direct接続を確立するのに要求されるパラメータ系列を交換する必要があるが、当該パラメータは、従来技術では無線シグナリングを利用することによって複数回の交換後に始めて完全に交換することができる。しかしながら、本実施例では、パラメータは、Wi−Fi Directコンフィギュレーション情報に含まれ、1回でNFC接続を介し完全に交換され、これにより、Wi−Fi Direct接続を確立する処理が簡単化される。 In the above embodiment, in addition to the exchange of encryption information, terminal B and terminal A are required to establish a Wi-Fi Direct connection such as group information, the number of MAC entities and addresses of each MAC entity. Although it is necessary to exchange the parameter series, the parameter can be completely exchanged only after a plurality of exchanges by using wireless signaling in the prior art. However, in this embodiment, the parameters are included in the Wi-Fi Direct configuration information and are completely exchanged via the NFC connection at one time, thereby simplifying the process of establishing the Wi-Fi Direct connection. .
図6A、6B、6C及び6Dは、本発明による通信接続を確立する方法の更なる他の実施例のフローチャートである。図6A、6B、6C及び6Dに示されるように、通信接続を確立する方法は以下を含むものであってもよい。 6A, 6B, 6C and 6D are flowcharts of yet another embodiment of a method for establishing a communication connection according to the present invention. As shown in FIGS. 6A, 6B, 6C and 6D, a method for establishing a communication connection may include:
ステップ601:端末Aは、スクリーンをアンロックし、NFC機能を有効にし、またNFC機能を有効にし、スクリーンをアンロックした端末Bにタッチし、その後、NFC接続が端末Aと端末Bとの間で確立される。 Step 601: Terminal A unlocks the screen, activates the NFC function, activates the NFC function, touches the terminal B that unlocked the screen, and then the NFC connection is between the terminal A and the terminal B. Established in
ステップ602:端末Bは、端末AによってNFC接続を介し送信される端末AのWi−Fi Directコンフィギュレーション情報を受信する。 Step 602: Terminal B receives terminal A's Wi-Fi Direct configuration information transmitted by terminal A via an NFC connection.
特定の実現形態中、端末A及び端末Bは、Requester及びSelectorの識別子を決定するため、NFC接続ハンドオーバプロトコルに定義される“ハンドオーバリクエスト衝突解決機構”を利用してもよい。しかしながら、本実施例は、端末AがRequesterであり、端末BがSelectorであることを一例として利用することによって説明される。 In a specific implementation, terminal A and terminal B may use a “handover request conflict resolution mechanism” defined in the NFC connection handover protocol to determine the identifier of the Requester and Selector. However, the present embodiment will be described by using as an example that the terminal A is a Requester and the terminal B is a Selector.
本実施例では、端末BのWi−Fi Directコンフィギュレーション情報は、端末Bのグループ情報を有し、端末AのWi−Fi Directコンフィギュレーション情報は、端末Aのグループ情報を有する。 In the present embodiment, the Wi-Fi Direct configuration information of the terminal B has group information of the terminal B, and the Wi-Fi Direct configuration information of the terminal A has group information of the terminal A.
本実施例では、端末BのWi−Fi Directコンフィギュレーション情報は更に、端末Bのグループオーナ意図、端末BにおけるMACエンティティの個数及び各MACエンティティのアドレスを有し、ここで、端末Bのグループ情報の値は、端末Bが既存のグループのメンバーでないこと、端末Bが端末Bが属する既存のグループのグループオーナであること、又は端末Bが端末Bが属する既存のグループのクライアントであることであってもよく、
端末AのWi−Fi Directコンフィギュレーション情報は更に、端末Aのグループオーナ意図、端末AにおけるMACエンティティの個数及び各MACエンティティのアドレスを有し、ここで、端末Aのグループ情報の値は、端末Aが既存のグループのメンバーでないこと、端末Aが端末Aが属する既存のグループのグループオーナであること、又は端末Aが端末Aが属する既存のグループのクライアントであることであってもよい。
In this embodiment, the Wi-Fi Direct configuration information of the terminal B further includes the group owner intention of the terminal B, the number of MAC entities in the terminal B, and the address of each MAC entity. Here, the group information of the terminal B The value of is that terminal B is not a member of an existing group, that terminal B is a group owner of an existing group to which terminal B belongs, or that terminal B is a client of an existing group to which terminal B belongs. You can,
The Wi-Fi Direct configuration information of the terminal A further includes the group owner intention of the terminal A, the number of MAC entities in the terminal A, and the address of each MAC entity, where the value of the group information of the terminal A is the terminal It may be that A is not a member of an existing group, terminal A is a group owner of an existing group to which terminal A belongs, or terminal A is a client of an existing group to which terminal A belongs.
ステップ603:端末Bが、端末A及び端末Bのグループ情報とに従って、端末Bと端末Aとの1つが既存のグループのメンバーであると判断する。端末Bが既存のグループのメンバーであり、端末Aが既存のグループのメンバーでない場合、ステップ604が実行され、端末Bが既存のグループのメンバーでなく、端末Aが既存のグループのメンバーである場合、ステップ620が実行される。
Step 603: Terminal B determines that one of terminal B and terminal A is a member of an existing group according to the group information of terminal A and terminal B. If terminal B is a member of an existing group and terminal A is not a member of an existing group, step 604 is executed and terminal B is not a member of an existing group and terminal A is a member of an existing
ステップ604:端末Bは、NFC接続を介し端末Aにより送信される端末Aのデフォルト設定を受信する。 Step 604: Terminal B receives the default setting of terminal A transmitted by terminal A via an NFC connection.
具体的には、端末Aのデフォルト設定は端末AのWi−Fi Directコンフィギュレーション情報に含まれてもよいし、又は、デフォルト設定はまた端末AのWi−Fi Directコンフィギュレーション情報に含まれなくてもよいが、端末AのWi−Fi Directコンフィギュレーション情報と共に端末Bに送信される。 Specifically, the default setting of terminal A may be included in the Wi-Fi Direct configuration information of terminal A, or the default setting may not be included in the Wi-Fi Direct configuration information of terminal A. However, it is transmitted to the terminal B together with the Wi-Fi Direct configuration information of the terminal A.
端末Aのデフォルト設定は、端末Aが端末Bが属する既存のグループに加わることを要求しているか、又は、端末Aが端末Bと新たなグループを作成することを要求していることを反映する。 The default settings for terminal A reflect that terminal A is requesting to join an existing group to which terminal B belongs or that terminal A is requesting to create a new group with terminal B. .
ステップ605:端末Bは、端末Aのデフォルト設定に従って、端末Aが端末Bが属する既存のグループに加わることを要求しているか判断し、端末Aが端末Bが属する既存のグループに加わることを要求している場合、ステップ606が実行され、あるいは、端末Aが端末Bが属する既存のグループに加わることを要求していない場合、すなわち、端末Bが端末Aのデフォルト設定に従って、端末Aが端末Bと新たなグループを作成することを要求している場合、ステップ613が実行される。
Step 605: Terminal B determines whether terminal A requests to join the existing group to which terminal B belongs according to the default setting of terminal A, and requests that terminal A join to the existing group to which terminal B belongs If so, step 606 is executed or if terminal A is not requesting to join the existing group to which terminal B belongs, i.e. terminal B is in terminal B according to the default settings of terminal A. If a new group is requested to be created,
ステップ606:端末Bは、端末Bのグループ情報に従って、端末Bが端末Bが属する既存のグループのグループオーナであるか判断する。端末Bが端末Bが属する既存のグループのグループオーナである場合、ステップ607が実行され、端末Bが端末Bが属する既存のグループのグループオーナでなく、既存のグループのクライアントである場合、ステップ610が実行される。
Step 606: According to the group information of terminal B, terminal B determines whether terminal B is a group owner of an existing group to which terminal B belongs. If terminal B is the group owner of the existing group to which terminal B belongs,
ステップ607:端末Bは、端末Bが属する既存のグループのWi−Fi Directコンフィギュレーション情報をNFC接続ハンドオーバレスポンスにカプセル化し、当該レスポンスを端末Aに送信する。 Step 607: The terminal B encapsulates the Wi-Fi Direct configuration information of the existing group to which the terminal B belongs into an NFC connection handover response, and transmits the response to the terminal A.
ステップ608:端末Aは、既存のグループのWi−Fi Directコンフィギュレーション情報に従って、端末AのWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値を端末BのWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値より小さい値に設定する。このようにして、端末Aは、端末Bが属する既存のグループに加わるためクライアントとして利用可能である。 Step 608: The terminal A changes the value of the group owner intention in the Wi-Fi Direct configuration information of the terminal A to the group owner in the Wi-Fi Direct configuration information of the terminal B according to the Wi-Fi Direct configuration information of the existing group. Set a value smaller than the intended value. In this way, the terminal A can be used as a client because it joins the existing group to which the terminal B belongs.
ステップ609:端末Bは、既存のグループのWi−Fi Directコンフィギュレーション情報に従って端末AとのWi−Fi Direct接続を確立する。 Step 609: The terminal B establishes a Wi-Fi Direct connection with the terminal A according to the existing group's Wi-Fi Direct configuration information.
ステップ610:端末Bは、既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報と既存のグループのグループオーナの記述情報とを除くコンフィギュレーション情報をNFC接続ハンドオーバレスポンスにカプセル化し、当該レスポンスを端末Aに送信する。 Step 610: The terminal B encapsulates the configuration information excluding the encryption information in the Wi-Fi Direct configuration information of the existing group and the description information of the group owner of the existing group into an NFC connection handover response, and sends the response Transmit to terminal A.
ステップ611:端末Aは、グループオーナの記述情報に従って既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報をグループオーナに要求し、グループオーナにより送信された既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報を受信する。 Step 611: The terminal A requests the group owner for encryption information in the Wi-Fi Direct configuration information of the existing group according to the description information of the group owner, and the Wi-Fi Direct configuration of the existing group transmitted by the group owner. Receives encryption information in the session information.
具体的には、端末Aは、無線接続(Wi−Fiなど)方式により暗号化情報をグループオーナに要求してもよいか、又は追加的なタッチにより暗号化情報を取得してもよい(すなわち、グループオーナとのNFC接続を確立することによって)。このようにして、端末Aはまた、既存のグループの全てのWi−Fi Directコンフィギュレーション情報を取得し、その後、ステップ612が実行される。 Specifically, the terminal A may request the encryption information from the group owner by a wireless connection (Wi-Fi or the like) method, or may acquire the encryption information by an additional touch (ie, , By establishing an NFC connection with the group owner). In this way, terminal A also obtains all Wi-Fi Direct configuration information of the existing group, and then step 612 is performed.
ステップ612:端末Bは、既存のグループのWi−Fi Directコンフィギュレーション情報に従って端末AとのWi−Fi Direct接続を確立する。 Step 612: Terminal B establishes a Wi-Fi Direct connection with terminal A according to the Wi-Fi Direct configuration information of the existing group.
ステップ613:端末Bは、端末Bが少なくとも1つの未使用のMACエンティティを有するか判断する。端末Bが少なくとも1つの未使用のMACエンティティを有する場合、ステップ614が実行される。端末Bが少なくとも1つの未使用のMACエンティティを有さない場合、すなわち、端末Bが端末Bにおける全てのMACエンティティが利用されていると判断した場合、ステップ616が実行される。
Step 613: Terminal B determines whether terminal B has at least one unused MAC entity. If terminal B has at least one unused MAC entity,
ステップ614:端末Bは、作成予定の新たなグループにおいて端末Bにより利用されるMACエンティティとして端末Bにおける未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する。 Step 614: Terminal B selects one of the unused MAC entities in terminal B as the MAC entity to be used by terminal B in the new group scheduled for creation, and Wi-Fi Direct for the new group scheduled for creation. Set configuration information.
作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、端末Bが属する既存のグループのWi−Fi Directコンフィギュレーション情報と矛盾しない。具体的には、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する際、端末Bは、端末AのWi−Fi Directコンフィギュレーション情報の一部又は全てを利用してもよく、例えば、作成予定の新たなグループの識別子として端末AのWi−Fi Directコンフィギュレーション情報におけるグループIDを利用してもよく、及び/又は作成予定の新たなグループのBSSIDとして端末AのWi−Fi Directコンフィギュレーション情報におけるグループBSSIDを利用してもよく、又は、端末AのWi−Fi Directコンフィギュレーション情報を利用せず、作成予定の新たなグループに対して新たなWi−Fi Directコンフィギュレーション情報を設定してもよい。本発明は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報が端末Bが属する既存のグループのWi−Fi Directコンフィギュレーション情報と矛盾しない限り、端末Bが作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する方法を限定しない。 The Wi-Fi Direct configuration information of the new group scheduled to be created is consistent with the Wi-Fi Direct configuration information of the existing group to which the terminal B belongs. Specifically, when setting the Wi-Fi Direct configuration information of a new group to be created, the terminal B may use a part or all of the Wi-Fi Direct configuration information of the terminal A, For example, the group ID in the Wi-Fi Direct configuration information of the terminal A may be used as the identifier of the new group scheduled to be created, and / or the Wi-Fi Direct of the terminal A as the BSSID of the new group scheduled to be created. The group BSSID in the configuration information may be used, or new Wi-Fi Direct configuration information is set for a new group to be created without using the Wi-Fi Direct configuration information of the terminal A Shi It may be. As long as the Wi-Fi Direct configuration information of the new group scheduled to be created is consistent with the Wi-Fi Direct configuration information of the existing group to which the terminal B belongs, the present invention -The method of setting Fi Direct configuration information is not limited.
さらに、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に、端末Aのグループ情報を含む。 Further, the Wi-Fi Direct configuration information of the new group scheduled to be created further includes the group information of the terminal A.
ステップ615:端末Bは、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報をNFC接続ハンドオーバレスポンスにカプセル化し、当該レスポンスを端末Aに送信し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って端末AとのWi−Fi Direct接続を確立する。 Step 615: The terminal B encapsulates the Wi-Fi Direct configuration information of the new group scheduled to be created into an NFC connection handover response, transmits the response to the terminal A, and creates the Wi-Fi Direct of the new group scheduled to be created. A Wi-Fi Direct connection with terminal A is established according to the configuration information.
ステップ616:端末Bは、端末Bが属する既存のグループをやめるか端末Bを利用するユーザを促し、端末Bを利用するユーザが端末Bが属する既存のグループをやめることを選択した場合、ステップ617が実行され、又は、端末Bを利用するユーザが端末Bが属する既存のグループをやめないことを選択した場合、ステップ619が実行される。
Step 616: If the terminal B quits the existing group to which the terminal B belongs or prompts the user to use the terminal B, and the user using the terminal B selects to quit the existing group to which the terminal B belongs, step 617 Or if the user using terminal B chooses not to leave the existing group to which terminal B belongs,
ステップ617:端末Bは、端末Bが属する既存のグループをやめ、端末BのWi−Fi Directコンフィギュレーション情報と端末AのWi−Fi Directコンフィギュレーション情報とに従って作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する。 Step 617: The terminal B quits the existing group to which the terminal B belongs, and the Wi-Fi of the new group to be created according to the Wi-Fi Direct configuration information of the terminal B and the Wi-Fi Direct configuration information of the terminal A Direct configuration information is set.
作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、作成予定の新たなグループの識別子、作成予定の新たなグループのBSSID、作成予定の新たなグループの動作チャネル、端末Bのグループオーナ意図、作成予定の新たなグループのIPベースアドレス、及び作成予定の新たなグループにおける端末Bにより利用されるMACエンティティのアドレスを有する。 The Wi-Fi Direct configuration information of the new group to be created includes the identifier of the new group to be created, the BSSID of the new group to be created, the operation channel of the new group to be created, and the group owner intention of the terminal B The IP base address of the new group to be created, and the address of the MAC entity used by terminal B in the new group to be created.
端末Bのグループオーナ意図の値は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報における端末Aのグループオーナ意図の値と異なる。 The value of the group owner intention of the terminal B is different from the value of the group owner intention of the terminal A in the Wi-Fi Direct configuration information of the new group to be created.
ステップ618:端末Bは、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報をNFC接続ハンドオーバレスポンスにカプセル化し、当該レスポンスを端末Aに送信し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って端末AとのWi−Fi Direct接続を確立する。 Step 618: The terminal B encapsulates the Wi-Fi Direct configuration information of the new group to be created in an NFC connection handover response, transmits the response to the terminal A, and creates the Wi-Fi Direct of the new group to be created. A Wi-Fi Direct connection with terminal A is established according to the configuration information.
ステップ619:端末Bは、端末Aに対する接続確立失敗レスポンスを返す。 Step 619: The terminal B returns a connection establishment failure response to the terminal A.
ステップ620:端末Bは、端末Bのデフォルト設定に従って、端末Bが端末Aが属する既存のグループに加わることを要求しているか判断する。端末Bが端末Aが属する既存のグループに加わることを要求している場合、ステップ621が実行され、端末Bが、端末Bのデフォルト設定に従って、端末Bが端末Aが属する既存のグループに加わることを要求しておらず、端末Aと新たなグループを作成することを要求していると判断した場合、ステップ626が実行される。
Step 620: According to the default setting of terminal B, terminal B determines whether terminal B is requesting to join an existing group to which terminal A belongs. If terminal B requests to join an existing group to which terminal A belongs,
ステップ621:端末Bは、端末Aのグループ情報に従って、端末Aが端末Aが属する既存のグループのグループオーナであるか判断する。端末Aが端末Aが属する既存のグループのグループオーナである場合、ステップ622が実行され、端末Aが端末Aが属する既存のグループのグループオーナでなく、既存のグループのクライアントである場合、ステップ623が実行される。
Step 621: According to the group information of the terminal A, the terminal B determines whether the terminal A is a group owner of an existing group to which the terminal A belongs. If terminal A is the group owner of the existing group to which terminal A belongs,
ステップ622:端末Bは、端末BのWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値を端末AのWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値より小さい値に設定し、端末AのWi−Fi Directコンフィギュレーション情報に従って、端末AとのWi−Fi Direct接続を確立する。 Step 622: The terminal B sets the value of the group owner intention in the Wi-Fi Direct configuration information of the terminal B to a value smaller than the value of the group owner intention in the Wi-Fi Direct configuration information of the terminal A. A Wi-Fi Direct connection with the terminal A is established according to the Wi-Fi Direct configuration information.
このステップでは、端末Bは、端末BのWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値を端末AのWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値より小さい値に設定する。このようにして、端末Bは、既存のグループに加わるため、端末Aが属する既存のグループのクライアントとして利用可能である。 In this step, the terminal B sets the value of the group owner intention in the Wi-Fi Direct configuration information of the terminal B to a value smaller than the value of the group owner intention in the Wi-Fi Direct configuration information of the terminal A. In this way, since the terminal B joins the existing group, the terminal B can be used as a client of the existing group to which the terminal A belongs.
端末AのWi−Fi Directコンフィギュレーション情報は、端末Aが属する既存のグループのWi−Fi Directコンフィギュレーション情報である。 The Wi-Fi Direct configuration information of the terminal A is Wi-Fi Direct configuration information of the existing group to which the terminal A belongs.
ステップ623:端末Bは、NFC接続を介し端末Aにより送信される端末Aが属する既存のグループのグループオーナの記述情報を受信する。 Step 623: The terminal B receives the description information of the group owner of the existing group to which the terminal A belongs, which is transmitted by the terminal A through the NFC connection.
具体的には、端末Aが属する既存のグループのグループオーナの記述情報は、端末AのWi−Fi Directコンフィギュレーション情報に含まれてもよいし、又は、端末Aが属する既存のグループのグループオーナの記述情報はまた、端末AのWi−Fi Directコンフィギュレーション情報に含まれなくてもよく、端末AのWi−Fi Directコンフィギュレーション情報と共に端末Bに送信される。 Specifically, the description information of the group owner of the existing group to which the terminal A belongs may be included in the Wi-Fi Direct configuration information of the terminal A, or the group owner of the existing group to which the terminal A belongs. Is also not included in the Wi-Fi Direct configuration information of the terminal A, and is transmitted to the terminal B together with the Wi-Fi Direct configuration information of the terminal A.
この場合、端末AのWi−Fi Directコンフィギュレーション情報は、端末Aが属する既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報を除くコンフィギュレーション情報である。 In this case, the Wi-Fi Direct configuration information of the terminal A is configuration information excluding encryption information in the Wi-Fi Direct configuration information of the existing group to which the terminal A belongs.
本実施例では、端末Aが属する既存のグループのグループオーナの記述情報は、端末AのWi−Fi Directコンフィギュレーション情報と共に送信されてもよく、又は別々に送信されてもよく、本実施例により限定されるものでない。すなわち、端末Aが端末Aが属する既存のグループのクライアントであるとき、端末Aは、ステップ602において、NFC接続を介し端末Bに端末Aが属する既存のグループのグループオーナの記述情報と共に、端末AのWi−Fi Directコンフィギュレーション情報を送信してもよく、例えば、これら2つの情報をNFC接続ハンドオーバリクエストにカプセル化し、当該リクエストを端末Bに送信してもよく、あるいは、端末Aはまた、まず端末AのWi−Fi Directコンフィギュレーション情報をNFC接続ハンドオーバリクエストに加え、ステップ602において当該リクエストを端末Bに送信し、その後、端末Aが属する既存のグループのグループオーナの記述情報をNFC接続ハンドオーバリクエスト又は他のメッセージに含め、ステップ623においてNFC接続を介し端末Bに当該メッセージを送信する。
In the present embodiment, the description information of the group owner of the existing group to which the terminal A belongs may be transmitted together with the Wi-Fi Direct configuration information of the terminal A, or may be transmitted separately. It is not limited. That is, when the terminal A is a client of the existing group to which the terminal A belongs, the terminal A, in
ステップ624:端末Bは、端末Aが属する既存のグループのグループオーナの記述情報に従って、端末Aが属する既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報をグループオーナに要求し、グループオーナにより送信された既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報を受信する。 Step 624: The terminal B requests the group owner for encryption information in the Wi-Fi Direct configuration information of the existing group to which the terminal A belongs according to the description information of the group owner of the existing group to which the terminal A belongs. The encrypted information in the Wi-Fi Direct configuration information of the existing group transmitted by (2) is received.
具体的には、端末Bは、無線接続方式により暗号化情報をグループオーナに要求するか、又は追加的なタッチによって暗号化情報を取得してもよい(すなわち、グループオーナとのNFC接続を確立することによって)。このようにして、端末Bはまた、既存のグループの全てのWi−Fi Directコンフィギュレーション情報を取得し、その後、ステップ625が実行される。 Specifically, the terminal B may request the encryption information from the group owner by a wireless connection method, or may acquire the encryption information by additional touch (that is, establish an NFC connection with the group owner). By). In this way, terminal B also obtains all Wi-Fi Direct configuration information for the existing group, after which step 625 is executed.
ステップ625:端末Bは、既存のグループのWi−Fi Directコンフィギュレーション情報に従って端末AとのWi−Fi Direct接続を確立する。 Step 625: Terminal B establishes a Wi-Fi Direct connection with terminal A according to the existing group's Wi-Fi Direct configuration information.
ステップ626:端末Bは、端末Aが少なくとも1つの未使用のMACエンティティを有するか判断する。端末Aが少なくとも未使用のMACエンティティを有する場合、ステップ627が実行される。端末Aが少なくとも1つの未使用のMACエンティティを有さない場合、すなわち、端末Bが端末Aにおける全てのMACエンティティが使用されていると判断した場合、ステップ629が実行される。
Step 626: Terminal B determines whether terminal A has at least one unused MAC entity. If terminal A has at least an unused MAC entity, step 627 is executed. If terminal A does not have at least one unused MAC entity, that is, if terminal B determines that all MAC entities in terminal A are used,
ステップ627:端末Bは、端末Aにおける未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する。 Step 627: Terminal B selects one of the unused MAC entities in terminal A and sets the Wi-Fi Direct configuration information for the new group to be created.
作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に、端末Aから端末Bによって選択されたMACエンティティのアドレスを有し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、端末Aが属する既存のグループのWi−Fi Directコンフィギュレーション情報と矛盾しない。具体的には、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する際、端末Bは、端末BのWi−Fi Directコンフィギュレーション情報の一部又は全てを利用してもよく、例えば、作成予定の新たなグループの識別子として端末BのWi−Fi Directコンフィギュレーション情報におけるグループIDを利用し、及び/又は作成予定の新たなグループのBSSIDとして端末BのWi−Fi Directコンフィギュレーション情報におけるグループBSSIDを利用してもよく、あるいは、端末BのWi−Fi Directコンフィギュレーション情報を利用しなくてもよく、作成予定の新たなグループについて新たなWi−Fi Directコンフィギュレーション情報を設定してもよい。本発明は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報が端末Aが属する既存のグループのWi−Fi Directコンフィギュレーション情報に矛盾しない限り、端末Bが作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する方法を限定するものでない。 The Wi-Fi Direct configuration information of the new group to be created further includes the address of the MAC entity selected by the terminal A to the terminal B, and the Wi-Fi Direct configuration information of the new group to be created is This is consistent with the Wi-Fi Direct configuration information of the existing group to which the terminal A belongs. Specifically, when setting the Wi-Fi Direct configuration information of a new group to be created, the terminal B may use a part or all of the Wi-Fi Direct configuration information of the terminal B, For example, the group ID in the Wi-Fi Direct configuration information of the terminal B is used as the identifier of the new group scheduled to be created, and / or the Wi-Fi Direct configuration information of the terminal B is used as the BSSID of the new group scheduled to be created. May use the group BSSID of the terminal B, or may not use the Wi-Fi Direct configuration information of the terminal B, and may provide new Wi-Fi Direct configuration information for a new group to be created. It may be constant. As long as the Wi-Fi Direct configuration information of the new group scheduled to be created does not conflict with the Wi-Fi Direct configuration information of the existing group to which the terminal A belongs, the present invention -The method for setting Fi Direct configuration information is not limited.
ステップ628:端末Bは、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報をNFC接続ハンドオーバレスポンスにカプセル化し、当該レスポンスを端末Aに送信し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って端末AとのWi−Fi Direct接続を確立する。 Step 628: The terminal B encapsulates the Wi-Fi Direct configuration information of the new group to be created in an NFC connection handover response, transmits the response to the terminal A, and creates the Wi-Fi Direct of the new group to be created. A Wi-Fi Direct connection with terminal A is established according to the configuration information.
本実施例の他の実現方式では、ステップ627及び628はまた以下のようであってもよい。すなわち、端末Bは、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定し、ここで、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は端末Aが属する既存のグループのWi−Fi Directコンフィギュレーション情報と矛盾せず、その後、端末Bは、NFC接続を介し端末Aに作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信する。その後、端末Aは、端末Aにおける未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って、端末BとのWi−Fi Direct接続を確立する。作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する際、端末Bは、端末BのWi−Fi Directコンフィギュレーション情報の一部又は全てを利用してもよく、例えば、作成予定の新たなグループの識別子として端末BのWi−Fi Directコンフィギュレーション情報におけるグループIDを利用してもよく、及び/又は作成予定の新たなグループのBSSIDとして端末BのWi−Fi Directコンフィギュレーション情報におけるグループBSSIDを利用してもよく、あるいは、端末BのWi−Fi Directコンフィギュレーション情報を利用せず、作成予定の新たなグループについて新たなWi−Fi Directコンフィギュレーション情報を設定してもよい。本発明は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報が端末Aが属する既存のグループのWi−Fi Directコンフィギュレーション情報に矛盾しない限り、端末Bが作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する方法を限定しない。 In other implementations of this embodiment, steps 627 and 628 may also be as follows: That is, the terminal B sets Wi-Fi Direct configuration information of a new group scheduled to be created, and here, the Wi-Fi Direct configuration information of the new group scheduled to be created is stored in the existing group to which the terminal A belongs. There is no contradiction with the Wi-Fi Direct configuration information, and then the terminal B transmits Wi-Fi Direct configuration information of a new group to be created to the terminal A via the NFC connection. Terminal A then selects one of the unused MAC entities at terminal A and establishes a Wi-Fi Direct connection with terminal B according to the Wi-Fi Direct configuration information of the new group to be created. . When setting the Wi-Fi Direct configuration information of a new group to be created, the terminal B may use part or all of the Wi-Fi Direct configuration information of the terminal B. For example, The group ID in the Wi-Fi Direct configuration information of the terminal B may be used as the identifier of the new group, and / or the group in the Wi-Fi Direct configuration information of the terminal B as the BSSID of the new group to be created BSSID may be used, or new Wi-Fi Direct configuration information may be set for a new group to be created without using Wi-Fi Direct configuration information of terminal B.As long as the Wi-Fi Direct configuration information of the new group scheduled to be created does not conflict with the Wi-Fi Direct configuration information of the existing group to which the terminal A belongs, the present invention -The method of setting Fi Direct configuration information is not limited.
ステップ629:端末Bは、端末Bが端末Aと新たなグループを作成することを要求しているという通知を端末Aに送信する。 Step 629: Terminal B transmits to terminal A a notification that terminal B is requesting to create a new group with terminal A.
ステップ630:端末Aは、端末Aが属する既存のグループをやめるか端末Aを利用するユーザに促す。端末Aを利用するユーザが端末Aが属する既存のグループをやめることを選択した場合、ステップ631が実行され、端末Aを利用するユーザが端末Aが属する既存のグループをやめないことを選択した場合、ステップ632が実行される。
Step 630: The terminal A prompts the user who uses the terminal A to quit the existing group to which the terminal A belongs. When the user using the terminal A selects to stop the existing group to which the terminal A belongs,
ステップ631:端末Aは、端末Aが属する既存のグループをやめ、端末BのWi−Fi Directコンフィギュレーション情報と端末AのWi−Fi Directコンフィギュレーション情報とに従って、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って端末BとのWi−Fi Direct接続を確立する。 Step 631: The terminal A quits the existing group to which the terminal A belongs, and the Wi-Fi Direct configuration information of the terminal B and the Wi-Fi Direct configuration information of the terminal A, the Wi-Fi of a new group to be created Fi Direct configuration information is set, and Wi-Fi Direct connection with terminal B is established according to the Wi-Fi Direct configuration information of a new group to be created.
端末Aが端末Aが属する既存のグループをやめた後、端末Aと端末Bとの何れも既存のグループのメンバーでないため、端末Aと端末Bとは、本発明の図3に示される実施例により提供される方法に従ってWi−Fi Direct接続を確立してもよい。詳細はここでは繰り返されない。 After terminal A quits the existing group to which terminal A belongs, both terminal A and terminal B are not members of the existing group, so terminal A and terminal B are in accordance with the embodiment shown in FIG. A Wi-Fi Direct connection may be established according to the provided method. Details are not repeated here.
ステップ632:Wi−Fi Direct接続は、端末Bと端末Aとの間で確立することができない。 Step 632: A Wi-Fi Direct connection cannot be established between terminal B and terminal A.
本実施例では、端末Aと端末Bとの一方のみが既存のグループのメンバーである。既存のグループのメンバーがメンバーが属する既存のグループのグループオーナである場合、当該メンバーは、作成予定の新たなグループにおいてグループオーナ又はクライアントとして利用されてもよく、既存のグループのメンバーがメンバーが属する既存のグループのクライアントである場合、当該端末は、作成予定の新たなグループにおいてグループオーナとしてのみ利用可能である。 In this embodiment, only one of terminal A and terminal B is a member of an existing group. If a member of an existing group is a group owner of an existing group to which the member belongs, the member may be used as a group owner or client in the new group to be created, and a member of the existing group belongs to the member If it is a client of an existing group, the terminal can be used only as a group owner in a new group to be created.
本実施例では、端末Aが既存のグループのメンバーであり、端末Aが端末Aが属する既存のグループのGOであり、端末Bが端末Aが属する既存のグループに加わることを要求している場合、端末Aによって端末Bに送信されるNFC接続ハンドオーバリクエストのフォーマットは、図7に示されるようなものであってもよい。図7は、本発明による接続ハンドオーバリクエストのフォーマットの他の実施例の概略図である。 In this embodiment, when the terminal A is a member of an existing group, the terminal A is a GO of the existing group to which the terminal A belongs, and the terminal B requests to join the existing group to which the terminal A belongs The format of the NFC connection handover request transmitted from the terminal A to the terminal B may be as shown in FIG. FIG. 7 is a schematic diagram of another embodiment of a format of a connection handover request according to the present invention.
端末Bが既存のグループのメンバーであり、端末Bが端末Bが属する既存のグループのGOであり、端末Aが端末Bが属する既存のグループに加わることを要求している場合、端末Bによって端末Aに送信される接続ハンドオーバレスポンスのフォーマットは、図8に示されるようなものであってもよい。図8は、本発明による接続ハンドオーバレスポンスのフォーマットの他の実施例の概略図である。 If terminal B is a member of an existing group, terminal B is a GO of an existing group to which terminal B belongs, and terminal A requests to join an existing group to which terminal B belongs, terminal B will The format of the connection handover response transmitted to A may be as shown in FIG. FIG. 8 is a schematic diagram of another embodiment of a format of a connection handover response according to the present invention.
既存のグループのメンバーが既存のグループのクライアントであるとき、図7に示される接続ハンドオーバリクエスト又は図8に示される接続ハンドオーバレスポンスは、認証情報又は暗号化情報を有さず、既存のグループのメンバーが既存のグループをやめるとき、又は2つの端末が新たなグループを作成するとき、接続ハンドオーバリクエストと接続ハンドオーバレスポンスとのフォーマットについて図4及び5が参照されてもよいことに留意すべきである。詳細はここでは繰り返されない。 When the member of the existing group is a client of the existing group, the connection handover request shown in FIG. 7 or the connection handover response shown in FIG. 8 does not have authentication information or encryption information, and is a member of the existing group. It should be noted that FIGS. 4 and 5 may be referred to for the format of the connection handover request and the connection handover response when quits an existing group or when two terminals create a new group. Details are not repeated here.
上記実施例では、端末Aと端末Bとは、NFC接続を利用することによってWi−Fi Directコンフィギュレーション情報を交換し、デバイス検出手順及びGOネゴシエーション手順は、暗黙的に交換処理に含まれ、これにより、無線シグナリングを利用することによって実行され、Wi−Fi Directプロトコルに定義されるデバイス検出、GOネゴシエーション及びWPS認証情報交換などのハンドシェイク手順を利用せず、Wi−Fi Direct接続確立手順を簡単化することができる。さらに、Wi−Fi Directプロトコルは、クライアントが他のグループのGO又はクライアントをアクティブに検出できないことを指定する。このシナリオでは、Wi−Fi Direct接続は、無線シグナリングを利用することによって確立できず、本実施例により提供される技術的手段が利用されるとき、この制約は存在しない。端末Aと端末BとがNFC通信範囲内にある限り、端末Aと端末Bとはコンフィギュレーション情報を交換することが可能であり、双方は端末Aと端末Bとの間でWi−Fi Direct接続を確立することができる。 In the above embodiment, the terminal A and the terminal B exchange Wi-Fi Direct configuration information by using an NFC connection, and the device detection procedure and the GO negotiation procedure are implicitly included in the exchange process. By using wireless signaling, the Wi-Fi Direct connection establishment procedure is simplified without using handshake procedures such as device detection, GO negotiation, and WPS authentication information exchange defined in the Wi-Fi Direct protocol. Can be Furthermore, the Wi-Fi Direct protocol specifies that the client cannot actively detect other groups of GOs or clients. In this scenario, a Wi-Fi Direct connection cannot be established by utilizing wireless signaling, and this restriction does not exist when the technical means provided by this embodiment is utilized. As long as the terminal A and the terminal B are within the NFC communication range, the terminal A and the terminal B can exchange configuration information, and both of them are Wi-Fi Direct connection between the terminal A and the terminal B. Can be established.
図9A及び9Bは、本発明による通信接続を確立する方法の更なる他の実施例のフローチャートである。図9A及び9Bに示されるように、通信接続を確立する方法は以下を含むものであってもよい。 9A and 9B are flowcharts of yet another embodiment of a method for establishing a communication connection according to the present invention. As shown in FIGS. 9A and 9B, a method for establishing a communication connection may include:
ステップ901:端末Aは、スクリーンをアンロックし、NFC機能を有効にし、またNFC機能を有効にし、スクリーンをアンロックした端末Bにタッチし、その後、NFC接続が端末Aと端末Bとの間で確立される。 Step 901: Terminal A unlocks the screen, activates the NFC function, and also activates the NFC function, touches the terminal B that unlocked the screen, and then the NFC connection is between the terminal A and the terminal B. Established in
ステップ902:端末Bは、端末AによってNFC接続を介し送信される端末AのWi−Fi Directコンフィギュレーション情報を受信する。 Step 902: Terminal B receives terminal A's Wi-Fi Direct configuration information transmitted by terminal A via an NFC connection.
特定の実現形態中、端末A及び端末Bは、Requester及びSelectorの識別子を決定するため、NFC接続ハンドオーバプロトコルに定義される“ハンドオーバリクエスト衝突解決機構”を利用してもよい。しかしながら、本実施例は、端末AがRequesterであり、端末BがSelectorであることを一例として利用することによって説明される。 In a specific implementation, terminal A and terminal B may use a “handover request conflict resolution mechanism” defined in the NFC connection handover protocol to determine the identifier of the Requester and Selector. However, the present embodiment will be described by using as an example that the terminal A is a Requester and the terminal B is a Selector.
本実施例では、端末BのWi−Fi Directコンフィギュレーション情報は、端末Bのグループ情報を有する。 In the present embodiment, the Wi-Fi Direct configuration information of the terminal B includes the group information of the terminal B.
本実施例では、端末BのWi−Fi Directコンフィギュレーション情報は更に、端末Bのグループオーナ意図、端末BにおけるMACエンティティの個数及び各MACエンティティのアドレスを有し、ここで、端末Bのグループ情報の値は、端末Bが既存のグループのメンバーでないこと、端末Bが端末Bが属する既存のグループのグループオーナであること、又は端末Bが端末Bが属する既存のグループのクライアントであることであってもよく、
端末AのWi−Fi Directコンフィギュレーション情報は、端末Aのグループ情報を有し、端末AのWi−Fi Directコンフィギュレーション情報は更に、端末Aのグループオーナ意図、端末AにおけるMACエンティティの個数及び各MACエンティティのアドレスを有し、ここで、端末Aのグループ情報の値は、端末Aが既存のグループのメンバーでないこと、端末Aが端末Aが属する既存のグループのグループオーナであること、又は端末Aが端末Aが属する既存のグループのクライアントであることであってもよい。
In this embodiment, the Wi-Fi Direct configuration information of the terminal B further includes the group owner intention of the terminal B, the number of MAC entities in the terminal B, and the address of each MAC entity. Here, the group information of the terminal B The value of is that terminal B is not a member of an existing group, that terminal B is a group owner of an existing group to which terminal B belongs, or that terminal B is a client of an existing group to which terminal B belongs. You can,
The Wi-Fi Direct configuration information of the terminal A includes group information of the terminal A. The Wi-Fi Direct configuration information of the terminal A further includes the group owner intention of the terminal A, the number of MAC entities in the terminal A, and each Having the address of the MAC entity, where the value of the group information of terminal A is that terminal A is not a member of an existing group, terminal A is a group owner of an existing group to which terminal A belongs, or terminal A may be a client of an existing group to which terminal A belongs.
ステップ903:端末Bが、端末Bのグループ情報と端末Aのグループ情報とに従って、端末Bと端末Aとの双方が既存のグループのメンバーであると判断する。 Step 903: According to the group information of terminal B and the group information of terminal A, terminal B determines that both terminal B and terminal A are members of an existing group.
ステップ904:端末Bは、端末BのWi−Fi Directコンフィギュレーション情報と端末AのWi−Fi Directコンフィギュレーション情報とに従って、端末Bと端末Aとが同じグループに属しているか判断する。端末Bと端末Aとが同じグループに属する場合、ステップ905が実行され、端末Bと端末Aとが同じグループに属さない場合、ステップ906が実行される。 Step 904: The terminal B determines whether the terminal B and the terminal A belong to the same group according to the Wi-Fi Direct configuration information of the terminal B and the Wi-Fi Direct configuration information of the terminal A. If terminal B and terminal A belong to the same group, step 905 is executed, and if terminal B and terminal A do not belong to the same group, step 906 is executed.
具体的には、端末Bは、端末Bと端末Aとが同じグループに属しているか判断するため、端末Bと端末AとのWi−Fi Directコンフィギュレーション情報におけるグループID、グループBSSID、GOのMACアドレス、IPベースアドレスなどが同じであるかチェックし、Wi−Fi Directコンフィギュレーション情報におけるグループID、グループBSSID、GOのMACアドレス、IPベースアドレスなどの全てが同じである場合、端末Bと端末Aとが同じグループに属すると判断でき、そうでない場合、端末Bと端末Aとが同じグループに属していないと判断することができる。 Specifically, since the terminal B determines whether the terminal B and the terminal A belong to the same group, the group ID, the group BSSID, and the GO MAC in the Wi-Fi Direct configuration information of the terminal B and the terminal A are determined. If the address, IP base address, etc. are the same, and the group ID, group BSSID, GO MAC address, IP base address, etc. in the Wi-Fi Direct configuration information are all the same, terminal B and terminal A Can be determined to belong to the same group, otherwise terminal B and terminal A can be determined not to belong to the same group.
ステップ905:端末Bは、端末Bが端末Aと直接通信可能であることを示すメッセージを端末Aに送信する。 Step 905: The terminal B transmits to the terminal A a message indicating that the terminal B can directly communicate with the terminal A.
具体的には、端末Bと端末Aとの双方がクライアントである場合、GOを利用することによって通信が実行されてもよいし、あるいは、通信を実行するためGOを利用することによって直接的なデータ接続が確立され、端末Bと端末Aとの1つがGOであり、他方がクライアントである場合、通信は直接実行されてもよい。 Specifically, when both terminal B and terminal A are clients, communication may be executed by using GO, or directly by using GO to execute communication. If a data connection is established and one of terminal B and terminal A is GO and the other is a client, the communication may be performed directly.
ステップ906:端末Bは、端末Bのグループ情報と端末Aのグループ情報とに従って、端末Bと端末Aとの少なくとも1つがグループオーナであるか判断する。端末Bと端末Aとの少なくとも1つがグループオーナである場合、ステップ907が実行され、端末Bと端末Aとの何れもグループオーナでない場合、すなわち、端末Bと端末Aとの双方が既存のグループのクライアントである場合、ステップ910が実行される。
Step 906: The terminal B determines whether at least one of the terminal B and the terminal A is a group owner according to the group information of the terminal B and the group information of the terminal A. If at least one of terminal B and terminal A is a group owner,
ステップ907:端末Bは、端末Aと端末Bとの双方が少なくとも1つの未使用のMACエンティティを有するか判断し、端末Aと端末Bとが少なくとも1つの未使用のMACエンティティを有する場合、ステップ908が実行され、端末A及び/又は端末Bにおける全てのMACエンティティが利用されている場合、ステップ910が実行される。
Step 907: Terminal B determines whether both Terminal A and Terminal B have at least one unused MAC entity, and if Terminal A and Terminal B have at least one unused MAC entity, Step If 908 is executed and all MAC entities in terminal A and / or terminal B are utilized,
ステップ908:端末Bは、作成予定の新たなグループにおいて端末Bにより利用されるMACエンティティとして端末Bにおける未使用のMACエンティティからの1つを選択し、端末Aにおける未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する。 Step 908: Terminal B selects one from the unused MAC entity at terminal B as the MAC entity to be used by terminal B in the new group to be created, and 1 from the unused MAC entity at terminal A. And set Wi-Fi Direct configuration information for a new group to be created.
作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に、端末Aから端末Bにより選択されたMACエンティティのアドレスを有してもよい。 The Wi-Fi Direct configuration information of the new group to be created may further include the address of the MAC entity selected by terminal B from terminal A.
本実施例では、端末Bと端末Aとの1つのみが既存のグループにおけるグループオーナである場合、既存のグループにおけるグループオーナである端末は、新たなグループにおけるクライアントでなければならず、端末のグループオーナ意図は、新たなグループのWi−Fi Directコンフィギュレーション情報におけるピアエンドのグループオーナ意図より小さくなるよう設定される必要があり、端末Bと端末Aとの双方が既存のグループにおけるグループオーナである場合、新たなグループのコンフィギュレーション情報における2つの端末のグループオーナ意図は、これら2つの端末のグループオーナ意図の値が異なって設定される限り、ランダムに設定されてもよい。 In this example, if only one of terminal B and terminal A is a group owner in an existing group, the terminal that is the group owner in the existing group must be a client in the new group, The group owner intention must be set to be smaller than the peer end group owner intention in the Wi-Fi Direct configuration information of the new group, and both terminal B and terminal A are group owners in the existing group. In this case, the group owner intention of the two terminals in the new group configuration information may be set randomly as long as the values of the group owner intention of the two terminals are set differently.
ステップ909:端末Bは、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報をNFC接続ハンドオーバレスポンスにカプセル化し、当該レスポンスを端末Aに送信し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って端末AとのWi−Fi Direct接続を確立する。 Step 909: The terminal B encapsulates the Wi-Fi Direct configuration information of the new group to be created in an NFC connection handover response, transmits the response to the terminal A, and creates the Wi-Fi Direct of the new group to be created. A Wi-Fi Direct connection with terminal A is established according to the configuration information.
ステップ910:端末Bは、端末Bが属する既存のグループをやめるか端末Bを利用するユーザに促し、端末Aが属する既存のグループをやめるか端末Aを利用するユーザに促すよう端末Aに指示する。 Step 910: The terminal B prompts the user who uses the terminal B to stop the existing group to which the terminal B belongs, and instructs the terminal A to prompt the user who uses the terminal A to stop the existing group to which the terminal A belongs. .
ステップ911:端末Bを利用するユーザが端末Bが属する既存のグループをやめることを選択した後、及び/又は端末Aを利用するユーザが端末Aが属する既存のグループをやめることを選択した後、端末Bは、端末が属する既存のグループをやめない端末のWi−Fi Directコンフィギュレーション情報又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って、端末AとのWi−Fi Direct接続を確立する。 Step 911: After the user using terminal B chooses to quit the existing group to which terminal B belongs and / or after the user using terminal A chooses to quit the existing group to which terminal A belongs, The terminal B establishes a Wi-Fi Direct connection with the terminal A according to the Wi-Fi Direct configuration information of the terminal that does not quit the existing group to which the terminal belongs or the Wi-Fi Direct configuration information of the new group to be created. To do.
本実施例では、端末B又は端末Aが当初の接続を確保するだけでなく、新たな接続を確立する場合、端末は2つのグループの双方においてクライアントとして利用することができない。具体的には、端末が当初の接続においてクライアントとして利用される場合、端末は、新たな接続においてグループオーナとして利用される必要があり、端末が当初の接続においてグループオーナとして利用される場合、端末は、新たなグループおいてグループオーナ又はクライアントとして利用することができる。 In this embodiment, when the terminal B or the terminal A not only secures the initial connection but also establishes a new connection, the terminal cannot be used as a client in both of the two groups. Specifically, if the terminal is used as a client in the initial connection, the terminal needs to be used as a group owner in the new connection, and if the terminal is used as a group owner in the initial connection, the terminal Can be used as a group owner or client in a new group.
具体的には、端末Bを利用するユーザが端末Bが属する既存のグループをやめることを選択した場合、又は、端末Aを利用するユーザが端末Aが属する既存のグループをやめることを選択した場合、端末Aと端末Bとは、本発明の図6A、6B、6C及び6Dに示される実施例により提供される方法を利用することによって、Wi−Fi Direct接続を確立して通信してもよい。すなわち、端末Bを利用するユーザが端末Bが属する既存のグループをやめることを選択し、端末Aを利用するユーザがまた端末Aが属する既存のグループをやめることを選択した場合、端末Aと端末Bとは、本発明の図3に示される実施例により提供される方法を利用することによって、Wi−Fi Direct接続を確立して通信してもよい。詳細はここでは繰り返されない。 Specifically, when the user using terminal B chooses to quit the existing group to which terminal B belongs, or when the user using terminal A chooses to quit the existing group to which terminal A belongs Terminal A and Terminal B may establish and communicate with a Wi-Fi Direct connection by utilizing the method provided by the embodiments shown in FIGS. 6A, 6B, 6C and 6D of the present invention. . That is, if the user using terminal B chooses to quit the existing group to which terminal B belongs, and the user using terminal A also chooses to quit the existing group to which terminal A belongs, terminal A and terminal B may communicate by establishing a Wi-Fi Direct connection by utilizing the method provided by the embodiment shown in FIG. 3 of the present invention. Details are not repeated here.
本実施例では、端末Aが新たなグループを形成するため、端末Bとグループ間接続を確立するとき、使用される接続ハンドオーバリクエストと使用される接続ハンドオーバレスポンスとのフォーマットがそれぞれ、図10及び11に示されるようなものであってもよい。図10は、本発明による接続ハンドオーバリクエストのフォーマットの更なる他の実施例の概略図であり、図11は、本発明による接続ハンドオーバレスポンスのフォーマットの更なる他の実施例の概略図である。 In this embodiment, since terminal A forms a new group, when establishing an inter-group connection with terminal B, the formats of the connection handover request used and the connection handover response used are shown in FIGS. 10 and 11, respectively. As shown in FIG. FIG. 10 is a schematic diagram of still another embodiment of the format of the connection handover request according to the present invention, and FIG. 11 is a schematic diagram of still another embodiment of the format of the connection handover response according to the present invention.
上記実施例では、端末Aと端末Bとは、NFC接続を利用することによって、Wi−Fi Directコンフィギュレーション情報を交換し、デバイス検出手順とGOネゴシエーション手順とは暗黙的に交換処理に含まれ、これにより、無線シグナリングを利用することによって実行され、Wi−Fi Directプロトコルに定義されるデバイス検出、GOネゴシエーション及びWPS認証情報交換などのハンドシェイク手順を利用せず、Wi−Fi Direct接続確立手順を簡単化することができる。さらに、Wi−Fi Directプロトコルは、クライアントが他のグループのGO又はクライアントをアクティブに検出することができないことを指定する。このシナリオでは、Wi−Fi Direct接続は、無線シグナリングを利用することによって確立することはできず、本実施例により提供される技術的手段が利用されるとき、当該制約は存在しない。端末Aと端末BとがNFC通信範囲内にある限り、端末Aと端末Bとはコンフィギュレーション情報を交換可能であり、双方は端末Aと端末Bとの間のWi−Fi Direct接続を確立できる。 In the above embodiment, the terminal A and the terminal B exchange Wi-Fi Direct configuration information by using the NFC connection, and the device detection procedure and the GO negotiation procedure are implicitly included in the exchange process. As a result, a Wi-Fi Direct connection establishment procedure is performed without using handshake procedures such as device detection, GO negotiation, and WPS authentication information exchange, which are executed by using wireless signaling and defined in the Wi-Fi Direct protocol. It can be simplified. Furthermore, the Wi-Fi Direct protocol specifies that the client cannot actively detect other groups of GOs or clients. In this scenario, the Wi-Fi Direct connection cannot be established by utilizing wireless signaling, and there is no such restriction when the technical means provided by this embodiment is utilized. As long as the terminal A and the terminal B are within the NFC communication range, the terminal A and the terminal B can exchange configuration information, and both can establish a Wi-Fi Direct connection between the terminal A and the terminal B. .
当業者は、方法の実施例におけるステップの全て又は一部は関連するハードウェアに指示するプログラムによって実現されてもよいことを理解してもよい。当該プログラムは、コンピュータ可読記憶媒体に格納されてもよい。記憶媒体は、ROM、RAM、磁気ディスク又は光ディスクなどのプログラムコードを格納可能な何れかの媒体であってもよい。 One skilled in the art may understand that all or part of the steps in the method embodiments may be implemented by a program that instructs the associated hardware. The program may be stored in a computer readable storage medium. The storage medium may be any medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
図12は、本発明による端末の一実施例の概略的な構成図である。本実施例における端末12は第1端末であり、本発明の図1に示される実施例の手順を実現できる。図12に示されるように、端末12は、受信モジュール121、判定モジュール122及び確立モジュール123を有してもよく、
受信モジュール121は、第1端末と第2端末との間のNFC接続を介し第2端末により送信される第2端末のWi−Fi Directコンフィギュレーション情報を受信するよう構成され、ここで、第2端末のWi−Fi Directコンフィギュレーション情報は第2端末のグループ情報を有し、
判定モジュール122は、受信モジュール121により受信された第1端末のグループ情報と第2端末のグループ情報とに従って、第1端末と第2端末との何れも既存のグループのメンバーでないと判断するか、又は受信モジュール121により受信された第1端末のグループ情報と第2端末のグループ情報とに従って、第1端末と第2端末との少なくとも1つが既存のグループのメンバーであると判断するよう構成され、
確立モジュール123は、判定モジュール122が第1端末と第2端末との何れも既存のグループのメンバーでないと判断すると、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って第2端末とのWi−Fi Direct接続を確立するか、又は判定モジュール122が第1端末と第2端末との少なくとも1つが既存のグループのメンバーであると判断すると、既存のグループ又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
FIG. 12 is a schematic configuration diagram of an embodiment of a terminal according to the present invention. The terminal 12 in the present embodiment is a first terminal, and can implement the procedure of the embodiment shown in FIG. 1 of the present invention. As shown in FIG. 12, the terminal 12 may include a
The receiving
Whether the
If the
本実施例では、受信モジュール121により受信される第2端末のWi−Fi Directコンフィギュレーション情報は更に、第2端末のグループオーナ意図、第2端末におけるMACエンティティの個数及び各MACエンティティのアドレスを有してもよく、
第2端末のグループ情報は、第2端末が既存のグループのメンバーでないこと、第2端末が第2端末が属する既存のグループのグループオーナであること、又は第2端末が第2端末が属する既存のグループのクライアントであることを有し、
第1端末のWi−Fi Directコンフィギュレーション情報は、第1端末のグループ情報を有し、
第1端末のグループ情報は、第1端末が既存のグループのメンバーでないこと、第1端末が第1端末が属する既存のグループのグループオーナであること、又は第1端末が第1端末が属する既存のグループのクライアントであることを有し、
さらに、第1端末のWi−Fi Directコンフィギュレーション情報は更に、第1端末のグループオーナ意図、第1端末におけるMACエンティティの個数及び各MACエンティティのアドレスを有してもよく、
作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、作成予定の新たなグループの識別子、作成予定の新たなグループのBSSID、作成予定の新たなグループの動作チャネル、第1端末のグループオーナ意図、作成予定の新たなグループのIPベースアドレス及び作成予定の新たなグループにおける第1端末により利用されるMACエンティティのアドレスを有する。
In this embodiment, the Wi-Fi Direct configuration information of the second terminal received by the receiving
The group information of the second terminal is that the second terminal is not a member of an existing group, that the second terminal is a group owner of an existing group to which the second terminal belongs, or that the second terminal is an existing group to which the second terminal belongs Be a group client,
The Wi-Fi Direct configuration information of the first terminal has group information of the first terminal,
The group information of the first terminal indicates that the first terminal is not a member of an existing group, that the first terminal is a group owner of an existing group to which the first terminal belongs, or that the first terminal is an existing to which the first terminal belongs Be a group client,
Further, the Wi-Fi Direct configuration information of the first terminal may further include the group owner intention of the first terminal, the number of MAC entities in the first terminal, and the address of each MAC entity,
The Wi-Fi Direct configuration information of the new group to be created includes the identifier of the new group to be created, the BSSID of the new group to be created, the operation channel of the new group to be created, the group owner of the first terminal Intent, having the IP base address of the new group to be created and the address of the MAC entity used by the first terminal in the new group to be created.
本実施例では、第1端末と第2端末とは、NFC接続を利用することによって、Wi−Fi Directコンフィギュレーション情報を交換し、デバイス検出手順とGOネゴシエーション手順とは暗黙的に交換処理に含まれ、これにより、無線シグナリングを利用することによって実行され、Wi−Fi Directプロトコルに定義されるデバイス検出、GOネゴシエーション及びWPS認証情報交換などのハンドシェイク手順を利用せず、Wi−Fi Direct接続確立手順を簡単化することができる。さらに、Wi−Fi Directプロトコルは、Wi−Fi Directグループのクライアントが他のグループのGO又はクライアントをアクティブに検出することができないことを指定する。このシナリオでは、Wi−Fi Direct接続は、無線シグナリングを利用することによって確立することはできず、本実施例では当該制約は存在しない。第1端末と第2端末とがNFC通信範囲内にある限り、第1端末と第2端末とはコンフィギュレーション情報を交換可能であり、双方は第1端末と第2端末との間のWi−Fi Direct接続を確立できる。 In this embodiment, the first terminal and the second terminal exchange Wi-Fi Direct configuration information by using an NFC connection, and the device detection procedure and the GO negotiation procedure are implicitly included in the exchange process. Thus, Wi-Fi Direct connection establishment is performed without using handshake procedures such as device detection, GO negotiation, and WPS authentication information exchange defined in the Wi-Fi Direct protocol. The procedure can be simplified. Furthermore, the Wi-Fi Direct protocol specifies that clients in the Wi-Fi Direct group cannot actively detect GOs or clients in other groups. In this scenario, the Wi-Fi Direct connection cannot be established by using wireless signaling, and this restriction does not exist in this embodiment. As long as the first terminal and the second terminal are within the NFC communication range, the first terminal and the second terminal can exchange configuration information, and both of them are Wi− between the first terminal and the second terminal. A Fi Direct connection can be established.
図13は、本発明による端末の他の実施例の概略的な構成図である。図12に示される端末12と比較して、図13に示される端末12の相違点は、本実施例の実現方式では、判定モジュール122が第1端末と第2端末との何れも既存のグループのメンバーでないと判断すると、確立モジュール123が、第1確立サブモジュール1231、第1設定サブモジュール1232及び第1送信サブモジュール1233を有してもよく、
第1設定サブモジュール1232は、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定するよう構成され、第1設定房モジュール1232が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定するとき、例えば、第1設定サブモジュール1232がm作成予定の新たなグループの識別子を設定するとき、第1設定サブモジュール1232は、第1端末のWi−Fi Directコンフィギュレーション情報におけるグループ識別子を利用してもよいし、あるいは、第1端末のWi−Fi Directコンフィギュレーション情報におけるグループ識別子と、第2端末のWi−Fi Directコンフィギュレーション情報におけるグループ識別子との何れも利用せず、作成予定の新たなグループについて新たな識別子を設定してもよい。同様に、作成予定の新たなグループのBSSID、作成予定の新たなグループの動作チャネル、作成予定の新たなグループのIPベースアドレス、作成予定の新たなグループにおいて利用されるMACエンティティのアドレスがまた、上述したようにして設定されてもよく、すなわち、第1端末又は第2端末のWi−Fi Directコンフィギュレーション情報に含まれる対応する情報が利用されてもよいし、あるいは、新たな値が設定される。詳細はここでは繰り返されない。
第1送信サブモジュール1233は、NFC接続を介し第2端末に第1設定サブモジュール1232により設定された作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信するよう構成され、
第1確立サブモジュール1231は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
FIG. 13 is a schematic configuration diagram of another embodiment of a terminal according to the present invention. Compared with the terminal 12 shown in FIG. 12, the difference of the terminal 12 shown in FIG. 13 is that, in the implementation method of this embodiment, the
The
The
The
本実施例の他の実現方式では、判定モジュール122が第1端末のグループ情報と第2端末のグループ情報とに従って第1端末と第2端末との少なくとも1つが既存のグループのメンバーであると判断するよう構成されることは、判定モジュール122が、具体的には、第1端末のグループ情報と第2端末のグループ情報とに従って、第1端末が既存のグループのメンバーであり、第2端末が既存のグループのメンバーでないと判断するよう構成されることであってもよい。
In another implementation method of this embodiment, the
さらに、受信モジュール121は更に、NFC接続を介し第2端末によって送信される第2端末のデフォルト設定を受信するよう構成される。具体的には、第2端末のデフォルト設定は、第2端末のWi−Fi Directコンフィギュレーション情報に含まれてもよいし、あるいは、デフォルト設定はまた、第2端末のWi−Fi Directコンフィギュレーション情報に含まれなくてもよく、第2端末のWi−Fi Directコンフィギュレーション情報と共に第1端末に送信され、ここで、デフォルト設定は、第2端末が第1端末が属する既存のグループに加わることを要求しているか、又は第2端末が第1端末と新たなグループを作成することを要求していることを反映する。
Further, the receiving
本実現方式の特定の実現方式では、確立モジュール123は、第1判定サブモジュール1234、第2送信サブモジュール1235及び第2確立サブモジュール1236を有してもよく、
第1判定サブモジュール1234は、受信モジュール121により受信される第2端末のデフォルト設定に従って、第2端末が第1端末が属する既存のグループに加わることを要求していると判断するよう構成され、
第2端末が、既存のグループのWi−Fi Directコンフィギュレーション情報に従って、第2端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値を第1端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値より小さい値に設定するように、第1判定サブモジュール1234が第1端末が属する既存のグループに第2端末が加わることを要求していると判断した後、判定モジュール122が、第1端末のグループ情報に従って第1端末が第1端末が属する既存のグループのグループオーナであると判断すると、NFC接続を介し第2端末に第1端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報を送信するよう構成され、このようにして、第2端末が、第1端末が属する既存のグループに加わるため、クライアントとして利用可能であり、
第2確立サブモジュール1236は、既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
In a particular implementation of this implementation, the
The
The second terminal sets the group owner intention value in the Wi-Fi Direct configuration information of the second terminal to the group owner in the Wi-Fi Direct configuration information of the first terminal in accordance with the Wi-Fi Direct configuration information of the existing group. After determining that the
The
本実現方式の他の特定の実現方式では、確立モジュール123は、第2判定サブモジュール1237、第3送信サブモジュール1238及び第3確立サブモジュール1239を有してもよく、
第2判定サブモジュール1237は、受信モジュール121により受信される第2端末のデフォルト設定に従って第2端末が第1端末が属する既存のグループに加わることを要求していると判断するよう構成され、
第2端末が、グループオーナの記述情報に従って既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報をグループオーナに要求し、グループオーナにより送信された既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報を受信するように、第2判定サブモジュール1237が、第2端末が第1端末が属する既存のグループに加わることを要求していると判断した後、判定モジュール122が、第1端末のグループ情報に従って、第1端末が第1端末が属する既存のグループのクライアントであると判断すると、第3送信サブモジュール1238は、NFC接続を介し第2端末に既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報と既存のグループのグループオーナの記述情報とを除くコンフィギュレーション情報を送信するよう構成され、
第3確立サブモジュール1239は、既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
In another specific implementation manner of this implementation manner, the
The
The second terminal requests the group owner for encryption information in the Wi-Fi Direct configuration information of the existing group according to the description information of the group owner, and the Wi-Fi Direct configuration information of the existing group transmitted by the group owner. After determining that the
The
本実現方式の更なる他の特定の実現方式では、確立モジュール123は、第3判定サブモジュール12310、第4確立サブモジュール12311、第2設定サブモジュール12312及び第4送信サブモジュール12313を有してもよく、
第3判定サブモジュール12310は、受信モジュール121により受信された第2端末のデフォルト設定に従って、第2端末が第1端末と新たなグループを作成することを要求していると判断するよう構成され、
第3判定サブモジュール12310が、第1端末が少なくとも1つの未使用のMACエンティティを有すると判断すると、第3判定サブモジュール12310が、第2端末が第1端末と新たなグループを作成することを要求していると判断した後、第2設定サブモジュール12312は、作成予定の新たなグループにおける第1端末により利用されるMACエンティティとして第1端末における未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定するよう構成され、ここで、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報が、第1端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報に矛盾せず、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に、第1端末のグループ情報を有し、具体的には、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する際、第2設定サブモジュール12312は、第2端末のWi−Fi Directコンフィギュレーション情報の一部又は全てを利用してもよいし、あるいは、第2端末のWi−Fi Directコンフィギュレーション情報を利用せず、作成予定の新たなグループについて新たなWi−Fi Directコンフィギュレーション情報を設定してもよく、本発明は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報が、第1端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報に矛盾しない限り、第2設定サブモジュール12312が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する方法を限定するものでなく、
第4送信サブモジュール12313は、NFC接続を介し第2端末に第2設定サブモジュール12312により設定される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信するよう構成され、
第4確立サブモジュール12311は、第2設定サブモジュール12312により設定された作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
In yet another specific implementation of this implementation, the
The
If the
The
The
本実現方式の更なる他の特定の実現方式では、確立モジュール123は、第4判定サブモジュール12314、第1プロンプトサブモジュール12315、第1停止サブモジュール12316、第3設定サブモジュール12317、第5送信サブモジュール12318及び第5確立サブモジュール12319を有してもよく、
第4判定サブモジュール12314は、受信モジュール121により受信された第2端末のデフォルト設定に従って、第2端末が第1端末と新たなグループを作成することを要求していると判断するよう構成され、
第4判定サブモジュール12314が第2端末が第1端末と新たなグループを作成することを要求していると判断した後、第4判定サブモジュール12314が、第1端末における全てのMACエンティティが利用されていると判断すると、第1プロンプトサブモジュール12315は、第1端末が属する既存のグループをやめるか第1端末を利用するユーザに促すよう構成され、
第1端末を利用するユーザが第1端末が属する既存のグループをやめることを選択した後、第1停止サブモジュール12316は、第1端末が属する既存のグループを第1端末にやめさせるよう構成され、
第1停止サブモジュール12316が、第1端末が属する既存のグループを第1端末にやめさせた後、第3設定サブモジュール12317は、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定するよう構成され、ここで、第1端末のグループオーナ意図の値は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報における第2端末のグループオーナ意図の値と異なり、
第5送信サブモジュール12318は、NFC接続を介し第2端末に第3設定サブモジュール12317により設定された作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信するよう構成され、
第5確立サブモジュール12319は、第3設定サブモジュール12317により設定される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
In yet another specific implementation of this implementation, the
The
After the
After the user using the first terminal chooses to quit the existing group to which the first terminal belongs, the
After the
The
The
本実施例の更なる他の実現方式では、判定モジュール122が、第1端末のグループ情報と第2端末のグループ情報とに従って、第1端末と第2端末との少なくとも1つが既存のグループのメンバーであると判断するよう構成されることは、判定モジュール122が、具体的には、第1端末のグループ情報と第2端末のグループ情報とに従って、第2端末が既存のグループのメンバーであり、第1端末が既存のグループのメンバーでないと判断するよう構成されることを有する。
In still another implementation method of this embodiment, the
本実現方式の特定の実現方式では、確立モジュール123は、第6判定サブモジュール12320、第4設定サブモジュール12321及び第6確立サブモジュール12322を有してもよく、
第6判定サブモジュール12320は、受信モジュール121により受信された第1端末のデフォルト設定に従って、第1端末が第2端末が属する既存のグループに加わることを要求していると判断するよう構成され、
第6判定サブモジュール12320が第1端末が第2端末が属する既存のグループに加わることを要求していると判断した後、判定モジュール122が、第2端末のグループ情報に従って第2端末が第2端末が属する既存のグループのグループオーナであると判断すると、第4設定サブモジュール12321は、第1端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値を第2端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値より小さい値に設定するよう構成され、
第6確立サブモジュール12322は、第2端末のWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成され、ここで、第2端末のWi−Fi Directコンフィギュレーション情報は、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報である。
In a specific implementation scheme of this implementation scheme, the
The
After the
The
本実現方式の他の特定の実現方式では、第2端末が第2端末が属する既存のグループのクライアントであるとき、受信モジュール121により受信される第2端末のWi−Fi Directコンフィギュレーション情報は、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報を除くコンフィギュレーション情報であり、
この特定の実現方式では、受信モジュール121は更に、NFC接続を介し第2端末により送信される第2端末が属する既存のグループのグループオーナの記述情報を受信するよう構成され、具体的には、第2端末が属する既存のグループのグループオーナの記述情報は、第2端末のWi−Fi Directコンフィギュレーション情報に含まれてもよいし、又は、第2端末が属する既存のグループのグループオーナの記述情報はまた、第2端末のWi−Fi Directコンフィギュレーション情報に含まれなくてもよく、第2端末のWi−Fi Directコンフィギュレーション情報と共に第1端末に送信される。
In another specific implementation scheme of this implementation scheme, when the second terminal is a client of an existing group to which the second terminal belongs, the Wi-Fi Direct configuration information of the second terminal received by the
In this particular implementation, the receiving
この特定の実現方式では、確立モジュール123は、第7判定サブモジュール12323、第1要求サブモジュール12324、第1受信サブモジュール12325及び第7確立サブモジュール12326を有してもよく、
第7判定サブモジュール12323は、受信モジュール121により受信される第1端末のデフォルト設定に従って、第1端末が第2端末が属する既存のグループに加わることを要求していると判断するよう構成され、
第1要求サブモジュール12324は、受信モジュール121により受信される第2端末が属する既存のグループのグループオーナの記述情報に従って、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報をグループオーナに要求するよう構成され、
第1受信サブモジュール12325は、グループオーナにより送信された既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報を受信するよう構成され、このようにして、第1端末は、既存のグループの全てのWi−Fi Directコンフィギュレーション情報を取得し、
第7確立サブモジュール12326は、既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
In this particular implementation, the
The
The
The first receiving
The
本実現方式の更なる他の特定の実現方式では、確立モジュール123は、第8判定サブモジュール12327、第8確立サブモジュール12328、第5設定サブモジュール12329及び第6送信サブモジュール12330を有してもよく、
第8判定サブモジュール12327は、受信モジュール121により受信された第1端末のデフォルト設定に従って第1端末が第2端末と新たなグループを作成することを要求していると判断するよう構成され、
第8判定サブモジュール12327が、第1端末が第2端末と新たなグループを作成することを要求していると判断した後、第8判定サブモジュール12327が、第2端末が少なくとも1つの未使用のMACエンティティを有すると判断すると、第5設定サブモジュール12329は、第2端末における未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定するよう構成され、ここで、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に、第2端末から第1端末によって選択されたMACエンティティのアドレスを有し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報に矛盾せず、具体的には、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する際、第5設定サブモジュール12329は、第1端末のWi−Fi Directコンフィギュレーション情報の一部又は全てを利用してもよいし、あるいは、第1端末のWi−Fi Directコンフィギュレーション情報を利用せず、作成予定の新たなグループについて新たなWi−Fi Directコンフィギュレーション情報を設定し、本発明は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報が、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報に矛盾しない限り、第5設定サブモジュール12329が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する方法を限定せず、
第6送信サブモジュール12330は、NFC接続を介し第2端末に第5設定サブモジュール12329により設定された作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信するよう構成され、
第8確立サブモジュール12328は更に、第5設定サブモジュール12329により設定された作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
In yet another specific implementation of this implementation, the
The
After the
The
The
本実現方式の更なる他の特定の実現方式では、確立モジュール123は、第9判定サブモジュール12331、第6設定サブモジュール12332及び第7送信サブモジュール12333を有してもよく、
第9判定サブモジュール12331は、受信モジュール121により受信される第1端末のデフォルト設定に従って、第1端末が第2端末と新たなグループを作成することを要求していると判断するよう構成され、
第9判定サブモジュール12331が、第1端末が第2端末と新たなグループを作成することを要求していると判断した後、第9判定サブモジュール12331が、第2端末が少なくとも1つの未使用のMACエンティティを有していると判断すると、第6設定サブモジュール12332は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定するよう構成され、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報に矛盾せず、具体的には、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する際、第6設定サブモジュール12332は、第1端末のWi−Fi Directコンフィギュレーション情報の一部又は全てを利用してもよいか、あるいは、第1端末のWi−Fi Directコンフィギュレーション情報を利用せず、作成予定の新たなグループについて新たなWi−Fi Directコンフィギュレーション情報を設定し、本発明は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報が、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報に矛盾しない限り、第6設定サブモジュール12332が作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定する方法を限定せず、
第2端末が第2端末における未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第1端末とのWi−Fi Direct接続を確立するように、第7送信サブモジュール12333は、NFC接続を介し第2端末に第6設定サブモジュール12332により送信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信するよう構成される。
In yet another specific implementation manner of this implementation manner, the
The
After the
The second terminal selects one of the unused MAC entities at the second terminal and establishes a Wi-Fi Direct connection with the first terminal according to the Wi-Fi Direct configuration information of the new group to be created In addition, the
本実現方式の更なる他の特定の実現方式では、確立モジュール123は、第10判定サブモジュール12334及び第8送信サブモジュール12335を有してもよく、
第10判定サブモジュール12334は、受信モジュール121により受信された第1端末のデフォルト設定に従って、第1端末が第2端末と新たなグループを作成することを要求していると判断するよう構成され、
第2端末が、第2端末が属する既存のグループをやめるか第2端末を利用するユーザを促し、第2端末を利用するユーザが、第2端末が属する既存のグループをやめることを選択した後、第2端末が属する既存のグループをやめ、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第1端末とのWi−Fi Direct接続を確立するように、第10判定サブモジュール12334が、第1端末が第2端末と新たなグループを作成することを要求していると判断した後、第10判定サブモジュール12334が、第2端末における全てのMACエンティティが利用されると判断すると、第8送信サブモジュール12335は、第1端末が第2端末と新たなグループを作成することを要求しているという通知を第2端末に送信するよう構成される。
In yet another specific implementation of this implementation, the
The tenth determining
After the second terminal quits the existing group to which the second terminal belongs or prompts the user to use the second terminal, and the user using the second terminal chooses to quit the existing group to which the second terminal belongs , Quit the existing group to which the second terminal belongs, and the Wi-Fi Direct configuration of the new group to be created according to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal The
本実施例の更なる他の実現方式では、判定モジュール122が第1端末のグループ情報と第2端末のグループ情報とに従って、第1端末と第2端末との少なくとも1つが既存のグループのメンバーであると判断するよう構成されることは、判定モジュール122が、具体的には、第1端末のグループ情報と第2端末のグループ情報とに従って、第1端末と第2端末との双方が既存のグループのメンバーであると判断するよう構成されることを含む。
In still another implementation method of this embodiment, the
本実現方式の特定の実現方式では、確立モジュール123は、第9確立サブモジュール12336、第7設定サブモジュール12337及び第9送信サブモジュール12338を有してもよく、
第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って、第1端末と第2端末とが同じグループに属さず、第1端末と第2端末との双方が少なくとも1つの未使用のMACエンティティを有すると判断され、判定モジュール122が、第1端末のグループ情報と第2端末のグループ情報とに従って、第1端末と第2端末との少なくとも1つがグループオーナであると判断すると、第7設定サブモジュール12337は、作成予定の新たなグループにおける第1端末により利用されるMACエンティティとして第1端末における未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定するよう構成され、ここで、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に、第2端末から第1端末により選択されたMACエンティティのアドレスを有し、
第9送信サブモジュール12338は、NFC接続を介し第2端末に第7設定サブモジュール12337により設定された作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信するよう構成され、
第9確立サブモジュール12336は、第7設定サブモジュール12337により設定された作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
In a specific implementation scheme of this implementation scheme, the
According to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal, the first terminal and the second terminal do not belong to the same group, and the first terminal and the second terminal It is determined that both have at least one unused MAC entity, and the
The
The
本実施例では、第1端末と第2端末との1つのみが既存のグループにおけるグループオーナである場合、既存のグループにおいてグループオーナである端末は、新たなグループにおけるクライアントでなければならず、当該端末のグループオーナ意図は、新たなグループにおけるWi−Fi Directコンフィギュレーション情報のピアエンドのグループオーナ意図より小さく設定される必要があり、第1端末と第2端末との双方が既存のグループにおけるグループオーナである場合、新たなグループのコンフィギュレーション情報における2つの端末のグループオーナ意図は、これら2つの端末のグループオーナ意図の値が異なって設定される限り、ランダムに設定されてもよい。 In this example, if only one of the first terminal and the second terminal is a group owner in an existing group, the terminal that is the group owner in the existing group must be a client in the new group, The group owner intention of the terminal needs to be set smaller than the peer end group owner intention of the Wi-Fi Direct configuration information in the new group, and both the first terminal and the second terminal are groups in the existing group. In the case of the owner, the group owner intention of the two terminals in the new group configuration information may be set randomly as long as the values of the group owner intention of the two terminals are set differently.
本実現方式の他の特定の実現方式では、確立モジュール123は、第2プロンプトサブモジュール12339及び第10確立サブモジュール12340を有してもよく、
第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って、第1端末と第2端末とが同じグループに属さないと判断され、判定モジュール122が、第1端末のグループ情報と第2端末のグループ情報とに従って、第1端末と第2端末との何れもグループオーナでないと判断したとき、又は、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って、第1端末と第2端末とが同じグループに属さず、第1端末及び/又は第2端末における全てのMACエンティティが利用されている判断されると、第2プロンプトサブモジュール12339は、第1端末が属する既存のグループをやめるか第1端末を利用するユーザを促し、第2端末が属する既存のグループをやめるか第2端末を利用するユーザを促すよう第2端末に指示するよう構成され、
第1端末を利用するユーザが第1端末が属する既存のグループをやめることを選択した後、及び/又は第2端末を利用するユーザが第2端末が属する既存のグループをやめることを選択した後、第10確立サブモジュール12340は、端末が属する既存のグループをやめない端末のWi−Fi Directコンフィギュレーション情報又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って、第2端末とのWi−Fi Direct接続を確立するよう構成される。
In another specific implementation manner of this implementation manner, the
According to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal, it is determined that the first terminal and the second terminal do not belong to the same group, and the
After the user using the first terminal chooses to quit the existing group to which the first terminal belongs and / or after the user using the second terminal chooses to quit the existing group to which the second terminal belongs The tenth established
第1端末又は第2端末が当初の接続を確保するだけでなく、新たな接続を確立する場合、端末は2つのグループの双方においてクライアントとして利用することができない。具体的には、端末が当初の接続においてクライアントとして利用される場合、端末は、新たな接続においてグループオーナとして利用される必要があり、端末が当初の接続においてグループオーナとして利用される場合、端末は、新たなグループおいてグループオーナ又はクライアントとして利用することができる。 When the first terminal or the second terminal not only secures the initial connection but also establishes a new connection, the terminal cannot be used as a client in both of the two groups. Specifically, if the terminal is used as a client in the initial connection, the terminal needs to be used as a group owner in the new connection, and if the terminal is used as a group owner in the initial connection, the terminal Can be used as a group owner or client in a new group.
上記実施例では、第1端末と第2端末とは、NFC接続を利用することによってWi−Fi Directコンフィギュレーション情報を交換し、デバイス検出手順とGOネゴシエーション手順とが交換処理に暗黙的に含まれ、これにより、無線シグナリングを利用することによって実行され、Wi−Fi Directプロトコルに定義されるデバイス検出、GOネゴシエーション及びWPS認証情報交換などのハンドシェイク手順を利用せず、Wi−Fi Direct接続の確立手順を簡単化することができる。さらに、Wi−Fi Directプロトコルは、クライアントが他のグループのGO又はクライアントをアクティブには検出できないことを指定する。このシナリオでは、Wi−Fi Direct接続は、無線シグナリングを利用することによって確立することはできず、当該制約は、本発明により提供される技術的手段が利用されるときには存在しない。第1端末と第2端末とがNFC通信範囲内にある限り、第1端末と第2端末とはコンフィギュレーション情報を交換可能であり、双方は第1端末と第2端末との間のWi−Fi Direct接続を確立できる。 In the above embodiment, the first terminal and the second terminal exchange Wi-Fi Direct configuration information by using the NFC connection, and the device detection procedure and the GO negotiation procedure are implicitly included in the exchange process. This establishes a Wi-Fi Direct connection without using handshake procedures such as device detection, GO negotiation, and WPS authentication information exchange, which are executed by using wireless signaling and defined in the Wi-Fi Direct protocol. The procedure can be simplified. Furthermore, the Wi-Fi Direct protocol specifies that the client cannot actively detect other groups of GOs or clients. In this scenario, a Wi-Fi Direct connection cannot be established by utilizing wireless signaling, and this restriction does not exist when the technical means provided by the present invention are utilized. As long as the first terminal and the second terminal are within the NFC communication range, the first terminal and the second terminal can exchange configuration information, and both of them are Wi− between the first terminal and the second terminal. A Fi Direct connection can be established.
図14は、本発明による端末の更なる他の実施例の概略的な構成図である。本実施例における端末14は、本発明の図1に示される実施例の手順を実現するための第1端末として利用可能である。図14に示されるように、端末14は、送信モジュール141及び確立モジュール142を有してもよく、
送信モジュール141は、第1端末と第2端末との間のNFC接続を介し第2端末に第1端末のWi−Fi Directコンフィギュレーション情報を送信するよう構成され、ここで、第1端末のWi−Fi Directコンフィギュレーション情報は第1端末のグループ情報を有し、
確立モジュール142は、第1端末と第2端末との何れも既存のグループのメンバーでないとき、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って第2端末とのWi−Fi Direct接続を確立するか、又は、第1端末と第2端末との少なくとも1つが既存のグループのメンバーであるとき、既存のグループ又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
FIG. 14 is a schematic configuration diagram of still another embodiment of a terminal according to the present invention. The terminal 14 in the present embodiment can be used as a first terminal for realizing the procedure of the embodiment shown in FIG. 1 of the present invention. As shown in FIG. 14, the terminal 14 may have a
The
When neither the first terminal nor the second terminal is a member of the existing group, the
本実施例では、送信モジュール141により送信される第1端末のWi−Fi Directコンフィギュレーション情報は更に、第1端末のグループオーナ意図、第1端末におけるMACエンティティの個数及び各MACエンティティのアドレスを有してもよく、
第1端末のグループ情報の値は、第1端末が既存のグループのメンバーでないこと、第1端末が第1端末が属する既存のグループのグループオーナであること、又は第1端末が第1端末が属する既存のグループのクライアントであることであってもよく、
第2端末のWi−Fi Directコンフィギュレーション情報は、第2端末のグループ情報、第2端末のグループオーナ意図、第2端末におけるMACエンティティの個数及び各MACエンティティのアドレスを有してもよく、
第2端末のグループ情報の値は、第2端末が既存のグループのメンバーでないこと、第2端末が第2端末が属する既存のグループのグループオーナであること、又は第2端末が第2端末が属する既存のグループのクライアントであることであってもよく、
作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、作成予定の新たなグループの識別子、作成予定の新たなグループのBSSID、作成予定の新たなグループの動作チャネル、第2端末のグループオーナ意図、作成予定の新たなグループのIPベースアドレス及び作成予定の新たなグループにおける第2端末により利用されるMACエンティティのアドレスを有する。
In this embodiment, the Wi-Fi Direct configuration information of the first terminal transmitted by the
The value of the group information of the first terminal indicates that the first terminal is not a member of an existing group, that the first terminal is a group owner of an existing group to which the first terminal belongs, or that the first terminal is the first terminal May be a client of an existing group to which it belongs,
The Wi-Fi Direct configuration information of the second terminal may include the group information of the second terminal, the group owner intention of the second terminal, the number of MAC entities in the second terminal, and the address of each MAC entity,
The value of the group information of the second terminal indicates that the second terminal is not a member of an existing group, that the second terminal is a group owner of an existing group to which the second terminal belongs, or that the second terminal is the second terminal May be a client of an existing group to which it belongs,
The Wi-Fi Direct configuration information of the new group to be created includes the identifier of the new group to be created, the BSSID of the new group to be created, the operation channel of the new group to be created, the group owner of the second terminal Intent, having the IP base address of the new group to be created and the address of the MAC entity used by the second terminal in the new group to be created.
上記実施例では、第1端末と第2端末とは、NFC接続を利用することによってWi−Fi Directコンフィギュレーション情報を交換し、デバイス検出手順とGOネゴシエーション手順とが交換処理に暗黙的に含まれ、これにより、無線シグナリングを利用することによって実行され、Wi−Fi Directプロトコルに定義されるデバイス検出、GOネゴシエーション及びWPS認証情報交換などのハンドシェイク手順を利用せず、Wi−Fi Direct接続の確立手順を簡単化することができる。さらに、Wi−Fi Directプロトコルは、クライアントが他のグループのGO又はクライアントをアクティブには検出できないことを指定する。このシナリオでは、Wi−Fi Direct接続は、無線シグナリングを利用することによって確立することはできず、当該制約は、本発明により提供される技術的手段が利用されるときには存在しない。第1端末と第2端末とがNFC通信範囲内にある限り、第1端末と第2端末とはコンフィギュレーション情報を交換可能であり、双方は第1端末と第2端末との間のWi−Fi Direct接続を確立できる。 In the above embodiment, the first terminal and the second terminal exchange Wi-Fi Direct configuration information by using the NFC connection, and the device detection procedure and the GO negotiation procedure are implicitly included in the exchange process. This establishes a Wi-Fi Direct connection without using handshake procedures such as device detection, GO negotiation, and WPS authentication information exchange, which are executed by using wireless signaling and defined in the Wi-Fi Direct protocol. The procedure can be simplified. Furthermore, the Wi-Fi Direct protocol specifies that the client cannot actively detect other groups of GOs or clients. In this scenario, a Wi-Fi Direct connection cannot be established by utilizing wireless signaling, and this restriction does not exist when the technical means provided by the present invention are utilized. As long as the first terminal and the second terminal are within the NFC communication range, the first terminal and the second terminal can exchange configuration information, and both of them are Wi− between the first terminal and the second terminal. A Fi Direct connection can be established.
図15は、本発明による端末の更なる他の実施例の概略的な構成図である。図14に示される端末14と比較して、図15に示される端末15の相違点は、本実施例の実現方式では、第1端末と第2端末との何れも既存のグループのメンバーでないとき、確立モジュール142は、第1受信サブモジュール1421及び第1確立サブモジュール1422を有してもよく、
第1受信サブモジュール1421は、NFC接続を介し第2端末により送信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を受信するよう構成され、ここで、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って設定され、第2端末によって第1端末に送信され、
第1確立サブモジュール1422は、第1受信サブモジュール1421により受信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
FIG. 15 is a schematic structural diagram of still another embodiment of a terminal according to the present invention. Compared with the terminal 14 shown in FIG. 14, the difference between the terminal 15 shown in FIG. 15 is that, in the implementation method of this embodiment, neither the first terminal nor the second terminal is a member of an existing group. The
The first receiving sub-module 1421 is configured to receive Wi-Fi Direct configuration information of a new group to be created transmitted by the second terminal via the NFC connection, where the new group to be created is The Wi-Fi Direct configuration information is set according to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal, transmitted to the first terminal by the second terminal,
The
本実施例の他の実現方式では、第1端末と第2端末との少なくとも1つが既存のグループのメンバーであるとき、送信モジュール141は更に、NFC接続を介し第2端末に第1端末のデフォルト設定を送信するよう構成される。具体的には、第1端末のデフォルト設定は、第1端末のWi−Fi Directコンフィギュレーション情報に含まれ、第2端末に送信されてもよいか、あるいは、デフォルト設定はまた、第1端末のWi−Fi Directコンフィギュレーション情報に含まれなくてもよく、第1端末のWi−Fi Directコンフィギュレーション情報と共に第2端末に送信される。第1端末のデフォルト設定は、第1端末が第2端末が属する既存のグループに加わることを要求していることであるか、又は、第1端末が第2端末と新たなグループを作成することを要求していることであってもよい。
In another implementation of the present embodiment, when at least one of the first terminal and the second terminal is a member of an existing group, the
本実現方式の特定の実現方式では、確立モジュール142は、第2受信サブモジュール1423、第1設定サブモジュール1424及び第2確立サブモジュール1425を有してもよく、
第1端末が既存のグループのメンバーでなく、第2端末が既存のグループのメンバーであるとき、第2受信サブモジュール1423は、NFC接続を介し第2端末により送信される第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報を受信するよう構成され、第2端末が、第1端末のデフォルト設定に従って、第1端末が第2端末が属する既存のグループに加わることを要求してると判断し、第2端末が、第2端末のグループ情報に従って、第2端末が第2端末が属する既存のグループのグループオーナであると判断した後、既存のグループのWi−Fi Directコンフィギュレーション情報が、第2端末によって第1端末に送信され、
第1設定サブモジュール1424は、第2受信サブモジュール1423により受信された既存のグループのWi−Fi Directコンフィギュレーション情報に従って、第1端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値を第2端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値より小さい値に設定するよう構成され、
第1設定サブモジュール1424が、第1端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値を設定した後、第2確立サブモジュール1425は、第2受信サブモジュール1423により受信された既存のグループのWi−Fi Directコンフィギュレーション情報に従って、第2端末とのWi−Fi Direct接続を確立するよう構成される。
In a particular implementation of this implementation, the
When the first terminal is not a member of an existing group and the second terminal is a member of an existing group, the
The
After the
本実現方式の他の特定の実現方式では、確立モジュール142は、第3受信サブモジュール1426、第1要求サブモジュール1427及び第3確立サブモジュール1428を有してもよく、
第1端末が既存のグループのメンバーでなく、第2端末が既存のグループのメンバーであるとき、第3受信サブモジュール1426は、NFC接続を介し第2端末により送信される第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報と既存のグループのグループオーナの記述情報とを除くコンフィギュレーション情報を受信するよう構成され、第2端末が、第1端末のデフォルト設定に従って第1端末が第2端末が属する既存のグループに加わることを要求していると判断し、第2端末が、第2端末のグループ情報に従って第2端末が第2端末が属する既存のグループのクライアントであると判断した後、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報と既存のグループのグループオーナの記述情報とを除くコンフィギュレーション情報は、第2端末によって第1端末に送信され、
第1要求サブモジュール1427は、第3受信サブモジュール1426により受信されたグループオーナの記述情報に従って既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報をグループオーナに要求するよう構成され、
第3受信サブモジュール1426は更に、第1要求サブモジュール1427が既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報をグループオーナに要求した後、グループオーナにより送信された既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報を受信するよう構成され、
第3確立サブモジュール1428は、既存のグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
In other specific implementations of this implementation, the
When the first terminal is not a member of an existing group and the second terminal is a member of an existing group, the third receiving sub-module 1426 includes the second terminal transmitted by the second terminal via the NFC connection. Configured to receive the configuration information excluding the encryption information in the Wi-Fi Direct configuration information of the group and the description information of the group owner of the existing group, and the second terminal is configured to receive the first information according to the default setting of the first terminal. It is determined that one terminal is requesting to join an existing group to which the second terminal belongs, and the second terminal is a client of the existing group to which the second terminal belongs according to the group information of the second terminal. After determining that there is a Wi-Fi Direct configuration of the existing group to which the second terminal belongs Configuration information excluding the encrypted information and description information of a group owner of the existing groups in Deployment information is transmitted by the second terminal to the first terminal,
The first request submodule 1427 is configured to request encryption information in the Wi-Fi Direct configuration information of an existing group from the group owner according to the description information of the group owner received by the
The
The
本実現方式の更なる他の特定の実現方式では、確立モジュール142は、第4受信サブモジュール1429及び第4確立サブモジュール14210を有してもよく、
第1端末が既存のグループのメンバーでなく、第2端末が既存のグループのメンバーであるとき、第4受信サブモジュール1429は、NFC接続を介し第2端末により送信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を受信するよう構成され、
第4確立サブモジュール14210は、第4受信サブモジュール1429により受信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成され、
第2端末が、第1端末のデフォルト設定に従って、第1端末が第2端末と新たなグループを作成することを要求していると判断し、第2端末が、第2端末が少なくとも1つの未使用のMACエンティティを有していると判断すると、第2端末が作成予定の新たなグループにおいて第2端末により利用されるMACエンティティとして第2端末における未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定した後、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、第2端末によって第1端末に送信され、ここで、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報に矛盾せず、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に、第2端末のグループ情報を有する。
In yet another specific implementation of this implementation, the
When the first terminal is not a member of an existing group and the second terminal is a member of an existing group, the fourth receiving sub-module 1429 creates a new group to be created that is transmitted by the second terminal via an NFC connection Configured to receive Wi-Fi Direct configuration information of
The
The second terminal determines that the first terminal is requesting to create a new group with the second terminal according to the default setting of the first terminal, and the second terminal has at least one second terminal If it is determined that it has a MAC entity in use, the second terminal selects one of the unused MAC entities in the second terminal as the MAC entity to be used by the second terminal in the new group that is to be created. After setting the Wi-Fi Direct configuration information of the new group scheduled to be created, the Wi-Fi Direct configuration information of the new group scheduled to be created is transmitted to the first terminal by the second terminal, where The second terminal belongs to the Wi-Fi Direct configuration information of the new group to be created Consistent group Wi-Fi Direct configuration information of presence, Wi-Fi Direct configuration information for the new group creation schedule further includes a group information of the second terminal.
本実現方式の更なる他の特定の実現方式では、確立モジュール142は、第5受信サブモジュール14211及び第5確立サブモジュール14212を有してもよく、
第1端末が既存のグループのメンバーでなく、第2端末が既存のグループのメンバーであるとき、第5受信サブモジュール14211は、NFC接続を介し第2端末により送信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を受信するよう構成され、
第5確立サブモジュール14212は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成され、
第2端末が、第1端末のデフォルト設定に従って第1端末が第2端末と新たなグループを作成することを要求していると判断し、第2端末が、第2端末における全てのMACエンティティが利用されていると判断すると、第2端末が第2端末が属する既存のグループをやめるか第2端末を利用するユーザに促したときに、第2端末を利用するユーザが第2端末が属する既存のグループをやめることを選択した場合、第2端末が、第2端末が属する既存のグループをやめ、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定した後、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報が、第2端末によって第1端末に送信され、ここで、第2端末のグループオーナ意図の値は、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報における第1端末のグループオーナ意図の値と異なる。
In yet another specific implementation of this implementation, the
When the first terminal is not a member of an existing group and the second terminal is a member of an existing group, the fifth receiving sub-module 14211 sends a new group to be created transmitted by the second terminal via an NFC connection Configured to receive Wi-Fi Direct configuration information of
The
The second terminal determines that the first terminal requests to create a new group with the second terminal according to the default setting of the first terminal, and the second terminal determines that all MAC entities in the second terminal When the second terminal quits the existing group to which the second terminal belongs or prompts the user who uses the second terminal when the second terminal prompts the user who uses the second terminal, the user who uses the second terminal belongs to the existing second terminal The second terminal quits the existing group to which the second terminal belongs, and the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal To set the Wi-Fi Direct configuration information for the new group to be created according to i-Fi Direct configuration information is transmitted by the second terminal to the first terminal, where the value of the group owner intent of the second terminal is the first in the Wi-Fi Direct configuration information of the new group to be created. It differs from the value of the group owner intention of one terminal.
本実施例の更なる他の実現方式では、確立モジュール142は、第6確立サブモジュール14213を有してもよく、
第2端末が、第2端末のデフォルト設定に従って第2端末が第1端末が属する既存のグループに加わることを要求していると判断し、第2端末が、第1端末のグループ情報に従って、第1端末が第1端末が属する既存のグループのグループオーナであると判断した場合、第2端末が、第2端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値を第1端末のWi−Fi Directコンフィギュレーション情報におけるグループオーナ意図の値より小さい値に設定した後、第1端末が既存のグループのメンバーであり、第2端末が既存のグループのメンバーでないとき、第6確立サブモジュール14213は、第1端末のWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成され、この場合、第1端末のWi−Fi Directコンフィギュレーション情報は、第1端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報である。
In yet another implementation of this embodiment, the
The second terminal determines that the second terminal is requesting to join the existing group to which the first terminal belongs according to the default setting of the second terminal, and the second terminal follows the group information of the first terminal according to the group information of the first terminal. When it is determined that one terminal is a group owner of an existing group to which the first terminal belongs, the second terminal sets the group owner intention value in the Wi-Fi Direct configuration information of the second terminal to the Wi-Fi of the first terminal. After setting to a value smaller than the value of the group owner intention in the Fi Direct configuration information, when the first terminal is a member of an existing group and the second terminal is not a member of the existing group, the
本実施例の更なる他の実現方式では、第1端末が既存のグループのメンバーであり、第2端末が既存のグループのメンバーでなく、第1端末が第1端末が属する既存のグループのクライアントであるとき、送信モジュール141により送信される第1端末のWi−Fi Directコンフィギュレーション情報は、第1端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報における暗号化情報を除くコンフィギュレーション情報であり、
送信モジュール141は更に、NFC接続を介し第2端末に第1端末が属する既存のグループのグループオーナの記述情報を送信するよう構成され、具体的には、第1端末が属する既存のグループのグループオーナの記述情報は、第1端末のWi−Fi Directコンフィギュレーション情報に含まれてもよく、あるいは、第1端末が属する既存のグループのグループオーナの記述情報はまた、第1端末のWi−Fi Directコンフィギュレーション情報に含まれなくてもよく、第1端末のWi−Fi Directコンフィギュレーション情報と共に第2端末に送信される。
In yet another implementation of this embodiment, the first terminal is a member of an existing group, the second terminal is not a member of the existing group, and the first terminal is a client of the existing group to which the first terminal belongs. The Wi-Fi Direct configuration information of the first terminal transmitted by the
The
本実施例の更なる他の実現方式では、確立モジュール142は、第6受信サブモジュール14214及び第7確立サブモジュール14215を有してもよく、
第1端末が既存のグループのメンバーであり、第2端末が既存のグループのメンバーでないとき、第6受信サブモジュール14214は、NFC接続を介し第2端末により送信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を受信するよう構成され、
第7確立サブモジュール14215は、第6受信サブモジュール14214により受信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成され、
具体的には、第2端末が、第2端末のデフォルト設定に従って第2端末が第1端末と新たなグループを作成することを要求していると判断し、第2端末が、第1端末が少なくとも1つの未使用のMACエンティティを有すると判断した後、第2端末が、第1端末における未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定した後、第6受信サブモジュール14214により受信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報が、第2端末によって第1端末に送信され、ここで、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に、第1端末から第2端末により選択されるMACエンティティのアドレスを有し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、第2端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報と矛盾しない。
In yet another implementation of this embodiment, the
When the first terminal is a member of an existing group and the second terminal is not a member of the existing group, the sixth receiving
The
Specifically, the second terminal determines that the second terminal requests to create a new group with the first terminal according to the default setting of the second terminal, and the second terminal After determining that it has at least one unused MAC entity, the second terminal selects one of the unused MAC entities at the first terminal and creates a Wi-Fi Direct configuration for the new group to be created. After setting the information, the Wi-Fi Direct configuration information of the new group to be created received by the sixth receiving
本実施例の更なる他の実現方式では、確立モジュール142は、第7受信サブモジュール14216及び第8確立サブモジュール14217を有してもよく、
第1端末が既存のグループのメンバーであり、第2端末が既存のグループのメンバーでないとき、第7受信サブモジュール14216は、NFC接続を介し第2端末により送信されたWi−Fi Directコンフィギュレーション情報を受信するよう構成され、ここで、第2端末が、第2端末のデフォルト設定に従って、第2端末が第1端末と新たなグループを作成することを要求していると判断し、第1端末が少なくとも1つの未使用のMACエンティティを有すると判断した後、第2端末により送信されたWi−Fi Directコンフィギュレーション情報が、第2端末により設定され、第1端末に送信され、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、第1端末が属する既存のグループのWi−Fi Directコンフィギュレーション情報に矛盾せず、
第8確立サブモジュール14217は、第1端末における未使用のMACエンティティからの1つを選択し、第7受信サブモジュール14216により受信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
In yet another implementation of this embodiment, the
When the first terminal is a member of the existing group and the second terminal is not a member of the existing group, the seventh receiving
The eighth establishment sub-module 14217 selects one from unused MAC entities at the first terminal, and according to the Wi-Fi Direct configuration information of the new group to be created received by the
本実施例の更なる他の実現方式では、確立モジュール142は、第8受信サブモジュール14218、第1プロンプトサブモジュール14219、第1停止サブモジュール14220、第9確立サブモジュール14221及び第2設定サブモジュール14222を有してもよく、
第1端末が既存のグループのメンバーであり、第2端末が既存のグループのメンバーでないとき、第8受信サブモジュール14218は、第2端末が第1端末と新たなグループを作成することを要求しているという第2端末により送信される通知を受信するよう構成され、ここで、第2端末が、第2端末のデフォルト設定に従って、第2端末が第1端末と新たなグループを作成することを要求していると判断し、第1端末における全てのMACエンティティが利用されていると判断した後、当該通知は第2端末によって第1端末に送信され、
第1プロンプトサブモジュール14219は、第1端末が属する既存のグループをやめるか第1端末を利用するユーザを促すよう構成され、
第1端末を利用するユーザが第1端末が属する既存のグループをやめることを選択した後、第1停止サブモジュール14220は、第1端末が属する既存のグループをやめるよう構成され、
第2設定サブモジュール14222は、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定するよう構成され、
第9確立サブモジュール14221は、第2設定サブモジュール14222により設定された作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って、第2端末とのWi−Fi Direct接続を確立するよう構成される。
In yet another implementation of this embodiment, the
When the first terminal is a member of an existing group and the second terminal is not a member of the existing group, the eighth receiving submodule 14218 requests that the second terminal create a new group with the first terminal. Is configured to receive a notification sent by the second terminal, wherein the second terminal creates a new group with the first terminal according to the default setting of the second terminal. After determining that it is requesting and determining that all MAC entities in the first terminal are used, the notification is transmitted by the second terminal to the first terminal,
The first
After the user using the first terminal chooses to quit the existing group to which the first terminal belongs, the
The
The
本実施例の更なる他の実現方式では、確立モジュール142は、第9受信サブモジュール14223及び第10確立サブモジュール14224を有してもよく、
第1端末と第2端末との双方が既存のグループのメンバーであるとき、第9受信サブモジュール14223は、NFC接続を介し第2端末により送信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を受信するよう構成され、
第10確立サブモジュール14224は、第9受信サブモジュール14223により受信される作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成され、
第2端末が、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って、第1端末と第2端末とが同じグループに属さず、第1端末と第2端末との双方が少なくとも1つの未使用のMACエンティティを有すると判断し、第2端末が、第1端末のグループ情報と第2端末のグループ情報とに従って、第1端末と第2端末との少なくとも1つがグループオーナであると判断すると、第2端末が、作成予定の新たなグループにおける第2端末により利用されるMACエンティティとして第2端末における未使用のMACエンティティからの1つを選択し、第1端末における未使用のMACエンティティからの1つを選択し、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定した後、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は、第2端末によって第1端末に送信され、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報は更に、第1端末から第2端末により選択されたMACエンティティのアドレスを有する。
In yet another implementation of this embodiment, the
When both the first terminal and the second terminal are members of an existing group, the
The
According to the Wi-Fi Direct configuration information of the first terminal and the Wi-Fi Direct configuration information of the second terminal, the first terminal and the second terminal do not belong to the same group, and the second terminal It is determined that both of the second terminals have at least one unused MAC entity, and the second terminal is connected to the first terminal and the second terminal according to the group information of the first terminal and the group information of the second terminal. When the second terminal determines that at least one of the group owners is a group owner, the second terminal selects one of the unused MAC entities at the second terminal as the MAC entity to be used by the second terminal in the new group to be created. , Select one of the unused MAC entities at the first terminal, and create a new group Wi- After setting the i Direct configuration information, the Wi-Fi Direct configuration information of the new group to be created is transmitted to the first terminal by the second terminal, and the Wi-Fi Direct configuration of the new group to be created is created. The information further comprises the address of the MAC entity selected by the second terminal from the first terminal.
本実施例では、第1端末と第2端末との1つのみがグループオーナである場合、既存のグループにおいてグループオーナである端末は、新たなグループにおいてクライアントでなければならず、当該端末のグループオーナ意図は、新たなグループにおけるWi−Fi Directコンフィギュレーション情報のピアエンドのグループオーナ意図より小さく設定される必要があり、第1端末と第2端末との双方が既存のグループにおけるグループオーナである場合、新たなグループのコンフィギュレーション情報における2つの端末のグループオーナ意図は、これら2つの端末のグループオーナ意図の値が異なって設定される限り、ランダムに設定されてもよい。 In this embodiment, when only one of the first terminal and the second terminal is the group owner, the terminal that is the group owner in the existing group must be a client in the new group, and the group of the terminal The owner intention needs to be set smaller than the peer owner group owner intention of the Wi-Fi Direct configuration information in the new group, and both the first terminal and the second terminal are group owners in the existing group The group owner intention of the two terminals in the new group configuration information may be set randomly as long as the group owner intention values of the two terminals are set differently.
上記実施例では、第1端末と第2端末とは、NFC接続を利用することによってWi−Fi Directコンフィギュレーション情報を交換し、デバイス検出手順とGOネゴシエーション手順とが交換処理に暗黙的に含まれ、これにより、無線シグナリングを利用することによって実行され、Wi−Fi Directプロトコルに定義されるデバイス検出、GOネゴシエーション及びWPS認証情報交換などのハンドシェイク手順を利用せず、Wi−Fi Direct接続の確立手順を簡単化することができる。さらに、Wi−Fi Directプロトコルは、クライアントが他のグループのGO又はクライアントをアクティブには検出できないことを指定する。このシナリオでは、Wi−Fi Direct接続は、無線シグナリングを利用することによって確立することはできず、当該制約は、本発明により提供される技術的手段が利用されるときには存在しない。第1端末と第2端末とがNFC通信範囲内にある限り、第1端末と第2端末とはコンフィギュレーション情報を交換可能であり、双方は第1端末と第2端末との間のWi−Fi Direct接続を確立できる。 In the above embodiment, the first terminal and the second terminal exchange Wi-Fi Direct configuration information by using the NFC connection, and the device detection procedure and the GO negotiation procedure are implicitly included in the exchange process. This establishes a Wi-Fi Direct connection without using handshake procedures such as device detection, GO negotiation, and WPS authentication information exchange, which are executed by using wireless signaling and defined in the Wi-Fi Direct protocol. The procedure can be simplified. Furthermore, the Wi-Fi Direct protocol specifies that the client cannot actively detect other groups of GOs or clients. In this scenario, a Wi-Fi Direct connection cannot be established by utilizing wireless signaling, and this restriction does not exist when the technical means provided by the present invention are utilized. As long as the first terminal and the second terminal are within the NFC communication range, the first terminal and the second terminal can exchange configuration information, and both of them are Wi− between the first terminal and the second terminal. A Fi Direct connection can be established.
図16は、本発明による端末の更なる他の実施例の概略的な構成図である。端末16は第1端末として利用可能であり、図16に示されるように、端末16は、少なくとも1つのプロセッサ161とメモリ162とを有してもよい。メモリ162は、実行可能なプログラムコードを格納するよう構成され、プロセッサ161は、メモリ162に格納される実行可能なプログラムコードを読み出すことによって、実行可能なプログラムコードに対応するプログラムを実行し、第1端末と第2端末との間のNFC接続を介し第2端末により送信される第2端末のWi−Fi Directコンフィギュレーション情報を受信し、ここで、第2端末のWi−Fi Directコンフィギュレーション情報は第2端末のグループ情報を有し、第1端末のグループ情報と第2端末のグループ情報とに従って、第1端末と第2端末との何れも既存のグループのメンバーでないと判断された場合、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って第2端末とのWi−Fi Direct接続を確立するか、又は、第1端末のグループ情報と第2端末のグループ情報とに従って、第1端末と第2端末との少なくとも1つが既存のグループのメンバーであると判断された場合、既存のグループ又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
FIG. 16 is a schematic structural diagram of still another embodiment of a terminal according to the present invention. The terminal 16 can be used as a first terminal, and the terminal 16 may include at least one
特定の実現形態中、上記の端末は更に、ユーザインタフェース163及びバス164を有してもよい。プロセッサ161、メモリ162及びユーザインタフェース163は全てバス164に接続される。
In certain implementations, the terminal may further include a
さらに、通信接続を確立する際、本実施例における第1端末は、本発明の方法の実施例により提供される手順に従って第2端末との通信接続を確立してもよい。詳細はここでは繰り返されない。 Furthermore, when establishing a communication connection, the first terminal in this embodiment may establish a communication connection with the second terminal according to the procedure provided by the method embodiment of the present invention. Details are not repeated here.
上記の端末は、Wi−Fi Direct接続確立手順を簡単化する。第1端末と第2端末とがNFC通信範囲内である限り、第1端末と第2端末とはコンフィギュレーション情報を交換可能であり、双方が第1端末と第2端末との間のWi−Fi Direct接続を確立できる。 The above terminal simplifies the Wi-Fi Direct connection establishment procedure. As long as the first terminal and the second terminal are within the NFC communication range, the first terminal and the second terminal can exchange configuration information, and both of them are Wi− between the first terminal and the second terminal. A Fi Direct connection can be established.
図17は、本発明の更なる他の実施例の概略的な構成図である。端末17は第1端末として利用可能であり、図17に示されるように、端末17は、少なくとも1つのプロセッサ171とメモリ172とを有してもよい。メモリ172は、実行可能なプログラムコードを格納するよう構成され、プロセッサ171は、メモリ172に格納される実行可能なプログラムコードを読み出すことによって、実行可能なプログラムコードに対応するプログラムを実行し、第1端末と第2端末との間のNFC接続を介し第2端末に第1端末のWi−Fi Directコンフィギュレーション情報を送信し、ここで、第1端末のWi−Fi Directコンフィギュレーション情報は第1端末のグループ情報を有し、第1端末と第2端末との何れも既存のグループのメンバーでない場合、第1端末のWi−Fi Directコンフィギュレーション情報と第2端末のWi−Fi Directコンフィギュレーション情報とに従って第2端末とのWi−Fi Direct接続を確立するか、又は、第1端末と第2端末との少なくとも1つが既存のグループのメンバーである場合、既存のグループ又は作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って第2端末とのWi−Fi Direct接続を確立するよう構成される。
FIG. 17 is a schematic configuration diagram of still another embodiment of the present invention. The terminal 17 can be used as a first terminal, and the terminal 17 may include at least one
特定の実現形態中、上記の端末は更に、ユーザインタフェース173及びバス174を有してもよい。プロセッサ171、メモリ172及びユーザインタフェース173は全てバス174に接続される。
In certain implementations, the terminal may further include a
さらに、通信接続を確立する際、本実施例における第1端末は、本発明の方法の実施例により提供される手順に従って第2端末との通信接続を確立してもよい。詳細はここでは繰り返されない。 Furthermore, when establishing a communication connection, the first terminal in this embodiment may establish a communication connection with the second terminal according to the procedure provided by the method embodiment of the present invention. Details are not repeated here.
上記の端末は、Wi−Fi Direct接続確立手順を簡単化する。第1端末と第2端末とがNFC通信範囲内である限り、第1端末と第2端末とはコンフィギュレーション情報を交換可能であり、双方が第1端末と第2端末との間のWi−Fi Direct接続を確立できる。 The above terminal simplifies the Wi-Fi Direct connection establishment procedure. As long as the first terminal and the second terminal are within the NFC communication range, the first terminal and the second terminal can exchange configuration information, and both of them are Wi− between the first terminal and the second terminal. A Fi Direct connection can be established.
当業者は、添付した図面が単なる一例となる実施例の概略図であり、添付した図面におけるモジュール又は手順は本発明の実現のため必ずしも必要でないことを理解できる。 Those skilled in the art will appreciate that the attached drawings are schematic illustrations of exemplary embodiments only, and that the modules or procedures in the attached drawings are not necessarily required to implement the present invention.
当業者は、実施例における装置のモジュールが実施例に説明されるような装置に配置されてもよいか、又は実施例における装置以外の1以上の装置に配置されてもよいことを理解できる。上記実施例によるモジュールは、1つのモジュールに合成されてもよく、又は複数のサブモジュールに更に分割されてもよい。 One skilled in the art can appreciate that the modules of the devices in the embodiments may be located in devices as described in the embodiments, or may be located in one or more devices other than the devices in the embodiments. The modules according to the above embodiments may be combined into one module, or may be further divided into a plurality of submodules.
最後に、上記実施例は本発明を限定する以外の本発明の技術的手段を単に説明することを意図していることに留意すべきである。本発明は上記実施例を参照して詳細に説明されたが、当業者は、本発明の実施例の技術的手段の範囲から逸脱することなく、上記実施例において説明された技術的手段に対する改良が依然として可能であるか、又はその一部の技術的特徴に対する等価な置換が可能であることを理解すべきである。 Finally, it should be noted that the above examples are merely intended to illustrate the technical means of the present invention other than limiting the present invention. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art can make improvements to the technical means described in the above embodiments without departing from the scope of the technical means of the embodiments of the present invention. Should still be possible, or equivalent replacements for some technical features thereof are possible.
Claims (10)
第1端末が、前記第1端末と第2端末との間のニアフィールド通信(NFC)接続を介し前記第2端末に前記第1端末のWi−Fi Directコンフィギュレーション情報を送信するステップであって、前記第1端末のWi−Fi Directコンフィギュレーション情報は前記第1端末のグループ情報を含み、前記第1端末のグループ情報は、前記第1端末が何れか既存のグループのメンバーでないこと、前記第1端末が前記第1端末が属する既存のグループのグループオーナであること、又は前記第1端末が前記第1端末が属する既存のグループのクライアントであることを示す、送信するステップと、
前記第1端末が、前記第1端末と前記第2端末との間のNFC接続を介し前記第2端末から前記第2端末のWi−Fi Directコンフィギュレーション情報を受信するステップであって、前記第2端末のWi−Fi Directコンフィギュレーション情報は前記第2端末のグループ情報を含み、前記第2端末のグループ情報は、前記第2端末が何れか既存のグループのメンバーでないこと、前記第2端末が前記第2端末が属する既存のグループのグループオーナであること、又は前記第2端末が前記第2端末が属する既存のグループのクライアントであることを示す、受信するステップと、
前記第1端末が、前記第1端末と前記第2端末との双方が何れか既存のグループのメンバーでない場合、前記第2端末のWi−Fi Directコンフィギュレーション情報に従って前記第1端末と前記第2端末との間のWi−Fi Direct接続を確立するステップと、
を有する方法。 A method of establishing a communication connection,
A first terminal transmitting Wi-Fi Direct configuration information of the first terminal to the second terminal via a near field communication (NFC) connection between the first terminal and the second terminal; The Wi-Fi Direct configuration information of the first terminal includes group information of the first terminal, and the group information of the first terminal indicates that the first terminal is not a member of any existing group, the first terminal Transmitting, indicating that one terminal is a group owner of an existing group to which the first terminal belongs, or that the first terminal is a client of an existing group to which the first terminal belongs;
The first terminal receiving Wi-Fi Direct configuration information of the second terminal from the second terminal via an NFC connection between the first terminal and the second terminal, the first terminal; The Wi-Fi Direct configuration information of the two terminals includes group information of the second terminal, and the group information of the second terminal indicates that the second terminal is not a member of any existing group, and the second terminal Receiving, indicating that the second terminal is a group owner of an existing group to which the second terminal belongs, or that the second terminal is a client of an existing group to which the second terminal belongs;
If both the first terminal and the second terminal are not members of any existing group, the first terminal and the second terminal according to the Wi-Fi Direct configuration information of the second terminal Establishing a Wi-Fi Direct connection with the terminal;
Having a method.
前記第1端末が、前記第2端末が属する既存のグループの記述情報に従って、前記第2端末が属する既存のグループのグループオーナを求めるステップと、
前記第1端末が、前記第2端末が属する既存のグループに加入するステップと、
を更に有する、請求項1記載の方法。 If the first terminal is not a member of any existing group and the second terminal is a group client of an existing group to which the second terminal belongs, the Wi-Fi of the second terminal Obtaining description information of an existing group to which the second terminal belongs included in Direct configuration information;
The first terminal obtaining a group owner of an existing group to which the second terminal belongs according to description information of the existing group to which the second terminal belongs;
The first terminal joining an existing group to which the second terminal belongs;
The method of claim 1, further comprising:
前記第1端末が、前記第2端末のWi−Fi Directコンフィギュレーション情報に従って、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定するステップと、
前記第1端末が、前記NFC接続を介し前記第2端末に前記作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信するステップと、
前記第1端末が、前記作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って前記第2端末とのWi−Fi Direct接続を確立するステップと、
を含む、請求項1記載の方法。 The first terminal establishing a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the second terminal;
The first terminal setting Wi-Fi Direct configuration information of a new group to be created according to the Wi-Fi Direct configuration information of the second terminal;
The first terminal transmitting Wi-Fi Direct configuration information of the new group to be created to the second terminal via the NFC connection;
The first terminal establishing a Wi-Fi Direct connection with the second terminal according to the Wi-Fi Direct configuration information of the new group to be created;
The method of claim 1 comprising:
前記第1端末が、前記第2端末が属する既存のグループのグループオーナに暗号化情報を要求するステップと、
前記第1端末が、前記第2端末が属する既存のグループのグループオーナから前記暗号化情報を受信するステップと、
を更に有する、請求項3記載の方法。 Before the step of the first terminal joining an existing group to which the second terminal belongs,
The first terminal requests encryption information from a group owner of an existing group to which the second terminal belongs;
The first terminal receiving the encryption information from a group owner of an existing group to which the second terminal belongs;
The method of claim 3, further comprising:
前記メモリに記憶される前記実行可能なプログラムコードを読み込むことによって、
端末と他の端末との間のニアフィールド通信(NFC)接続を介し前記他の端末に前記端末のWi−Fi Directコンフィギュレーション情報を送信するステップであって、前記端末のWi−Fi Directコンフィギュレーション情報は前記端末のグループ情報を含み、前記端末のグループ情報は、前記端末が何れか既存のグループのメンバーでないこと、前記端末が前記端末が属する既存のグループのグループオーナであること、又は前記端末が前記端末が属する既存のグループのクライアントであることを示す、送信するステップと、
前記端末と前記他の端末との間のNFC接続を介し前記他の端末から前記他の端末のWi−Fi Directコンフィギュレーション情報を受信するステップであって、前記他の端末のWi−Fi Directコンフィギュレーション情報は前記他の端末のグループ情報を含み、前記他の端末のグループ情報は、前記他の端末が何れか既存のグループのメンバーでないこと、前記他の端末が前記他の端末が属する既存のグループのグループオーナであること、又は前記他の端末が前記他の端末が属する既存のグループのクライアントであることを示す、受信するステップと、
前記端末と前記他の端末との双方が何れか既存のグループのメンバーでない場合、前記他の端末のWi−Fi Directコンフィギュレーション情報に従って前記端末と前記他の端末との間のWi−Fi Direct接続を確立するステップと、
を実行するために前記実行可能なプログラムコードに対応するプログラムを実行するよう構成される少なくとも1つのプロセッサと、
を有する端末。 A memory configured to store executable program code;
By reading the executable program code stored in the memory,
Transmitting Wi-Fi Direct configuration information of the terminal to the other terminal via a near-field communication (NFC) connection between the terminal and the other terminal, the Wi-Fi Direct configuration of the terminal The information includes group information of the terminal, and the group information of the terminal indicates that the terminal is not a member of any existing group, the terminal is a group owner of an existing group to which the terminal belongs, or the terminal Transmitting, indicating that is a client of an existing group to which the terminal belongs;
Receiving Wi-Fi Direct configuration information of the other terminal from the other terminal via an NFC connection between the terminal and the other terminal, the Wi-Fi Direct configuration of the other terminal. The group information of the other terminal includes group information of the other terminal, and the group information of the other terminal indicates that the other terminal is not a member of any existing group, and the other terminal belongs to the existing terminal to which the other terminal belongs. Receiving, indicating that it is a group owner of a group, or that the other terminal is a client of an existing group to which the other terminal belongs;
If both the terminal and the other terminal are not members of any existing group, Wi-Fi Direct connection between the terminal and the other terminal according to the Wi-Fi Direct configuration information of the other terminal Establishing steps,
At least one processor configured to execute a program corresponding to the executable program code to execute
A terminal having
前記端末が何れか既存のグループのメンバーでなく、前記他の端末が前記他の端末が属する既存のグループのグループオーナである場合、前記他の端末が属する既存のグループに加入するステップを実行するよう構成される、請求項6記載の端末。 The at least one processor further includes
If the terminal is not a member of any existing group and the other terminal is a group owner of an existing group to which the other terminal belongs, the step of joining the existing group to which the other terminal belongs is executed The terminal of claim 6, configured as follows.
前記端末が何れか既存のグループのメンバーでなく、前記他の端末が前記他の端末が属する既存のグループのグループクライアントである場合、前記他の端末のWi−Fi Directコンフィギュレーション情報に含まれる、前記他の端末が属する既存のグループの記述情報を取得するステップと、
前記他の端末が属する既存のグループの記述情報に従って、前記他の端末が属する既存のグループのグループオーナを求めるステップと、
前記他の端末が属する既存のグループに加入するステップと、
を実行するよう構成される、請求項6記載の端末。 The at least one processor further includes
If the terminal is not a member of any existing group and the other terminal is a group client of an existing group to which the other terminal belongs, it is included in the Wi-Fi Direct configuration information of the other terminal. Obtaining description information of an existing group to which the other terminal belongs;
Obtaining a group owner of an existing group to which the other terminal belongs according to description information of the existing group to which the other terminal belongs;
Joining an existing group to which the other terminal belongs;
The terminal of claim 6, configured to perform:
前記他の端末のWi−Fi Directコンフィギュレーション情報に従って、作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を設定するステップと、
前記NFC接続を介し前記他の端末に前記作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報を送信するステップと、
前記作成予定の新たなグループのWi−Fi Directコンフィギュレーション情報に従って前記他の端末とのWi−Fi Direct接続を確立するステップと、
を含む、請求項6記載の端末。 Establishing a Wi-Fi Direct connection with the other terminal according to the Wi-Fi Direct configuration information of the other terminal,
Setting Wi-Fi Direct configuration information of a new group to be created according to the Wi-Fi Direct configuration information of the other terminal;
Transmitting Wi-Fi Direct configuration information of the new group scheduled to be created to the other terminal via the NFC connection;
Establishing a Wi-Fi Direct connection with the other terminal according to the Wi-Fi Direct configuration information of the new group to be created;
The terminal according to claim 6, comprising:
前記少なくとも1つのプロセッサは更に、
前記他の端末が属する既存のグループのグループオーナに暗号化情報を要求するステップと、
前記他の端末が属する既存のグループのグループオーナから前記暗号化情報を受信するステップと、
を実行するよう構成される、請求項8記載の端末。 Before joining the existing group to which the other terminal belongs according to the Wi-Fi Direct configuration information of the existing group,
The at least one processor further includes
Requesting encryption information from a group owner of an existing group to which the other terminal belongs;
Receiving the encryption information from a group owner of an existing group to which the other terminal belongs;
The terminal of claim 8, configured to perform:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016179941A JP6169237B2 (en) | 2016-09-14 | 2016-09-14 | Method and terminal for establishing a communication connection |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016179941A JP6169237B2 (en) | 2016-09-14 | 2016-09-14 | Method and terminal for establishing a communication connection |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015535955A Division JP6009682B2 (en) | 2012-10-29 | 2012-10-29 | Method and terminal for establishing a communication connection |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2017022759A JP2017022759A (en) | 2017-01-26 |
| JP6169237B2 true JP6169237B2 (en) | 2017-07-26 |
Family
ID=57888507
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016179941A Active JP6169237B2 (en) | 2016-09-14 | 2016-09-14 | Method and terminal for establishing a communication connection |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6169237B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8462734B2 (en) * | 2010-10-20 | 2013-06-11 | Nokia Corporation | Wireless docking with out-of-band initiation |
| US9294545B2 (en) * | 2010-12-16 | 2016-03-22 | Microsoft Technology Licensing, Llc | Fast join of peer to peer group with power saving mode |
| US8554970B2 (en) * | 2011-04-18 | 2013-10-08 | Nokia Corporation | Method, apparatus and computer program product for creating a wireless docking group |
-
2016
- 2016-09-14 JP JP2016179941A patent/JP6169237B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2017022759A (en) | 2017-01-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6009682B2 (en) | Method and terminal for establishing a communication connection | |
| US10390113B2 (en) | Method and apparatus for controlling device using bluetooth technology | |
| CN105284176B (en) | Method and device for establishing connection | |
| US20150009862A1 (en) | Wireless Network Connection Establishment Method and Terminal Device | |
| KR20190027488A (en) | Method and apparatus of supporting profile transfer of devices in wireless communication system | |
| KR20130128347A (en) | Method, apparatus, and computer program product for controlling network access to guest apparatus based on presence of hosting apparatus | |
| US20150223046A1 (en) | Method and apparatus for generating p2p group for wi-fi direct service | |
| CN102869014A (en) | Terminal and data communication method | |
| US11950320B2 (en) | Apparatus and methods for linkage of or profile transfer between devices | |
| US9767684B2 (en) | Method and device for controlling device using Bluetooth in wireless communication system | |
| US10887762B2 (en) | Method and apparatus for transmitting and receiving data using Bluetooth technology | |
| US12407540B2 (en) | Method and apparatus for setting multiple controllers in wireless LAN system in smart home environment | |
| JP2019149822A (en) | Methods and apparatus for end device discovering another end device | |
| KR102091605B1 (en) | Device and method for performing inter-device communication | |
| US20240244681A1 (en) | Communication method, apparatus, and system | |
| WO2023220937A1 (en) | Communication methods and apparatuses, devices, storage medium, chip, product and program | |
| US12335246B2 (en) | Method and device for online moving of bundles or profiles between devices | |
| CN107211265A (en) | A security interaction method and device between terminals | |
| US12167235B2 (en) | Communication apparatus, control method of communication apparatus and non-transitory computer-readable storage medium | |
| JP6169237B2 (en) | Method and terminal for establishing a communication connection | |
| KR20170006204A (en) | A communicating method, a communicating device, and a communicating system | |
| US20190364608A1 (en) | Method and apparatus for controlling apparatus by using bluetooth technology | |
| KR20250123135A (en) | Communication device and communication method for enhanced tunneled direct link setup (TDLS) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 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: 20170530 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170627 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6169237 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |