WO2015070580A1 - 基于近场通信建立无线局域网的方法及装置 - Google Patents

基于近场通信建立无线局域网的方法及装置 Download PDF

Info

Publication number
WO2015070580A1
WO2015070580A1 PCT/CN2014/077814 CN2014077814W WO2015070580A1 WO 2015070580 A1 WO2015070580 A1 WO 2015070580A1 CN 2014077814 W CN2014077814 W CN 2014077814W WO 2015070580 A1 WO2015070580 A1 WO 2015070580A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
near field
field communication
parameter information
information
Prior art date
Application number
PCT/CN2014/077814
Other languages
English (en)
French (fr)
Inventor
李颖
汤绍坚
朱渊
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015070580A1 publication Critical patent/WO2015070580A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/72Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a method and a related apparatus for establishing a wireless local area network based on near field communication.
  • BACKGROUND With the popularization of mobile smart devices, the demand for sharing and transferring files between devices is increasing. It is necessary to establish a file sharing channel conveniently by means of near-field wireless. Mobile smart device users not only value the convenience of establishing a connection between two mobile phones, but also pay more and more attention to the efficiency of transferring files between devices.
  • the WIFI hotspot mode has a slight advantage in terms of its transmission speed and communication range.
  • the establishment of such a wireless local area network requires the user to have basic technical knowledge, for example, in the WIFI local area network, the user needs to coordinate and clearly define the terminal as an access point (AP) and the ordinary wireless access terminal (Client).
  • AP access point
  • Client ordinary wireless access terminal
  • This expertise and the need for complex operations have created obstacles to the promotion of such applications.
  • the user experience of mobile terminals in the near field communication capability is often poor.
  • the fundamental reason is that the near field communication capability of the mobile terminal is relatively easy to use.
  • WIFI access authentication and BT pairing The process is not familiar, especially the various interaction data involved in the process is more difficult to understand.
  • WIFI hotspots and WiFi Direct sharing channels require users to have basic technical knowledge and have a certain understanding of their principles.
  • NFC Near Field Communication
  • P2P point-to-point
  • An object of the present invention is to provide a method and apparatus for establishing a wireless local area network based on near field communication, so as to solve the problem that the traditional wireless local area network is complicated in process, poor in usability, or low in transmission rate.
  • a method for establishing a wireless local area network based on near field communication includes: establishing, by a first mobile terminal, a near field communication link with a second mobile terminal; and using, by the first mobile terminal, the near field communication chain Transmitting, by the second mobile terminal, a request for acquiring wireless parameter information of the second mobile terminal; the first mobile terminal receiving, by using the near field communication link, the wireless information that includes the AP information that is sent by the second mobile terminal in response to the request Parameter information: The first mobile terminal wirelessly connects the AP of the second mobile terminal by using wireless parameter information including AP information, thereby establishing a wireless local area network, and transmitting data by using the established wireless local area network.
  • the step of the first mobile terminal establishing a near field communication link with the second mobile terminal includes: when the first mobile terminal approaches the second mobile terminal and reaches the near field communication range of the second mobile terminal, A mobile terminal transmits a near field communication request to the second mobile terminal; the first mobile terminal receives a near field communication response sent by the second mobile terminal in response to the near field communication request, thereby establishing near field communication with the second mobile terminal link.
  • the method further includes: after the second mobile terminal receives the request for acquiring the wireless parameter information of the second mobile terminal sent by the first mobile terminal by using the near field communication link, starting the second mobile terminal
  • the access point function generates wireless parameter information and sends it to the first mobile terminal.
  • the step that the first mobile terminal wirelessly connects to the AP of the second mobile terminal by using the wireless parameter information that includes the AP information includes: the first mobile terminal parses the wireless that is sent by the second mobile terminal in response to the request The parameter information is obtained, and the AP information is obtained and saved. The first mobile terminal searches for the AP, and matches the searched AP information with the saved AP information. If they are consistent, the AP of the second mobile terminal is wirelessly connected.
  • the wireless parameter information further includes a password, and the first mobile terminal wirelessly connects the AP of the second mobile terminal by using the password.
  • an apparatus for establishing a wireless local area network based on near field communication includes: a near field communication link establishing module configured to establish a near field communication link between the first mobile terminal and the second mobile terminal; a wireless parameter information requesting module, configured to send, by using the near field communication link, a request for acquiring wireless parameter information of the second mobile terminal to the second mobile terminal; and the wireless parameter information receiving module is configured to communicate via the near field
  • the link receives wireless parameter information including AP information sent by the second mobile terminal in response to the request;
  • the line local area network establishing module is configured to wirelessly connect the AP of the second mobile terminal by using wireless parameter information including AP information, thereby establishing a wireless local area network, and transmitting data by using the established wireless local area network.
  • the device further includes: a wireless parameter information response module, configured to: after receiving the request for acquiring the wireless parameter information of the second terminal sent by the first mobile terminal by using the near field communication link, opening the second The access point function of the terminal, and generates wireless parameter information, and sends the information to the first mobile terminal.
  • the step of the WLAN establishing module includes: an information parsing sub-module, configured to parse the wireless parameter information sent by the second mobile terminal in response to the request, obtain the AP information and save; the connection establishing sub-module, set to search The AP, and the searched AP information is matched with the saved AP information, and if they are consistent, the AP of the second mobile terminal is wirelessly connected.
  • the wireless parameter information further includes a password
  • the connection establishing submodule wirelessly connects the AP of the second mobile terminal by using the password.
  • FIG. 1 is a flowchart of a method for establishing a wireless local area network based on near field communication according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps (steps 101-104). Step 101: The first mobile terminal establishes a near field communication link with the second mobile terminal.
  • the first mobile terminal may send a near field communication request to the second mobile terminal when approaching the second mobile terminal and reach the near field communication range of the second mobile terminal; the second mobile terminal receives the near field communication After the request, Generating a near field communication response for responding to the near field communication request and transmitting to the first mobile terminal; the first mobile terminal receiving the near field communication response, such that the first mobile terminal establishes near field communication with the second mobile terminal link.
  • the first mobile terminal may enable its near field communication function, turn off its access point function, and enable at least one of its WIFI function, WIFI Direct function, Bluetooth function, and other wireless functions. .
  • Step 102 The first mobile terminal sends a request for acquiring wireless parameter information of the second mobile terminal to the second mobile terminal by using the near field communication link.
  • the second mobile terminal receives by using the near field communication link.
  • Step 103 The first mobile terminal receives, by using the near field communication link, wireless parameter information that includes the AP information that is sent by the second mobile terminal in response to the request.
  • the first mobile terminal after receiving the wireless parameter information that is sent by the second mobile terminal and including the AP information, the first mobile terminal first parses the wireless parameter information sent by the second mobile terminal in response to the request, to obtain an AP.
  • the information is saved, and then the AP is searched, and the searched AP information is matched with the saved AP information. If they are consistent, the AP of the second mobile terminal is wirelessly connected.
  • the wireless parameter information further includes a password, and the first mobile terminal wirelessly connects the AP of the second mobile terminal by using the password.
  • Step 104 The first mobile terminal wirelessly connects the AP of the second mobile terminal by using wireless parameter information including AP information, thereby establishing a wireless local area network, and transmitting data by using the established wireless local area network.
  • FIG. 2 is a flowchart of performing near-field file transmission based on a near field wireless technology such as an FC or a WIFI hotspot on a mobile terminal according to an embodiment of the present invention.
  • FIG. 2 includes two mobile terminals A having FC and WIFI functions.
  • B. Performing near-field file transmission based on the near-field wireless technology mainly includes the following steps (step 201 - step 212).
  • the mobile terminal A is close to the designated FC communication location of the mobile terminal B, and meets the FC communication establishment designated.
  • the distance range sends an FC request to the mobile terminal B requesting to establish an FC communication connection.
  • OOB out-of-band
  • the OOB data includes a request for acquiring the wireless parameter information of the mobile terminal B, where, in this embodiment, the wireless parameter information is WIFI information.
  • Step 204 The mobile terminal A sends the OOB data to the mobile terminal B to obtain the WIFI information of the counterpart.
  • Step 208 The mobile terminal B sends the packaged WIFI OOB data to the mobile terminal A. Further, after the WIFI OOB data transmission is completed, the voice is prompted to enable the transmitting and receiving parties to know in time whether the data transmission is over. For example, when a beep sound is heard, it indicates that the data transmission is completed, and at this time, the mobile terminal A can be away from the mobile terminal B.
  • Step 209 The mobile terminal A receives and parses the packaged WIFI OOB data sent by the mobile terminal B, and obtains the WIFI information of the mobile terminal B, where the WIFI information includes the AP information and password of the mobile terminal B. Further, the The AP information may be the AP name of the mobile terminal B.
  • Step 210 The mobile terminal A starts to search for the AP, and compares the searched AP name with the previously saved AP name. If the match is the same, the stored password is used to connect the AP, that is, the mobile terminal A wirelessly connects the mobile terminal B by using the password. AP.
  • the FC P2P technology is first used to exchange wireless parameter information between the transmitting and receiving parties, thereby automatically creating a wireless local area network by using the wireless parameter information, and solving the traditional process of creating a wireless local area network is complicated. Poor usability or problems under the transmission rate.
  • the WIFI is taken as an example, and the wireless parameter information is WIFI information.
  • the WIFI Direct function may also be used.
  • the wireless parameter information is WIFI Direct information
  • the WIFI Direct information includes AP information (which may be an AP name) and a password, etc.; or uses a Bluetooth function, where the wireless parameter is The information is Bluetooth information, and the Bluetooth information includes AP information (which may be an AP name), a password, and the like.
  • Step 211 The mobile terminal A and the mobile terminal B establish a connection, and the connection process may take several seconds to ten seconds. After the connection is completed, the mobile terminal A acting as the client receives the message that the connection AP is successful, and the mobile terminal A accesses the The hot mobile terminal B forms a WIFI local area network.
  • Step 212 The mobile terminal A sends a file to the mobile terminal B through the WIFI local area network, and the process ends.
  • the initiator mobile terminal and the receiving mobile terminal determine the WIFI master-slave relationship
  • the user does not need to perform complex search, creation, connection, etc., and can implement the configuration and automatically connect the AP and the client of the WIFI LAN through the above technical solution.
  • the process is simple, easy to use, and fast, improving the user experience.
  • All or a portion of the above steps may be performed by a program to instruct the associated hardware, such as a read only memory, a magnetic disk, or an optical disk.
  • all or part of the steps of the foregoing embodiments may also be implemented by using one or more integrated circuits.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may be implemented by using a software function module. Formal realization. The invention is not limited to any specific form of combination of hardware and software.
  • the embodiment of the present invention further provides an apparatus for establishing a wireless local area network based on near field communication, comprising: a near field communication link establishing module, configured to establish a near field communication chain of the first mobile terminal and the second mobile terminal.
  • a wireless parameter information requesting module configured to send, by using the near field communication link, a request for acquiring wireless parameter information of the second mobile terminal to the second mobile terminal; and the wireless parameter information receiving module is configured to be configured by the near The field communication link receives the wireless parameter information including the AP information sent by the second mobile terminal in response to the request; the wireless local area network establishing module is configured to wirelessly connect the AP of the second mobile terminal by using wireless parameter information including the AP information, Thereby, a wireless local area network is established, and data is transmitted using the established wireless local area network.
  • the device may further include: a wireless parameter information response module, configured to: after receiving, by using the near field communication link, a request sent by the first mobile terminal to acquire wireless parameter information of the second terminal, The access point function of the two terminals, and generates wireless parameter information, and sends the information to the first mobile terminal.
  • the step of the WLAN establishing module may include: an information parsing sub-module, configured to parse the wireless parameter information sent by the second mobile terminal in response to the request, to obtain the AP information and save; the connection establishing sub-module is set to The AP is searched, and the searched AP information is matched with the saved AP information. If they are consistent, the AP of the second mobile terminal is wirelessly connected.
  • the wireless parameter information may further include a password
  • the connection establishing submodule wirelessly connects the AP of the second mobile terminal by using the password.
  • the above apparatus provided by the embodiment of the present invention includes a first mobile terminal as a sender and a second mobile terminal as a receiver.
  • the first mobile terminal includes a near field communication link establishing module, a wireless parameter information requesting module, a wireless parameter information receiving module, and a wireless local area network establishing module.
  • the first mobile terminal selects a file to be sent.
  • the first mobile terminal automatically starts the FC function, and simultaneously closes the AP function, and opens the WIFI function/WIFI Diret function/Bluetooth function.
  • the near field communication link establishing module transmits a near field communication request to the second mobile terminal, and receives the second mobile terminal response.
  • the near field communication response transmitted by the near field communication request establishes a near field communication link with the second mobile terminal.
  • the wireless parameter information requesting module sends the wireless parameter information for acquiring the second mobile terminal to the second mobile terminal by using the near field communication link.
  • the wireless parameter information receiving module receives, via the near field communication link, wireless parameter information including AP information that is sent by the second mobile terminal in response to the request.
  • the wireless local area network establishing module wirelessly connects the AP of the second mobile terminal by using wireless parameter information including AP information, thereby establishing a wireless local area network, and transmitting data by using the established wireless local area network.
  • the WLAN establishing module may include an information parsing sub-module and a connection establishing sub-module.
  • the information parsing sub-module parses the wireless parameter information sent by the second mobile terminal in response to the request, and obtains the AP information.
  • the connection establishment sub-module searches for the AP, and matches the searched AP information with the saved AP information. If they are consistent, the AP of the second mobile terminal is wirelessly connected.
  • the wireless parameter information further includes a password
  • the connection establishing submodule wirelessly connects the AP of the second mobile terminal by using the password.
  • the second mobile terminal includes a wireless parameter information response module, and after receiving the request for acquiring the wireless parameter information sent by the first mobile terminal by using the near field communication link, the AP function is enabled, and the AP is generated.
  • the wireless parameter information of the information is sent to the first mobile terminal.
  • the wireless parameter information may also include a password for the first mobile terminal to wirelessly connect thereto using the password.
  • the two mobile terminals included in the embodiment of the present invention have FC, WIFI (or Bluetooth/WIFI Direct) hardware and software. The whole process only needs one mobile terminal close to another mobile terminal to the communication range required by FC technology.
  • the built-in software in the mobile terminal can automatically complete FC connection, WIFI information (or Bluetooth information/WIFI Direct information, etc.) interaction, WIFI master-slave Relationship configuration (or Bluetooth pairing/WIFI authentication;), WLAN setup, file transfer, etc., easy to use.
  • WIFI information or Bluetooth information/WIFI Direct information, etc.
  • WIFI master-slave Relationship configuration or Bluetooth pairing/WIFI authentication;
  • WLAN setup file transfer, etc.
  • the technical solution provided by the embodiment of the present invention combines the advantages of several wireless communication technologies, and plays a subtle role in different stages of the establishment of the near-field file transmission channel, thereby improving the automation degree of the connection and the data transmission efficiency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种基于近场通信建立无线局域网的方法及装置,涉及移动通信领域,该方法包括:第一移动终端与第二移动终端建立近场通信链路;第一移动终端利用所述近场通信链路向第二移动终端发送用来获取第二移动终端的无线参数信息的请求;第一移动终端经由所述近场通信链路接收第二移动终端响应所述请求而发送的包含AP信息的无线参数信息;第一移动终端利用包含AP信息的无线参数信息无线连接所述第二移动终端的AP,由此建立无线局域网,并利用所建立的无线局域网传输数据。本发明实现无线局域网的自动创建,解决了传统创建无线局域网流程复杂、易用性差或传输效率低的问题。

Description

基于近场通信建立无线局域网的方法及装置 技术领域 本发明涉及移动通信领域, 特别涉及一种基于近场通信建立无线局域网的方法及 相关装置。 背景技术 随着移动智能设备的普及, 设备间近距离便捷的分享、传输文件的需求日益增加。 需要通过近场无线的方式, 便捷的建立起文件分享的渠道。 移动智能设备用户, 不仅 看重两台手机间建立连接的便捷性, 同时对设备间传输文件的效率也越来越关注。 在 各种近场通信方式中, WIFI热点方式以其传输速度和通信范围略占优势。 然而, 组建此类无线局域网需要用户具备基本的技术知识, 例如, 在 WIFI局域 网中需要用户间协调并明确作为接入点 (Access Point, AP)的终端及为普通的无线接入 终端 (Client), 而这种专业知识和复杂操作的要求给此类应用的推广带来了障碍。 手机终端在近场通讯能力方面的用户体验效果往往不佳, 其根本原因在于, 手机 终端的近场通讯能力易用性较差, 对于普通用户而言, 对诸如 WIFI接入鉴权、 BT配 对的流程并不熟悉, 特别是使用过程中涉及的各种交互数据更是难以理解。 比如 WIFI 热点、 WiFi Direct分享渠道, 需要用户具备基本的技术知识, 对其原理有一定的理解, 用户间需要协调做 AP端的终端及做 Client端的终端, 从而对用户造成了潜在的门槛, 给此类应用的推广带来了障碍。 而其他传统分享的渠道, 如蓝牙, 传输效率较慢, 无法满足用户对设备间快速分 享文件的需求。 对于近场通信 (Near Field Communication, NFC) 点对点 (Point to Point, P2P) 通讯渠道, 现有技术是采用单向传输方式。 发送方向接收方传输数据后, 无任何反馈 信息, 发送方无法得知数据发送何时结束, 接收方是否成功接收数据, 是否需要重发; 接收方无法同步响应并立即反向传输信息。 从而可能造成信息丢失、 需要多次建立通 讯连接、以及双向通讯失败等问题。因此, WIFI 鉴权的复杂度与 BT配对的时间耗费, 以及 FC的单向通信模式极大的降低了用户体验效果。 发明内容 本发明的目的在于提供一种基于近场通信建立无线局域网的方法及装置, 以解决 传统创建无线局域网流程复杂、 易用性差或传输速率低下问题。 根据本发明的一个方面,提供了一种基于近场通信建立无线局域网的方法,包括: 第一移动终端与第二移动终端建立近场通信链路; 第一移动终端利用所述近场通信链 路向第二移动终端发送用来获取第二移动终端的无线参数信息的请求; 第一移动终端 经由所述近场通信链路接收第二移动终端响应所述请求而发送的包含 AP信息的无线 参数信息; 第一移动终端利用包含 AP信息的无线参数信息无线连接所述第二移动终 端的 AP, 由此建立无线局域网, 并利用所建立的无线局域网传输数据。 可选地, 所述的第一移动终端与第二移动终端建立近场通信链路的步骤包括: 当 第一移动终端接近第二移动终端并到达第二移动终端的近场通信范围时, 第一移动终 端向第二移动终端发送近场通信请求; 第一移动终端接收第二移动终端响应所述近场 通信请求而发送的近场通信响应, 从而建立与第二移动终端间的近场通信链路。 可选地, 该方法还包括: 第二移动终端利用所述近场通信链路收到第一移动终端 发送的用来获取第二移动终端的无线参数信息的请求后, 开启第二移动终端的接入点 功能, 并生成无线参数信息, 发送至第一移动终端。 可选地, 所述的第一移动终端利用包含 AP信息的无线参数信息无线连接所述第 二移动终端的 AP的步骤包括: 第一移动终端解析第二移动终端响应所述请求而发送 的无线参数信息, 得到 AP信息并保存; 第一移动终端搜索 AP, 并将搜索到的 AP信 息与所保存 AP信息进行匹配, 若一致, 则无线连接所述第二移动终端的 AP。 可选地, 所述无线参数信息还包括密码, 所述第一移动终端利用所述密码无线连 接所述第二移动终端的 AP。 可选地, 在所述的第一移动终端与第二移动终端建立近场通信链路的步骤之前, 还包括第一移动终端关闭第一移动终端的接入点功能的步骤。 根据本发明的另一方面, 提供了一种基于近场通信建立无线局域网的装置包括: 近场通信链路建立模块, 设置为建立第一移动终端与第二移动终端的近场通信链路; 无线参数信息请求模块, 设置为利用所述近场通信链路向第二移动终端发送用来获取 第二移动终端的无线参数信息的请求; 无线参数信息接收模块, 设置为经由所述近场 通信链路接收第二移动终端响应所述请求而发送的包含 AP信息的无线参数信息; 无 线局域网建立模块, 设置为利用包含 AP信息的无线参数信息无线连接所述第二移动 终端的 AP, 由此建立无线局域网, 并利用所建立的无线局域网传输数据。 可选地, 该装置还包括: 无线参数信息响应模块, 设置为利用所述近场通信链路 收到第一移动终端发送的用来获取第二终端的无线参数信息的请求后, 开启第二终端 的接入点功能, 并生成无线参数信息, 发送至第一移动终端。 可选地, 所述无线局域网建立模块步骤包括: 信息解析子模块, 设置为解析第二 移动终端响应所述请求而发送的无线参数信息, 得到 AP信息并保存; 连接建立子模 块, 设置为搜索 AP, 并将搜索到的 AP信息与所保存 AP信息进行匹配, 若一致, 则 无线连接所述第二移动终端的 AP。 可选地, 所述无线参数信息还包括密码, 所述连接建立子模块利用所述密码无线 连接所述第二移动终端的 AP。 与现有技术相比较, 本发明的有益效果在于: 本发明能够快速自动地创建无线局 域网, 流程简单、 易用, 数据传输速率更快, 大大提高了用户体验效果。 附图说明 图 1是本发明实施例提供的基于近场通信建立无线局域网的方法流程图; 图 2是本发明实施例提供的移动设备上基于 FC、 WIFI热点等近场无线技术进 行近场文件传输的流程图。 具体实施方式 以下结合附图对本发明的优选实施例进行详细说明, 应当理解, 以下所说明的优 选实施例仅用于说明和解释本发明, 并不用于限定本发明。 图 1是本发明实施例提供的基于近场通信建立无线局域网的方法流程图, 如图 1 所示, 该方法包括以下步骤 (步骤 101-步骤 104)。 步骤 101 : 第一移动终端与第二移动终端建立近场通信链路。 可选地, 第一移动终端可以在接近第二移动终端并到达第二移动终端的近场通信 范围时, 向第二移动终端发送近场通信请求;第二移动终端收到所述近场通信请求后, 生成用于响应所述近场通信请求的近场通信响应, 并发送至第一移动终端; 第一移动 终端接收所述近场通信响应, 从而第一移动终端与第二移动终端建立近场通信链路。 可选地, 在执行所述步骤 101前, 第一移动终端可以开启其近场通信功能, 关闭 其接入点功能, 并开启其 WIFI功能、 WIFI Direct功能、 蓝牙功能等无线功能中的至 少一个。 步骤 102: 第一移动终端利用所述近场通信链路向第二移动终端发送用来获取第 二移动终端的无线参数信息的请求。 可选地, 第一移动终端利用所述近场通信链路向第二移动终端发送用来获取第二 移动终端的无线参数信息的请求后, 第二移动终端利用所述近场通信链路接收所述用 来获取第二移动终端的无线参数信息的请求, 然后, 开启其接入点功能, 并生成包含 AP信息的无线参数信息, 发送至第一移动终端。 步骤 103 : 第一移动终端经由所述近场通信链路接收第二移动终端响应所述请求 而发送的包含 AP信息的无线参数信息。 可选地, 第一移动终端在接收到第二移动终端发送的包含 AP信息的无线参数信 息后, 首先, 第一移动终端解析第二移动终端响应所述请求而发送的无线参数信息, 得到 AP信息并保存, 然后, 搜索 AP, 并将搜索到的 AP信息与所保存 AP信息进行 匹配, 若一致, 则无线连接所述第二移动终端的 AP。 进一步地, 所述无线参数信息还 包括密码, 所述第一移动终端利用所述密码无线连接所述第二移动终端的 AP。 步骤 104:第一移动终端利用包含 AP信息的无线参数信息无线连接所述第二移动 终端的 AP, 由此建立无线局域网, 并利用所建立的无线局域网传输数据。 本发明实施例基于 FC和其他近场无线技术, 能够快速、 自动地建立文件传输通 道。 图 2是本发明实施例提供的移动终端上基于 FC、 WIFI热点等近场无线技术进 行近场文件传输的流程图, 如图 2所示, 包括具有 FC和 WIFI功能的 2个移动终端 A和 B,基于近场无线技术进行近场文件传输主要包括以下步骤(步骤 201-步骤 212)。 步骤 201 : 移动终端 A选择待发送文件, 此时, 移动终端 A自动开启 FC功能, 同时关闭 AP功能, 打开 WIFI功能, 移动终端 A靠近移动终端 B的指定 FC通讯位 置,满足 FC通讯建立指定的距离范围,向移动终端 B发送 FC请求,请求建立 FC 通信连接。 步骤 202:移动终端 B响应移动终端 A,移动终端 A和 B建立 FC P2P通讯连接, 作为双方的数据交互通道。 步骤 203 : 移动终端 A对带外数据 (Out-of-Band, OOB ) 进行打包处理, 所述
OOB数据中包含用来获取移动终端 B的无线参数信息的请求, 其中, 在本实施例中, 所述无线参数信息为 WIFI信息。 步骤 204: 移动终端 A向移动终端 B发送 OOB数据, 以获取对方 WIFI信息。 步骤 205: 移动终端 B接收和解析移动终端 A发来的 OOB数据。 步骤 206:移动终端 B识别出所述 OOB数据是用于请求获取其无线参数信息的数 检测其自身是否是 AP, 若不是, 则开启其 AP功能。 步骤 207: 移动终端 B将其自身的 WIFI OOB数据通过 handover协议标准进行打 其中, 所述 WIFI OOB数据包含 WIFI信息。 步骤 208: 移动终端 B向移动终端 A发送打包后的 WIFI OOB数据。 进一步地, 当 WIFI OOB数据传输完成后, 通过声音进行提示, 使收发双方及时 了解数据传输是否结束。 例如, 当听到滴的一声提示音后, 表示数据发送完成, 此时, 移动终端 A可远离移动终端 B。 步骤 209: 移动终端 A接收并解析移动终端 B发来的打包后的 WIFI OOB数据, 得到移动终端 B的 WIFI信息并保存,所述 WIFI信息包括移动终端 B的 AP信息和密 码, 进一步地, 所述 AP信息可以是移动终端 B的 AP名字。 步骤 210: 移动终端 A开始搜索 AP, 对比搜索到的 AP名字与在前保存的 AP名 字是否相符, 相符则使用保存的密码连接该 AP, 即移动终端 A利用所述密码无线连 接移动终端 B的 AP。 在执行所述步骤 204至步骤 210的过程中, 首先采用 FC P2P技术进行收发双方 的无线参数信息的交换, 从而利用这些无线参数信息通过软件实现自动创建无线局域 网, 解决传统创建无线局域网流程复杂、 易用性差或传输速率底下的问题。 本实施例 以 WIFI为例, 所述无线参数信息是 WIFI信息。 此外, 还可以使用 WIFI Direct功能, 此时所述无线参数信息是 WIFI Direct信息, 所述 WIFI Direct信息包括 AP信息 (可 以是 AP名字) 和密码等; 或者使用蓝牙功能, 此时所述无线参数信息是蓝牙信息, 所述蓝牙信息包括 AP信息 (可以是 AP名字) 和密码等。 步骤 211 : 移动终端 A和移动终端 B建立连接, 连接过程可能需要几秒到十几秒 不等, 连接完成后作为 Client的移动终端 A会收到连接 AP成功的消息, 移动终端 A 接入作为热点的移动终端 B, 形成 WIFI局域网。 步骤 212: 移动终端 A通过 WIFI局域网向移动终端 B发送文件, 流程结束。 发起方移动终端和接收方移动终端在确定双方 WIFI主从关系时, 无需用户进行 复杂的搜索、创建、连接等操作, 可自行通过上述技术方案实现 WIFI局域网的 AP和 Client配置并自动连接, 连接过程简单、 易用、 快速, 提高了用户体验。 本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相 关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读存储器、 磁盘或光 盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现, 相应地, 上述实施例中的各模块 /单元可以采用硬件的形式实现, 也可以采用软件功能 模块的形式实现。 本发明不限制于任何特定形式的硬件和软件的结合。 与上述方法对应, 本发明实施例还提供了一种基于近场通信建立无线局域网的装 置包括: 近场通信链路建立模块, 设置为建立第一移动终端与第二移动终端的近场通 信链路; 无线参数信息请求模块, 设置为利用所述近场通信链路向第二移动终端发送 用来获取第二移动终端的无线参数信息的请求; 无线参数信息接收模块, 设置为经由 所述近场通信链路接收第二移动终端响应所述请求而发送的包含 AP信息的无线参数 信息; 无线局域网建立模块, 设置为利用包含 AP信息的无线参数信息无线连接所述 第二移动终端的 AP, 由此建立无线局域网, 并利用所建立的无线局域网传输数据。 可选地, 该装置还可以包括: 无线参数信息响应模块, 设置为利用所述近场通信 链路收到第一移动终端发送的用来获取第二终端的无线参数信息的请求后, 开启第二 终端的接入点功能, 并生成无线参数信息, 发送至第一移动终端。 可选地, 所述无线局域网建立模块步骤可以包括: 信息解析子模块, 设置为解析 第二移动终端响应所述请求而发送的无线参数信息, 得到 AP信息并保存; 连接建立 子模块, 设置为搜索 AP, 并将搜索到的 AP信息与所保存 AP信息进行匹配, 若一致, 则无线连接所述第二移动终端的 AP。 可选地, 所述无线参数信息还可以包括密码, 则所述连接建立子模块利用所述密 码无线连接所述第二移动终端的 AP。 本发明实施例提供的上述装置包括作为发送方的第一移动终端和作为接收方的第 二移动终端。 其中, 所述第一移动终端包括近场通信链路建立模块、 无线参数信息请 求模块、 无线参数信息接收模块和无线局域网建立模块。 第一移动终端选择待发送文 件,此时,第一移动终端自动开启 FC功能,同时关闭 AP功能,打开 WIFI功能/ WIFI Diret功能 /蓝牙功能等。随着第一移动终端接近第二移动终端并到达第二移动终端的近 场通信范围, 所述近场通信链路建立模块向第二移动终端发送近场通信请求, 并接收 第二移动终端响应所述近场通信请求而发送的近场通信响应, 从而建立与第二移动终 端间的近场通信链路。 在建立第一移动终端与第二移动终端的近场通信链路后, 所述 无线参数信息请求模块利用所述近场通信链路向第二移动终端发送用来获取第二移动 终端无线参数信息的请求, 然后所述无线参数信息接收模块经由所述近场通信链路接 收第二移动终端响应所述请求而发送的包含 AP信息的无线参数信息。 最后所述无线 局域网建立模块利用包含 AP信息的无线参数信息无线连接所述第二移动终端的 AP, 由此建立无线局域网, 并利用所建立的无线局域网传输数据。 具体地说, 所述无线局 域网建立模块可以包括信息解析子模块和连接建立子模块, 首先, 所述信息解析子模 块解析第二移动终端响应所述请求而发送的无线参数信息, 得到 AP信息并保存, 然 后,所述连接建立子模块搜索 AP,并将搜索到的 AP信息与所保存 AP信息进行匹配, 若一致, 则无线连接所述第二移动终端的 AP。进一步地, 所述无线参数信息还包括密 码, 所述连接建立子模块利用所述密码无线连接所述第二移动终端的 AP。 所述第二移动终端包括无线参数信息响应模块, 其利用所述近场通信链路收到第 一移动终端发送的用来获取其无线参数信息的请求后, 开启其 AP功能, 并生成包含 AP信息的无线参数信息, 发送至第一移动终端。 所述无线参数信息还可以包含密码, 以便第一移动终端利用所述密码与其无线连接。 本发明实施例包括的两个移动终端上具有 FC、 WIFI (或蓝牙/ WIFI Direct)硬件和 软件。整个过程只需要一个移动终端靠近另一个移动终端到 FC技术要求的通信范围 内, 移动终端内内置软件即可自动完成 FC 连接、 WIFI 信息 (或者蓝牙信息/ WIFI Direct信息等) 交互、 WIFI主从关系配置 (或蓝牙配对 /WIFI鉴权;)、 无线局域网建立、 文件传输等工作, 简单易用。 综上所述,本发明实施例提供的技术方案, 融合了几种无线通信技术各自的优势, 在近场文件传输通道建立的不同阶段巧妙地发挥作用, 提高了连接的自动化程度和数 据传输效率。 尽管上文对本发明进行了详细说明, 但是本发明不限于此, 本技术领域技术人员 可以根据本发明的原理进行各种修改。 因此, 凡按照本发明原理所作的修改, 都应当 理解为落入本发明的保护范围。 工业实用, I·生 本发明实施例, 终端在需要向另一个终端传输数据时, 通过与另一个终端之间的 近场通信链路, 创建两个终端间的无线局域网, 通过该无线局域网进行数据传输。 因 此, 能够快速自动地创建无线局域网, 流程简单、 易用, 数据传输速率更快, 大大提 高了用户体验效果。 因此, 具有工业实用性。

Claims

权 利 要 求 书 、 一种基于近场通信建立无线局域网的方法, 包括: 第一移动终端与第二移动终端建立近场通信链路;
所述第一移动终端利用所述近场通信链路向所述第二移动终端发送用来获 取所述第二移动终端的无线参数信息的请求; 所述第一移动终端经由所述近场通信链路接收所述第二移动终端响应所述 请求而发送的包含接入点 AP) 信息的无线参数信息; 所述第一移动终端利用包含 AP信息的所述无线参数信息无线连接所述第 二移动终端的 AP, 由此建立无线局域网, 并利用所建立的无线局域网传输数 据。 、 根据权利要求 1所述的方法, 其中, 所述的第一移动终端与第二移动终端建立 近场通信链路的步骤包括: 所述第一移动终端接近所述第二移动终端并到达所述第二移动终端的近场 通信范围时, 所述第一移动终端向所述第二移动终端发送近场通信请求; 接收所述第二移动终端响应所述近场通信请求而发送的近场通信响应, 从 而建立与所述第二移动终端间的近场通信链路。 、 根据权利要求 2所述的方法, 其中, 还包括: 第二移动终端利用所述近场通信链路收到所述第一移动终端发送的用来获 取所述第二移动终端的无线参数信息的请求后, 开启所述第二移动终端的其接 入点功能, 并生成所述无线参数信息, 发送至所述第一移动终端。 、 根据权利要求 1-3任意一项所述的方法, 其中, 所述的第一移动终端利用包含 AP信息的无线参数信息无线连接所述第二移动终端的 AP的步骤包括: 所述第一移动终端解析所述第二移动终端响应所述请求而发送的无线参数 信息, 得到 AP信息并保存; 所述第一移动终端搜索 AP, 并将搜索到的 AP信息与保存的所述 AP信息 进行匹配, 若一致, 则无线连接所述第二移动终端的 AP。 、 根据权利要求 4所述的方法, 其中, 所述无线参数信息还包括密码, 所述第一 移动终端利用所述密码无线连接所述第二移动终端的 AP。 、 根据权利要求 5所述的方法, 其中, 在所述的第一移动终端与第二移动终端建 立近场通信链路的步骤之前, 还包括第一移动终端关闭其接入点功能的步骤。 、 一种基于近场通信建立无线局域网的装置, 其中, 包括: 近场通信链路建立模块, 设置为建立第一移动终端与第二移动终端的近场 通信链路;
无线参数信息请求模块, 设置为利用所述近场通信链路向所述第二移动终 端发送用来获取所述第二移动终端的无线参数信息的请求; 无线参数信息接收模块, 设置为经由所述近场通信链路接收所述第二移动 终端响应所述请求而发送的包含接入点 AP信息的无线参数信息;
无线局域网建立模块, 设置为利用所述包含 AP信息的无线参数信息无线 连接所述第二移动终端的 AP, 由此建立无线局域网, 并利用所建立的无线局 域网传输数据。 、 根据权利要求 7所述的装置, 其中, 还包括: 无线参数信息响应模块, 设置为利用所述近场通信链路收到第一移动终端 发送的用来获取所述第二移动终端的无线参数信息的请求后, 开启所述第二移 动终端的接入点功能, 并生成所述无线参数信息, 发送至第一移动终端。 、 根据权利要求 7或 8所述的装置, 其中, 所述无线局域网建立模块步骤包括: 信息解析子模块, 设置为解析第二移动终端响应所述请求而发送的所述无 线参数信息, 得到 AP信息并保存;
连接建立子模块, 设置为搜索 AP, 并将搜索到的 AP信息与保存的所述 AP信息进行匹配, 若一致, 则无线连接所述第二移动终端的 AP。 0、 根据权利要求 9所述的装置, 其中, 所述无线参数信息还包括密码, 所述连接 建立子模块利用所述密码无线连接所述第二移动终端的 AP。
PCT/CN2014/077814 2013-11-18 2014-05-19 基于近场通信建立无线局域网的方法及装置 WO2015070580A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310576282.5A CN104661230A (zh) 2013-11-18 2013-11-18 一种基于近场通信建立无线局域网的方法及装置
CN201310576282.5 2013-11-18

Publications (1)

Publication Number Publication Date
WO2015070580A1 true WO2015070580A1 (zh) 2015-05-21

Family

ID=53056704

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/077814 WO2015070580A1 (zh) 2013-11-18 2014-05-19 基于近场通信建立无线局域网的方法及装置

Country Status (2)

Country Link
CN (1) CN104661230A (zh)
WO (1) WO2015070580A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017219657A1 (zh) * 2016-06-21 2017-12-28 中兴通讯股份有限公司 一种无线直连建立方法、装置和系统
CN112291757A (zh) * 2020-10-10 2021-01-29 深圳市锐尔觅移动通信有限公司 数据传输方法、装置、存储介质及电子设备

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106358139A (zh) * 2015-07-16 2017-01-25 群光电子股份有限公司 通讯系统
CN106454819A (zh) * 2015-08-11 2017-02-22 中兴通讯股份有限公司 Wifi热点的接入方法及装置
WO2017024585A1 (zh) * 2015-08-13 2017-02-16 国民技术股份有限公司 一种终端及无线通信方法
CN105407450A (zh) * 2015-10-21 2016-03-16 珠海奔图电子有限公司 智能设备、电子装置及基于近场通信的网络连接方法
CN105338529B (zh) * 2015-11-18 2020-06-23 Tcl科技集团股份有限公司 一种无线网络连接方法及系统
WO2017096513A1 (en) * 2015-12-07 2017-06-15 Motorola Solutions, Inc. Method and apparatus for establishing a secure wireless connection for a provisioning of configuration information
WO2018045561A1 (zh) * 2016-09-09 2018-03-15 华为技术有限公司 一种文件的发送方法、接收方法及终端
CN106507287A (zh) * 2016-11-23 2017-03-15 北京小米移动软件有限公司 无线装置控制方法及装置
CN106792494A (zh) * 2017-03-28 2017-05-31 深圳广世创科技有限公司 无线连接方法和无线系统
CN107968994A (zh) * 2017-11-29 2018-04-27 北京小米移动软件有限公司 局域网的建立方法、装置及系统
CN112866961A (zh) * 2019-11-12 2021-05-28 上海博泰悦臻电子设备制造有限公司 一种共享网络的方法、装置及计算机存储介质
CN111246592A (zh) * 2020-01-15 2020-06-05 广东小天才科技有限公司 一种数据共享的实现方法、数据发送端和数据接收端
CN113329373A (zh) * 2021-06-08 2021-08-31 阿波罗智联(北京)科技有限公司 车机互联方法和装置
CN113660733A (zh) * 2021-09-26 2021-11-16 西安酷赛科技有限公司 一种基于位置信息的无线通信方法及其无线通信系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769482A (zh) * 2011-05-03 2012-11-07 中兴通讯股份有限公司 基于nfc技术链接目标wlan设备的方法、设备、装置及系统
CN102843687A (zh) * 2012-09-18 2012-12-26 惠州Tcl移动通信有限公司 智能手机便携式热点安全接入的方法及系统
CN103096506A (zh) * 2013-01-07 2013-05-08 东莞宇龙通信科技有限公司 终端设备、wifi连接方法及系统
US20130237148A1 (en) * 2012-03-12 2013-09-12 Research In Motion Limited Wireless local area network hotspot registration using near field communications

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103200567A (zh) * 2012-01-05 2013-07-10 中兴通讯股份有限公司 WiFi接入的方法和系统
CN103281759A (zh) * 2013-05-28 2013-09-04 北京推博信息技术有限公司 Wifi网络接入方法、装置、电子设备及通信系统
CN103281752A (zh) * 2013-05-28 2013-09-04 北京推博信息技术有限公司 Wifi网络接入方法、装置、电子设备及通信系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102769482A (zh) * 2011-05-03 2012-11-07 中兴通讯股份有限公司 基于nfc技术链接目标wlan设备的方法、设备、装置及系统
US20130237148A1 (en) * 2012-03-12 2013-09-12 Research In Motion Limited Wireless local area network hotspot registration using near field communications
CN102843687A (zh) * 2012-09-18 2012-12-26 惠州Tcl移动通信有限公司 智能手机便携式热点安全接入的方法及系统
CN103096506A (zh) * 2013-01-07 2013-05-08 东莞宇龙通信科技有限公司 终端设备、wifi连接方法及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017219657A1 (zh) * 2016-06-21 2017-12-28 中兴通讯股份有限公司 一种无线直连建立方法、装置和系统
CN112291757A (zh) * 2020-10-10 2021-01-29 深圳市锐尔觅移动通信有限公司 数据传输方法、装置、存储介质及电子设备

Also Published As

Publication number Publication date
CN104661230A (zh) 2015-05-27

Similar Documents

Publication Publication Date Title
WO2015070580A1 (zh) 基于近场通信建立无线局域网的方法及装置
EP3253080B1 (en) Data sharing method and system
JP6110507B2 (ja) ワイファイダイレクトサービスシステムにおいて通信設定方法及びそのための装置
TWI617919B (zh) 用於促進無線對接系統中的直接配對的設備和方法
WO2013104153A1 (zh) 一种蓝牙设备快速配对的方法及蓝牙设备
KR101830940B1 (ko) Wifi 설정 포팅
WO2015139179A1 (zh) 一种终端间同步内容的方法和终端
WO2013143352A1 (zh) 无线网络连接的建立方法及终端设备
CN102201846B (zh) 基于soft AP技术的无线数据传输系统及其方法
WO2013033999A1 (zh) 用于移动设备点对点数据传输的方法和装置
JP2017502554A (ja) 超音波通信を使用した高速サービス発見およびペアリング
WO2014047853A1 (zh) 一种蓝牙设备之间连接的方法及设备
WO2014183404A1 (zh) 数据传输方法、装置及系统、终端
WO2013086993A1 (zh) 终端之间传输数据的方法和终端
WO2014205969A1 (zh) 一种建立数据连接的方法、装置及系统
WO2014036957A1 (zh) 设备间共享内容的方法、设备及系统
WO2011017931A1 (zh) 一种蓝牙移动终端及其配对绑定的方法
WO2015188458A1 (zh) 文件传输方法、装置及系统
WO2022143071A1 (zh) 连接建立方法及电子设备
EP3080704A1 (en) Automatic internet sharing
WO2014110855A1 (zh) 一种数据传输的方法及终端
CN108616847B (zh) 一种蓝牙链接方法、装置及蓝牙设备
CN102612033B (zh) 具有瘦无线接入点功能的手机以及其通信方法
WO2016029772A1 (zh) 一种通信方法及设备
TW201438498A (zh) 無線網路系統及其連線方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14862366

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14862366

Country of ref document: EP

Kind code of ref document: A1