WO2013143433A1 - 一种无线数据共享的方法及实现共享的终端 - Google Patents

一种无线数据共享的方法及实现共享的终端 Download PDF

Info

Publication number
WO2013143433A1
WO2013143433A1 PCT/CN2013/073144 CN2013073144W WO2013143433A1 WO 2013143433 A1 WO2013143433 A1 WO 2013143433A1 CN 2013073144 W CN2013073144 W CN 2013073144W WO 2013143433 A1 WO2013143433 A1 WO 2013143433A1
Authority
WO
WIPO (PCT)
Prior art keywords
target terminal
terminal
connection
beacon frame
network address
Prior art date
Application number
PCT/CN2013/073144
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 WO2013143433A1 publication Critical patent/WO2013143433A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method for wireless data sharing and a terminal for implementing sharing. Background technique
  • the smart mobile terminals currently using the Android (Android) system are becoming more and more popular, and the need to share files or data between users using smart terminals is becoming more and more obvious.
  • Traditional mobile terminal data sharing methods include: SD card (Secure Digital Memory Card) or Bluetooth transmission.
  • the SD card When using an SD card for data sharing, the SD card needs to be unplugged from the terminal providing the data and then installed on the terminal that needs data.
  • the terminal that needs the data can read the data in the SD card to achieve data sharing.
  • this method of data sharing is inconvenient to operate, and it takes a lot of operations to complete the data sharing of the SD card; and, the manner of such data sharing must also utilize the memory of the terminal itself.
  • the terminal providing the data may need to store the data in the SD card first, and the terminal receiving the data needs to store the data on the SD card to its own memory, and then After the SD card is unplugged, the original SD card is inserted, and if necessary, the data stored in its own memory is stored in its original SD card.
  • Such a data sharing method requires too many operations and also requires the memory of the terminal itself, which is very inconvenient.
  • Bluetooth transfer mode avoids the many operations required to use the SD card for data sharing. Simply open the Bluetooth device, find the other device and select the file you want to transfer, then transfer it to complete the data sharing.
  • speed of Bluetooth transmission is an important drawback of Bluetooth transmission.
  • the data that needs to be shared between the terminals is not limited to only small-capacity text files, but also includes large-capacity music files and even video files. If Bluetooth transmission is used, it may take a very long time to transfer the data. Summary of the invention
  • the present invention provides a wireless data sharing method, which applies an ad-hoc transmission mode of the 802.11 protocol to data sharing between a terminal and a terminal to provide high-speed data sharing between the terminal and the terminal.
  • the method includes: Determining whether the target terminal is working in a point-to-point ad-hoc mode according to the received working mode information included in the beacon frame broadcasted by the target terminal;
  • the target terminal When it is determined that the target terminal is working in the peer-to-peer ad-hoc mode, the target terminal establishes a connection through a negotiation handshake mechanism, and obtains a network address of the target terminal and the target terminal through the established connection, thereby implementing data sharing.
  • the present invention also provides a terminal corresponding to the foregoing sharing method, and the terminal includes:
  • a detecting module configured to receive a beacon frame broadcast by the target terminal; and, according to the received working mode information included in the beacon frame, determine whether the target terminal is working in a point-to-point ad-hoc mode;
  • a WIFI module configured to: when the detecting module determines that the target terminal is working in a peer-to-peer ad-hoc mode, establish a connection with the target terminal by using a negotiation handshake mechanism, and obtain a network address of the target terminal and the target terminal through the established connection. , to achieve data sharing.
  • the present invention further has another method for sharing a response terminal, the method comprising:
  • beacon frame including self working mode information
  • the target terminal When the target terminal determines to work in the ad-hoc mode, the target terminal establishes a connection through a negotiation handshake mechanism, and allocates a network address to the target terminal for itself and through the established connection, thereby implementing data sharing.
  • terminal corresponding to the above method, the terminal comprising:
  • a beacon frame broadcast module configured to broadcast a beacon frame, where the beacon frame includes self working mode information.
  • the WIFI module is configured to establish a connection with the another terminal by using a negotiation handshake mechanism when the target terminal determines to work in the ad-hoc mode, and allocate a network address to the target terminal for the self and the established connection to implement data. shared.
  • the wireless data sharing method provided by the invention implements a point-to-point connection based on the 802.11 protocol between the terminal and the terminal, and realizes mutual access through the network address. Since the network transmission speed based on the 802.11 protocol is several times that of Bluetooth transmission, the technical solution provided by the present invention can improve the speed of data access. At the same time, using ad-hoc mode can directly establish the connection between the two terminals to avoid introducing third-party devices and saving the cost of connection establishment.
  • FIG. 1 is a flowchart of a method for detecting a terminal according to an embodiment of the present invention
  • FIG. 2 is a flowchart of detecting a terminal establishing a connection according to an embodiment of the present invention
  • FIG. 3 is a flowchart of detecting a terminal acquiring a network address according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a detection terminal according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for detecting a terminal according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of establishing a connection of a detected terminal according to an embodiment of the present invention
  • FIG. 7 is a flowchart of acquiring a network address by a detected terminal according to an embodiment of the present invention
  • FIG. 8 is a schematic structural diagram of a detected terminal according to an embodiment of the present invention. detailed description
  • the present invention provides a method for wireless data sharing, which establishes a terminal based on the 802.11 protocol. Network connection between terminals to achieve data sharing between terminals.
  • the method for establishing a connection between terminals in this embodiment includes:
  • Step S101 Receive a beacon frame broadcast by the target terminal.
  • the terminal intentionally needs to establish a connection in the ad-hoc mode with the target terminal, it is first necessary to judge whether the target terminal is not working in this mode. To determine whether the target terminal is operating in ad-hoc mode, it needs to first receive the beacon frame of the target terminal. Because the beacon frame broadcast by the terminal will contain information of its own working mode.
  • Step S102 Determine, according to the received working mode information included in the beacon frame, whether the target terminal is working in a point-to-point ad-hoc mode; if it is determined that the target terminal is working in a point-to-point ad-hoc mode, proceed to step S. 103.
  • the beacon frame broadcasted by itself will include information identifying the mode in which it is in the ad-hoc mode.
  • the detecting terminal receives the beacon frame broadcast by the detected terminal, and extracts the working mode information therefrom, and when acquiring the information of the mode of the ad-hoc in the beacon frame broadcast by the detected terminal, it can be determined that the detected terminal is working. In the ad-hoc mode.
  • Step S103 Establish a connection by using a negotiation handshake mechanism with the terminal that is detected to be operating in the ad-hoc mode.
  • a negotiation handshake mechanism To establish a connection in ad-hoc mode, both terminals need to support the ad-hoc mode under the 802.11 protocol. Therefore, it is detected that the terminal that needs to establish a connection also works in the ad-hoc mode, and the connection between the terminal that initiates the detection and the terminal that is detected to operate in the ad-hoc mode can be established through the negotiation handshake mechanism.
  • the terminal that initiates the detection in this embodiment targets the detected terminal as the target terminal.
  • the negotiation handshake mechanism is a way for two terminals that need to establish a connection to establish a connection by establishing a message through a mutual connection.
  • the method for establishing a connection by using the negotiation handshake mechanism in this embodiment is as shown in FIG. 2, including: Step S1031: The terminal that initiates detection initiates authentication to the target terminal that is detected to be operating in the ad-hoc mode. Request message. The terminal that initiates the detection sends an authentication request message to the terminal that is detected to be operating in the ad-hoc mode, and starts connection establishment between the terminals.
  • Step S1032 After receiving the authentication response message sent by the target terminal operating in the ad-hoc mode, the terminal that initiates the detection sends a connection request message to the terminal that is detected to be operating in the ad-hoc mode.
  • the target terminal that is detected to operate in the ad-hoc mode feeds back the authentication response message.
  • the connection request message is sent to the terminal that is detected to be operating in the ad-hoc mode.
  • Step S1033 The terminal that initiates the detection receives the connection response message sent by the target terminal that is detected to operate in the ad-hoc mode, and establishes a connection.
  • the terminal that initiated the detection When the terminal that initiated the detection finally receives the connection response message sent by the target terminal operating in the ad-hoc mode, it determines that the connection to the target terminal that is detected to operate in the ad-hoc mode is successfully established.
  • Step S104 Obtain a network address of the user and the target terminal through the established connection.
  • the method in this embodiment is an ad-hoc mode connection established based on the 802.11 protocol. Therefore, the terminals in the connection need to have their own network addresses, and the network addresses are used to indicate that the terminals in the connection access each other.
  • the target terminal that is detected to work in the ad-hoc mode receives the connection establishment request sent by the terminal that initiated the detection, it is detected that the target terminal operating in the ad-hoc mode will use itself as the DHCP (Dynamic Host). Configuration Protocol, the server, assigns a network address to itself.
  • DHCP Dynamic Host
  • Configuration Protocol the server, assigns a network address to itself.
  • the method for obtaining the network address is as shown in FIG. 3, including:
  • Step S1041 The terminal that initiates the detection sends a dynamic host setup protocol DHCP request message to the target terminal that is detected to be operating in the ad-hoc mode.
  • the terminal that initiated the detection first needs to make a request to the target terminal that is detected to be operating in ad-hoc mode.
  • Step S1042 The terminal that initiates the detection receives the target DHCP response message that is detected by the terminal operating in the ad-hoc mode, where the DHCP response message includes the network address assigned by the terminal, and is detected to work in the ad.
  • the target terminal in the -hoc mode sends a confirmation network address message.
  • the target terminal working in the ad-hoc mode After receiving the request message, the target terminal working in the ad-hoc mode sends a response message, where the response message includes the network that is detected by the target terminal operating in the ad-hoc mode to the terminal that initiates the detection. address.
  • the terminal that initiates the detection After receiving the response message of the target terminal operating in the ad-hoc mode, the terminal that initiates the detection needs to be detected to work in the ad-hoc mode if it confirms that the network address is its own network address.
  • the target terminal sends a message confirming the network address.
  • Step S1043 The terminal that initiates the detection receives the acknowledgement ACK message that is detected to be the target terminal operating in the ad-hoc mode.
  • the target terminal that is detected to work in the ad-hoc mode receives the network message, it also returns an acknowledgement ACK message, and the network addresses of both terminals have been determined.
  • the network address is generally in the form of an IP address.
  • the network address can be allocated according to the TCP/IP protocol. Therefore, the network address is preferably an IP address.
  • Step S105 data sharing is achieved through the established connection and network address.
  • connection relationship between the two terminals After the connection relationship between the two terminals is established, information can be sent to each other, and each has its own network address, which can serve as an indicator. Therefore, through the established connection relationship and the network address, the file stored in the other terminal can be accessed, and the file of the other party can be read, copied, and the like. At this point, resource sharing is completed between the terminals.
  • the method in this embodiment does not need to be used continuously.
  • the method in this embodiment may not be triggered to perform. Therefore, preferably, when the trigger condition is met, the terminal receives the beacon frame broadcast by the target terminal, and starts to establish a connection. Otherwise the function can be put to sleep.
  • the method provided in this embodiment is to detect and establish a connection with a terminal in the ad-hoc mode that works in the 802.11 protocol, and to connect the 802.11 protocol in the ad-hoc mode in the ad-hoc mode operating in the 802.11 protocol. It is used in the connection between terminals to establish a point-to-point connection between terminals to achieve resource sharing between terminals.
  • the transmission based on the 802.11 protocol can be used, so that the speed of resource sharing is greatly improved.
  • establishing an ad-hoc mode connection also avoids introducing a router or other third-party device to complete data sharing.
  • the terminal device includes: a WIFI module 41 and a detection module 42.
  • the detecting module 42 is configured to receive a beacon frame broadcast by the target terminal, and determine, according to the received working mode information included in the beacon frame, whether the target terminal is working in a point-to-point ad-hoc mode.
  • the WIFI module 41 is configured to: when the detecting module determines that the target terminal is working in the peer-to-peer ad-hoc mode, establish a connection with the target terminal by using a negotiation handshake mechanism, and obtain a network of the user and the target terminal through the established connection. Address, for data sharing.
  • the beacon frame includes the identification information of the target terminal, and the WIFI module 41 is configured to: initiate an authentication request message to the target terminal; after receiving the authentication response message of the target terminal, to the target The terminal sends a connection request message; receives a connection response message sent by the target terminal, and establishes a connection.
  • the WIFI module 41 implements a network address allocation function, and the WIFI module 41 is further configured to: send a dynamic host setup protocol DHCP request message to the target terminal; after receiving the DHCP response message sent by the target terminal, The DHCP response message includes a network address assigned by the target terminal, and sends an acknowledgement network address message to the terminal; and receives an acknowledgement ACK message sent by the target terminal.
  • the network address is a network interconnection protocol IP address.
  • the terminal also includes:
  • the trigger unit is configured to start broadcasting a beacon frame when the trigger condition is met.
  • the terminal provided in this embodiment is in the ad-hoc mode working in the 802.11 protocol, detects and establishes a connection with a terminal in the ad-hoc mode that works in the 802.11 protocol, and connects the 802.11 protocol in the ad-hoc mode. It is used in the connection between terminals to establish a point-to-point connection between terminals to achieve resource sharing between terminals.
  • the transmission based on the 802.11 protocol can be used, so that the speed of resource sharing is greatly improved.
  • establishing an ad-hoc mode connection also avoids introducing a router or other third-party device to complete data sharing.
  • the method and corresponding device in the above embodiments are methods and devices as a party that actively establishes connections with others.
  • the method and apparatus of the detected one will be described below with reference to the accompanying drawings.
  • the terminal that is detected by the detected terminal is the target terminal.
  • the method flow of the detected terminal side is:
  • Step S501 Broadcast a beacon frame, where the beacon frame includes its own working mode information.
  • the terminal When you want to establish a connection with another terminal, the terminal itself also broadcasts a beacon frame to tell other terminals that they are working in ad-hoc mode. In fact, when the terminal needs to establish a connection, it can start broadcasting its own beacon frame to the surrounding, so that other terminals can obtain the information that they work in the ad-hoc mode, and can also search whether the surrounding beacon can be received by other terminals. Frame, to determine whether there are other terminals around also work in ad-hoc mode. However, confusion is inevitable and a selection mechanism can be provided.
  • one of the two terminals becomes a detection terminal, and the other becomes a detected terminal, that is, one beacon frame for searching whether other terminals can be broadcasted, and the other for broadcasting beacons. Frame, so that when the two terminals establish a connection, no confusion will occur.
  • Step S502 When the target terminal determines to work in the ad-hoc mode, establish a connection with the target terminal that initiates the detection by using a negotiation handshake mechanism.
  • the terminal that is initiated detection detects that it is working in the ad-hoc mode
  • the terminal that initiates the detection establishes a connection by using a handshake mechanism.
  • Step S5021 The terminal that is detected to be working in the ad-hoc mode receives the target terminal that initiates the detection and sends the method. After the authentication request message, the authentication response message is sent to the target terminal that initiates the detection.
  • Step S5022 After receiving the connection request message sent by the target terminal that initiates the detection, the terminal that is detected to be in the ad-hoc mode sends a connection response message to the terminal that initiates the detection, and establishes a connection.
  • the terminal that initiated the detection When the terminal that initiated the detection receives the authentication response message, it sends a connection request message to the terminal that is detected to be operating in the ad-hoc mode. After receiving the connection request message, the terminal that is detected to be working in the ad-hoc mode sends a connection response message to the terminal that initiated the detection to establish a connection.
  • Step S503 assigning a network address to the terminal itself that initiates the detection and the terminal that is detected to be operating in the ad-hoc mode.
  • the method in this embodiment is an ad-hoc mode connection established based on the 802.11 protocol. Therefore, the terminals in the connection need to have their own network addresses, and the network addresses are used to indicate that the terminals in the connection access each other. Therefore, preferably, the method for allocating the network address is as shown in FIG. 7, and includes:
  • Step S5031 The terminal that is detected to be operating in the ad-hoc mode sets the protocol server by itself as the dynamic host.
  • the DHCP server sets a network address for itself.
  • the terminal that initiates the detection sends an authentication request message to the terminal that is detected to be operating in the ad-hoc mode
  • the terminal that is detected to be operating in the ad-hoc mode will assign a network to itself for the DHCP server. address.
  • Step S5032 After receiving the DHCP request message sent by the target terminal that initiates the detection, the terminal that is detected to be in the ad-hoc mode sends a DHCP response message to the target terminal that initiates the detection, where the DHCP response message includes The network address assigned by the target terminal.
  • Step S5033 After detecting that the terminal operating in the ad-hoc mode receives the acknowledgement network address message sent by the terminal that initiates the detection, the terminal sends an ACK message to the terminal that initiates the detection.
  • Step S504 data sharing is implemented by the established connection and the network address.
  • the two connected terminals can access the other party's files through the network address.
  • the network address is a network interconnection protocol IP address.
  • this connection function is not turned on in real time.
  • the ad-hoc mode connection function is enabled when the trigger condition is met.
  • the method provided in this embodiment is that the terminal working in the ad-hoc mode of the 802.11 protocol is detected and established to establish a connection with the terminal in the ad-hoc mode that works in the 802.11 protocol, and the ad-hoc of the 802.11 protocol is used.
  • the mode connection function is applied to the connection between the terminals, so that a point-to-point connection is established between the terminals to achieve the purpose of resource sharing between the terminals.
  • the transmission based on the 802.11 protocol can be used, so that the speed of resource sharing is greatly improved.
  • establishing an ad-hoc mode connection also avoids introducing a router or other third-party device to complete data sharing.
  • the detected terminal structure will be described below with reference to the drawings.
  • the terminal includes: a beacon frame broadcast module 82, configured to broadcast a beacon frame, where the beacon frame includes its own working mode information.
  • the WIFI module 81 is configured to establish a connection with the target terminal by using a negotiation handshake mechanism when the target terminal determines to work in the ad-hoc mode, and allocate a network address to the terminal and establish data sharing for the terminal and the established connection. .
  • the WIFI module 81 is configured to: after receiving an authentication request message that includes the self-mark information sent by the terminal, send an authentication response message to the terminal;
  • the WIFI module 81 is configured to set a protocol server by itself as a dynamic host.
  • the DHCP server sets a network address for itself;
  • the target terminal After receiving the DHCP request message sent by the target terminal, sending a DHCP response message to the target terminal, where the DHCP response message includes a network address allocated to the target terminal;
  • the network address is the network interconnection protocol IP address.
  • the terminal further includes a triggering unit, configured to start broadcasting a beacon frame when the trigger condition is met.
  • the terminal that initiates the detection and the terminal that is detected may be implemented by the same terminal, that is, the same terminal may actively detect whether other terminals work in the ad-hoc mode, or may be in other ad-hoc mode.
  • the terminal detected Therefore, the data sharing method of the above detecting terminal and the data sharing method of the detected terminal can be completed by the same terminal.
  • the detecting terminal and the detected terminal in the above embodiment may be the same terminal.
  • the method provided in this embodiment is that the terminal working in the ad-hoc mode of the 802.11 protocol is detected and established to establish a connection with the terminal in the ad-hoc mode that works in the 802.11 protocol, and the ad-hoc of the 802.11 protocol is used.
  • the mode connection function is applied to the connection between the terminals, so that a point-to-point connection is established between the terminals to achieve the purpose of resource sharing between the terminals.
  • the transmission based on the 802.11 protocol can be used, so that the speed of resource sharing is greatly improved.
  • establishing an ad-hoc mode connection also avoids introducing a router or other third-party device to complete data sharing.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of a computer program product embodied on one or more computer-usable storage interfaces (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
  • computer-usable storage interfaces including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the present invention is directed to a flowchart of a method, apparatus (system), and computer program product according to an embodiment of the present invention. And / or block diagram to describe. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

本发明提供了一种点对点连接的方法,将802.11协议运用于终端之间的连接,可提高终端之间的数据共享速度。同时也避免引入第三方设备,减少连接建立实现数据共享所需的成本。本发明提供检测终端的方法包括:接收目标终端广播的信标帧;判断目标终端是否正在点对点ad-hoc模式下工作;当确定目标终端正在点对点ad-hoc模式下工作时,则与所述终端通过协商握手机制建立连接,并通过建立的连接获取自身与所述终端的网络地址,实现数据共享。被检测终端的方法包括:当被终端检测到在ad-hoc模式下工作时,与所述终端通过协商握手机制建立连接,为自身和通过建立的连接为所述终端分配网络地址,实现数据共享。同时本发明还提供了与方法对应的终端。

Description

一种无线数据共享的方法及实现共享的终端 本申请要求在 2013年 03月 28日提交中国专利局、 申请号为 201210085726.0、发明名称为
"一种无线数据共享的方法及实现共享的终端"的中国专利申请的优先权,其全部内容通过引用 结合在本申请中。 技术领域
本发明涉及通信技术领域, 尤其涉及一种无线数据共享的方法及实现共享的终端。 背景技术
目前釆用 Android (安卓) 系统的智能移动终端越来越普及, 使用智能终端的用户间 共享文件或数据的需求也越来越明显。 传统的移动终端数据共享方式包括: SD卡(Secure Digital Memory Card )或蓝牙传输。
使用 SD卡进行数据共享时, 需要从提供数据的终端上将 SD卡拔出, 再安装到需要 数据的终端上, 需要数据的终端通过读取 SD卡中的数据以达到数据共享的目的。 但是, 这种数据共享的方式操作起来并不方便, 要完成 SD卡的数据共享需要很多操作; 并且, 这种数据共享的方式还必须利用到终端本身的存储器。尤其是提供数据的终端还需要将 SD 卡收回时, 提供数据的终端可能需要先将数据存储至 SD卡中, 接收数据的终端就需要先 将 SD卡上的数据存储至自己的存储器上, 而后将 SD卡拔出后再插入自身原本的 SD卡, 如果有需要还会将存储于自身存储器上的数据再存储入自身原本的 SD卡中。 这样的数据 共享方式需要的操作过多, 且还需要借助终端本身的存储器, 因此十分不方便。
通过蓝牙传输模式将一个终端中的数据传输至另一个终端可避免使用 SD卡进行数据 共享时所需的诸多操作。 只需将蓝牙设备打开, 找到对方设备并选择需要传输的文件后, 即可进行传输以完成数据共享的目的。 但是, 蓝牙传输的速度不快是蓝牙传输的一个重要 的缺陷。 现在的终端之间需要共享的数据并不仅限于只有小容量的文本文件, 还包括较大 容量的音乐文件甚至视频文件, 如果釆用蓝牙传输则可能需要非常长得时间才能将数据传 输完毕。 发明内容
本发明提供了一种无线数据共享方法,将 802.11协议的 ad-hoc传输模式运用于终端与 终端的数据共享中, 以提供终端与终端之间高速的数据共享。 该方法包括: 根据接收到的来自目标终端广播的信标帧中所包含的工作模式信息, 判断目标终端是 否正在点对点 ad-hoc模式下工作;
当确定目标终端正在点对点 ad-hoc模式下工作时,与所述目标终端通过协商握手机制 建立连接, 并通过建立的连接获取自身与所述目标终端的网络地址, 实现数据共享。
本发明还提供了与上述共享方法对应的终端, 该终端包括:
检测模块, 用于接收目标终端广播的信标帧; 并根据接收到的所述信标帧所包含的工 作模式信息, 判断目标终端是否正在点对点 ad-hoc模式下工作的终端;
WIFI模块, 用于当检测模块确定目标终端是正在点对点 ad-hoc模式下工作时, 则与 所述目标终端通过协商握手机制建立连接, 并通过建立的连接获取自身与所述目标终端的 网络地址, 实现数据共享。
本发明还有另一响应终端的共享方法, 该方法包括:
广播信标帧, 所述信标帧包括自身工作模式信息;
当被目标终端确定在 ad-hoc模式下工作时,与所述目标终端通过协商握手机制建立连 接, 为自身和通过建立的连接为所述目标终端分配网络地址, 实现数据共享。
还有与上述方法对应的终端, 该终端包括:
信标帧广播模块, 用于广播信标帧, 所述信标帧包括自身工作模式信息。
WIFI模块, 用于当被目标终端确定在 ad-hoc模式下工作时, 与所述另一终端通过协 商握手机制建立连接, 为自身和通过建立的连接为所述目标终端分配网络地址, 实现数据 共享。
本发明提供的无线数据共享方法, 以终端与终端之间实现基于 802.11协议的点对点连 接, 并通过网络地址实现相互的访问。 由于基于 802.11协议的网络传输速度是蓝牙传送的 几十倍, 釆用本发明提供的技术方案可提高数据访问的速度。 同时, 使用 ad-hoc模式可直 接建立两终端之间的连接可避免引入第三方设备 , 节约连接建立的成本。 附图说明
图 1为本发明实施例的检测终端的方法流程图;
图 2为本发明实施例的检测终端建立连接的流程图;
图 3为本发明实施例的检测终端获取网络地址的流程图;
图 4为本发明实施例的检测终端结构示意图;
图 5为本发明实施例的被检测终端的方法流程图;
图 6为本发明实施例的被检测终端建立连接的流程图; 图 7为本发明实施例的被检测终端获取网络地址的流程图;
图 8为本发明实施例的被检测终端结构示意图。 具体实施方式
为了使得终端与终端能以更快的速度实现无线数据共享, 并且减少在实现无线数据共 享时所需要的设备以节约成本, 本发明提供了一种无线数据共享的方法, 基于 802.11协议 建立终端与终端之间的网络连接, 以实现终端间的数据共享。 下面结合附图对本发明的方 法流程进行说明。
如图 1所示, 本实施例中建立终端之间连接的方法流程包括:
步骤 S 101 , 接收目标终端广播的信标帧。
当终端有意需要与目标终端建立 ad-hoc模式下的连接时,首先需要判断目标终端是不 是工作在此模式下。 而判断目标终端是不是工作在 ad-hoc模式下则需要首先接收目标终端 的信标帧。 因为终端广播的信标帧中会包含自身工作模式的信息。
步骤 S 102 ,根据接收到的所述信标帧所包含的工作模式信息, 判断目标终端是否正在 点对点 ad-hoc模式下工作;如果确定目标终端正在点对点 ad-hoc模式下工作,则进入步骤 S 103。
要建立终端之间点对点模式的连接, 需要先检测是否有和发起检测的终端一样已经工 作于 ad-hoc的模式下, 如果是的话, 才会开始后续建立连接的步骤。
被检测的终端在处于 ad-hoc模式下工作时, 自身广播的信标帧会包括标识自身处于 ad-hoc的模式的信息。 检测终端会接收到被检测终端广播的信标帧, 并从中提取工作模式 信息, 当获取被检测终端广播的信标帧中的 ad-hoc的模式的信息时, 就可确定被检测终端 是工作于 ad-hoc的模式下的。
步骤 S 103 , 与被检测到工作于 ad-hoc模式下的终端通过协商握手机制建立连接。 建立 ad-hoc模式下的连接, 需要两终端都支持 802.11协议下的 ad-hoc模式。 因此, 检测到需要建立连接的终端也是工作在 ad-hoc模式下,才可通过协商握手机制建立发起检 测的终端与被检测到工作于 ad-hoc模式下的终端的连接。本实施例中的发起检测的终端以 被检测的终端为目标终端。
协商握手机制是两个需要建立连接的终端通过互发连接建立消息最终建立连接的一 种方式。 较优地, 本实施例中的通过协商握手机制建立连接的方法如图 2所示, 包括: 步骤 S 1031 , 发起检测的终端向被检测到工作于 ad-hoc模式下的目标终端发起鉴权请 求消息。 发起检测的终端向被检测到工作于 ad-hoc模式下的终端发送鉴权请求消息,开始终端 之间的连接建立。
步骤 S 1032 , 发起检测的终端在接收到被检测到工作于 ad-hoc模式下的目标终端发送 的鉴权响应消息后, 向被检测到工作于 ad-hoc模式下的终端发送连接请求消息。
被检测到工作于 ad-hoc模式下的目标终端接收到鉴权请求消息后,会反馈鉴权响应消 息。 当接收到鉴权响应消息后, 再向被检测到工作于 ad-hoc模式下的终端发送连接请求消 息。
步骤 S 1033 , 发起检测的终端接收被检测到工作于 ad-hoc模式下的目标终端发送的连 接响应消息, 建立连接。
当发起检测的终端最终接收到被检测到工作于 ad-hoc模式下的目标终端发送的连接响 应消息, 则确定了与被检测到工作于 ad-hoc模式下的目标终端成功的建立连接。
步骤 S 104 , 通过建立的连接获取自身与所述目标终端的网络地址。
本实施例中的方法是基于 802.11协议建立的 ad-hoc模式连接。因此连接中的终端都需 要具备各自的网络地址, 网络地址用于指示连接中的终端进行相互访问。 而被检测到工作 于 ad-hoc模式下的目标终端在接收到发起检测的终端发送的连接建立请求时,被检测到工 作于 ad-hoc模式下的目标终端就会以自己为 DHCP ( Dynamic Host Configuration Protocol, 动态主机配置协议)服务端, 为自己分配一个网络地址。
连接建立后, 则需要确定相互的网络地址, 最后通过网络地址来达到互访的目的。 较 优地, 获取网络地址的方法如图 3所示, 包括:
步骤 S 1041 , 发起检测的终端向被检测到工作于 ad-hoc模式下的目标终端发送动态主 机设置协议 DHCP请求消息。
要获取网络地址,发起检测的终端先要向被检测到工作于 ad-hoc模式下的目标终端提 出请求。
步骤 S 1042 , 发起检测的终端接收被检测到工作于 ad-hoc模式下的终端的目标 DHCP 响应消息, 所述 DHCP响应消息包括所述终端分配给予的网络地址, 并向被检测到工作于 ad-hoc模式下的目标终端发送确认网络地址消息。
被检测到工作于 ad-hoc模式下的目标终端接收到请求消息后, 会发送一响应消息, 响 应消息中包括被检测到工作于 ad-hoc模式下的目标终端给发起检测的终端分配的网络地 址。 发起检测的终端在接收到被检测到工作于 ad-hoc模式下的目标终端的响应消息后, 如 果确认此网络地址为自身的网络地址,则需要再向被检测到工作于 ad-hoc模式下的目标终 端发送一确认网络地址的消息。 步骤 S 1043 , 发起检测的终端接收被检测到工作于 ad-hoc模式下的目标终端的确认 ACK消息。
被检测到工作于 ad-hoc模式下的目标终端在接收到网络消息时,则还会返回确认 ACK 消息, 至此两终端的网络地址都已确定。
根据 TCP/IP协议, 网络地址一般釆用 IP地址的形式。 本实施例基于 DHCP建立的连 接, 则可根据 TCP/IP协议分配网络地址, 因此较优地, 所述网络地址为 IP地址。
步骤 S 105 , 通过建立的连接和网络地址实现数据共享。
两终端之间的连接关系建立后, 则可互相发送信息, 而各自都拥有自己的网络地址, 则可起到指示作用。 因此通过建立的连接关系还有网络地址, 即可访问对方终端中所存储 的文件, 对对方的文件可以读取, 复制等。 至此, 终端之间完成资源共享。
为了能够保护终端中文件的隐私, 本实施例中的方法不需要一直持续性的被使用。 当 不需要对文件进行资源共享时, 可不需要触发本实施例中的方法进行执行。 因此,较优地, 在满足触发条件时, 终端才会接收目标终端广播的信标帧, 开始建立连接。 否则可使该功 能一直处于休眠状态。
本实施例提供的方法,是在工作于 802.11协议的 ad-hoc模式下,检测并与建立同样工 作于 802.11协议的 ad-hoc模式下的终端建立连接, 将 802.11协议的 ad-hoc模式连接功能 运用于终端之间的连接中, 使得终端之间建立点对点的连接, 以达到终端间的资源共享的 目的。 釆用本实施例中的技术, 可运用基于 802.11协议的传输, 使得资源共享的速度大大 提高,同时,建立 ad-hoc模式连接也避免引入路由器或其他第三方设备来完成数据的共享。
根据附图对与上述实施例中方法对应的终端设备的实施例进行说明, 如图 4所示, 终 端设备包括: WIFI模块 41和检测模块 42。
检测模块 42 , 用于接收目标终端广播的信标帧; 并根据接收到的所述信标帧所包含的 工作模式信息, 判断目标终端是否正在点对点 ad-hoc模式下工作的终端。
WIFI模块 41 , 用于当检测模块确定目标终端是正在点对点 ad-hoc模式下工作时, 则 与所述目标终端通过协商握手机制建立连接, 并通过建立的连接获取自身与所述目标终端 的网络地址, 实现数据共享。
所述信标帧包括目标终端的标识信息, 则所述 WIFI模块 41用于, 向所述目标终端发 起鉴权请求消息; 在接收到所述目标终端的鉴权响应消息后, 向所述目标终端发送连接请 求消息; 接收所述目标终端发送的连接响应消息, 建立连接。
WIFI模块 41实现网络地址分配功能, WIFI模块 41还用于, 向所述目标终端发送动 态主机设置协议 DHCP请求消息; 接收到所述目标终端发送的 DHCP响应消息后, 所述 DHCP响应消息包括所述目标终端分配给予的网络地址, 向所述终端发送确认网络地址消 息; 接收所述目标终端发送的确认 ACK消息。
所述网络地址为网络互连协议 IP地址。
该终端还包括:
触发单元, 用于在满足触发条件时, 开始广播信标帧。
本实施例提供的终端,是在工作于 802.11协议的 ad-hoc模式下,检测并与建立同样工 作于 802.11协议的 ad-hoc模式下的终端建立连接, 将 802.11协议的 ad-hoc模式连接功能 运用于终端之间的连接中, 使得终端之间建立点对点的连接, 以达到终端间的资源共享的 目的。 釆用本实施例中的技术, 可运用基于 802.11协议的传输, 使得资源共享的速度大大 提高,同时,建立 ad-hoc模式连接也避免引入路由器或其他第三方设备来完成数据的共享。
上述实施例中的方法和对应的设备是作为主动与其他建立连接的一方的方法和设备。 下面结合附图, 对被检测到的一方的方法和设备进行说明。 以下方法和设备的实施例中, 是由被检测到的终端以发起检测的终端为目标终端。
如图 5所示, 被检测到的终端侧的方法流程为:
步骤 S501 , 广播信标帧, 所述信标帧包括自身工作模式信息。
想要与另一终端建立连接时, 终端自身也会广播信标帧, 以告诉其他终端自己正在 ad-hoc模式下工作。 其实, 终端在需要建立连接时, 可开始向周围广播自己的信标帧, 以 使其他终端获得自己处于 ad-hoc模式下工作的信息,也可搜索周围是否能接收到其他终端 广播的信标帧, 判断周围是否有其他终端也同样处于 ad-hoc模式下工作。 但是未免发生混 乱, 可提供一个选择机制。 当两个终端需要建立连接时, 使两个终端一个成为检测终端, 另一个成为被检测终端, 即一个用于搜索周围是否能接收到其他终端广播的信标帧, 另一 个用于广播信标帧, 这样当两终端建立连接时, 则不会发生混乱。
步骤 S502, 当被目标终端确定在 ad-hoc模式下工作时, 与发起检测的目标终端通过 协商握手机制建立连接。
作为被检测到的终端, 当被发起检测的终端检测到处于 ad-hoc模式下工作时, 与发起 检测的终端通过握手机制建立连接。
作为被检测到的终端, 较优地, 通过握手机制建立连接的方法如图 6所示, 包括: 步骤 S5021 , 被检测到处于 ad-hoc模式下工作的终端接收到发起检测的目标终端发送 的鉴权请求消息后, 向发起检测的目标终端发送鉴权响应消息。
被检测到处于 ad-hoc模式下工作的终端在接收到发起检测的目标终端的鉴权请求消息 后, 会向发起检测的目标终端发送鉴权响应消息。 步骤 S5022, 被检测到处于 ad-hoc模式下工作的终端接收到发起检测的目标终端发送 的连接请求消息后, 向发起检测的终端发送连接响应消息, 建立连接。
当发起检测的终端接收到鉴权响应消息时,会向被检测到处于 ad-hoc模式下工作的终 端发送连接请求消息。 而被检测到处于 ad-hoc模式下工作的终端接收到连接请求消息后, 向发起检测的终端发送连接响应消息, 建立连接。
步骤 S503 , 为发起检测的终端自身和被检测到处于 ad-hoc模式下工作的终端分配网 络地址。
本实施例中的方法是基于 802.11协议建立的 ad-hoc模式连接。因此连接中的终端都需 要具备各自的网络地址, 网络地址用于指示连接中的终端进行相互访问。 因此较优地, 网 络地址的分配方法如图 7所示, 包括:
步骤 S5031 , 被检测到处于 ad-hoc模式下工作的终端以自身为动态主机设置协议服务 器 DHCP server为自身设定一个网络地址。
发起检测的终端在向被检测到处于 ad-hoc模式下工作的终端发送鉴权请求消息时,被 检测到处于 ad-hoc模式下工作的终端就会以自己为 DHCP server为自己先分配一网络地 址。
步骤 S5032, 被检测到处于 ad-hoc模式下工作的终端接收到发起检测的目标终端发送 的 DHCP请求消息后, 向发起检测的目标终端发送 DHCP响应消息, 所述 DHCP响应消 息包括为发起检测的目标终端分配的网络地址。
步骤 S5033 , 被检测到处于 ad-hoc模式下工作的终端接收发起检测的终端发送的确认 网络地址消息后, 向发起检测的终端发送 ACK消息。
步骤 S504 , 通过建立的连接和所述网络地址实现数据共享。
两建立连接后的终端可以通过网络地址对对方的文件进行访问。
本实施例中较优地, 网络地址为网络互连协议 IP地址。
为了更好的保护终端中的隐私, 本连接功能并不是实时开启。 较优地, 在满足触发条 件时, 开启 ad-hoc模式连接功能。
本实施例提供的方法,是工作于 802.11协议的 ad-hoc模式下的终端,被检测到并与建 立同样工作于 802.11协议的 ad-hoc模式下的终端建立连接, 将 802.11协议的 ad-hoc模式 连接功能运用于终端之间的连接中, 使得终端之间建立点对点的连接 , 以达到终端间的资 源共享的目的。 釆用本实施例中的技术, 可运用基于 802.11协议的传输, 使得资源共享的 速度大大提高, 同时, 建立 ad-hoc模式连接也避免引入路由器或其他第三方设备来完成数 据的共享。 下面结合附图对被检测到的终端结构进行说明。 如图 8所示, 该终端包括: 信标帧广播模块 82, 用于广播信标帧, 所述信标帧包括自身工作模式信息。
WIFI模块 81 , 用于当被目标终端确定在 ad-hoc模式下工作时, 与所述目标终端通过 协商握手机制建立连接, 为自身和通过建立的连接为所述终端分配网络地址, 实现数据共 享。
为了通过协商握手机制建立连接, WIFI模块 81用于, 接收到所述终端发送的包含自 身标志信息的鉴权请求消息后, 向所述终端发送鉴权响应消息;
接收到所述终端发送的连接请求消息后, 向所述终端发送连接响应消息, 建立连接。 WIFI模块 81用于, 以自身为动态主机设置协议服务器 DHCP server为自身设定一网 络地址;
接收到所述目标终端发送的 DHCP请求消息后,向所述目标终端发送 DHCP响应消息, 所述 DHCP响应消息包括为所述目标终端分配的网络地址;
接收所述目标终端发送的确认网络地址消息后, 向所述目标终端发送 ACK消息。 网络地址为网络互连协议 IP地址。
所述终端还包括触发单元, 用于在满足触发条件时, 开始广播信标帧。
上述实施例中, 发起检测的终端和被检测到的终端其实可由同一终端实现, 即同一终 端即可主动去检测其他终端是否工作于 ad-hoc模式下,也可被其他正在 ad-hoc模式下的终 端检测到。 因此, 上述检测终端的数据共享方法和被检测到的终端的数据共享方法可由同 一终端完成。 并且上述实施例中的检测终端和被检测终端可以为同一终端。
本实施例提供的方法,是工作于 802.11协议的 ad-hoc模式下的终端,被检测到并与建 立同样工作于 802.11协议的 ad-hoc模式下的终端建立连接, 将 802.11协议的 ad-hoc模式 连接功能运用于终端之间的连接中, 使得终端之间建立点对点的连接 , 以达到终端间的资 源共享的目的。 釆用本实施例中的技术, 可运用基于 802.11协议的传输, 使得资源共享的 速度大大提高, 同时, 建立 ad-hoc模式连接也避免引入路由器或其他第三方设备来完成数 据的共享。
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产 品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实 施例的形式。 而且, 本发明可釆用在一个或多个其中包含有计算机可用程序代码的计算机 可用存储介盾 (包括但不限于磁盘存储器、 CD-R0M、 光学存储器等)上实施的计算机程 序产品的形式。
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产品的流程图 和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图和 /或方框图中的每一流 程和 /或方框、 以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机 程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器 以产生一个机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用 于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方 式工作的计算机可读存储器中, 使得存储在该计算机可读存储器中的指令产生包括指令装 置的制造品, 该指令装置实现在流程图一个流程或多个流程和 /或方框图一个方框或多个 方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机 或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理, 从而在计算机或其他 可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和 /或方框图一个 方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了基本创造性概 念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权利要求意欲解释为包括优选 实施例以及落入本发明范围的所有变更和修改。
显然, 本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实 施例的精神和范围。 这样, 倘若本发明实施例的这些修改和变型属于本发明权利要求及其 等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。

Claims

权 利 要 求
1、 一种无线数据共享的方法, 其特征在于, 该方法包括:
根据接收到的来自目标终端广播的信标帧中所包含的工作模式信息, 判断目标终端是 否正在点对点 ad-hoc模式下工作;
当确定目标终端正在点对点 ad-hoc模式下工作时,与所述目标终端通过协商握手机制 建立连接, 并通过建立的连接获取自身与所述目标终端的网络地址, 实现数据共享。
2、 根据权利要求 1 所述的方法, 其特征在于, 当所述信标帧包括目标终端的标识信 息时, 所述与所述目标终端通过协商握手机制建立连接包括:
根据目标终端的标识信息向所述目标终端发起鉴权请求消息;
在接收到所述目标终端发送的鉴权响应消息后, 向所述目标终端发送连接请求消息; 接收所述目标终端发送的连接响应消息, 建立连接。
3、 根据权利要求 1 所述的方法, 其特征在于, 获取自身与所述目标终端的网络地址 包括:
向所述目标终端发送动态主机设置协议 DHCP请求消息;
接收到所述目标终端发送的 DHCP响应消息后,所述 DHCP响应消息包括所述目标终 端分配给予的网络地址, 向所述目标终端发送确认网络地址消息;
接收所述目标终端发送的确认 ACK消息。
4、根据权利要求 3所述的方法, 其特征在于, 所述网络地址为网络互连协议 IP地址。
5、 根据权利要求 1 所述的方法, 其特征在于, 在接收目标终端广播的信标帧之前, 该方法还包括:
在满足触发条件时, 接收目标终端广播的信标帧。
6、 一种实现无线数据共享的终端, 其特征在于, 所述终端包括:
检测模块, 用于接收目标终端广播的信标帧; 并根据接收到的所述信标帧所包含的工 作模式信息, 判断目标终端是否正在点对点 ad-hoc模式下工作的终端;
WIFI模块, 用于当检测模块确定目标终端是正在点对点 ad-hoc模式下工作时, 则与 所述目标终端通过协商握手机制建立连接, 并通过建立的连接获取自身与所述目标终端的 网络地址, 实现数据共享。
7、 根据权利要求 6 所述的终端, 其特征在于, 当所述信标帧包括目标终端的标识信 息时, 所述 WIFI模块用于, 向所述目标终端发起鉴权请求消息; 在接收到所述目标终端 发送的鉴权响应消息后, 向所述目标终端发送连接请求消息; 接收所述终端发送的连接响 应消息, 建立连接。
8、 一种无线数据共享的方法, 其特征在于, 该方法包括:
广播信标帧, 所述信标帧包括自身工作模式信息;
当被目标终端确定在 ad-hoc模式下工作时,与所述目标终端通过协商握手机制建立连 接, 为自身和通过建立的连接为所述终端分配网络地址, 实现数据共享。
9、 根据权利要求 8 所述的方法, 其特征在于, 当所述信标帧包括自身标识信息时, 所述与所述目标终端通过协商握手机制建立连接包括:
接收到所述目标终端发送的包含自身标志信息的鉴权请求消息后, 向所述目标终端发 送筌权响应消息;
接收到所述目标终端发送的连接请求消息后, 向所述终端发送连接响应消息, 建立连 接。
10、 根据权利要求 9所述的方法, 其特征在于, 所述为自身和通过建立的连接为所述 终端分配网络地址包括:
以自身为动态主机设置协议服务器 DHCP server为自身设定一网络地址;
接收到所述目标终端发送的 DHCP请求消息后,向所述目标终端发送 DHCP响应消息, 所述 DHCP响应消息包括为所述终端分配的网络地址;
接收所述目标终端发送的确认网络地址消息后, 向所述目标终端发送 ACK消息。
11、根据权利要求 9所述的方法,其特征在于,所述网络地址为网络互连协议 IP地址。
12、 根据权利要求 9所述的方法, 其特征在于, 在被检测到正在点对点 ad-hoc模式下 工作的终端之前, 该方法还包括:
在满足触发条件时, 开始广播信标帧。
13、 一种实现无线数据共享的终端, 其特征在于, 该终端包括:
信标帧广播模块, 用于广播信标帧, 所述信标帧包括自身工作模式信息。
WIFI模块, 用于当被目标终端确定在 ad-hoc模式下工作时, 与所述目标终端通过协 商握手机制建立连接,为自身和通过建立的连接为所述终端分配网络地址, 实现数据共享。
14、 根据权利要求 13所述的终端, 其特征在于, 所述 WIFI模块, 用于接收到所述目 标终端发送的包含自身标志信息的鉴权请求消息后, 向所述目标终端发送鉴权响应消息; 接收到所述目标终端发送的连接请求消息后, 向所述目标终端发送连接响应消息, 建 立连接。
PCT/CN2013/073144 2012-03-28 2013-03-25 一种无线数据共享的方法及实现共享的终端 WO2013143433A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210085726.0 2012-03-28
CN2012100857260A CN102647802A (zh) 2012-03-28 2012-03-28 一种无线数据共享的方法及实现共享的终端

Publications (1)

Publication Number Publication Date
WO2013143433A1 true WO2013143433A1 (zh) 2013-10-03

Family

ID=46660330

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/073144 WO2013143433A1 (zh) 2012-03-28 2013-03-25 一种无线数据共享的方法及实现共享的终端

Country Status (2)

Country Link
CN (1) CN102647802A (zh)
WO (1) WO2013143433A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016107124A1 (zh) * 2014-12-29 2016-07-07 中兴通讯股份有限公司 流量共享方法及装置、终端

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647802A (zh) * 2012-03-28 2012-08-22 青岛海信移动通信技术股份有限公司 一种无线数据共享的方法及实现共享的终端
CN102843434B (zh) * 2012-09-05 2015-10-21 中兴通讯股份有限公司 一种设备间共享内容的方法、装置及系统
CN103888907B (zh) * 2012-12-20 2017-11-07 腾讯科技(深圳)有限公司 一种跨终端的文件传输方法及终端设备、系统
CN103561281B (zh) * 2013-10-25 2017-10-20 Tcl集团股份有限公司 一种多媒体数据共享的方法及装置
CN105933384B (zh) * 2016-04-06 2021-05-25 腾讯科技(深圳)有限公司 一种文件共享方法、终端及文件共享系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369946A (zh) * 2007-08-15 2009-02-18 佳能株式会社 通信装置及用于该通信装置的通信方法
CN101540671A (zh) * 2009-04-21 2009-09-23 中兴通讯股份有限公司 一种自组网络下wapi站点间安全关联的建立方法
CN101835147A (zh) * 2002-11-25 2010-09-15 富士通株式会社 用于安全、便携、无线和多跳数据连网的方法和设备
CN102196418A (zh) * 2010-03-09 2011-09-21 精工爱普生株式会社 无线通信系统、无线通信装置、投影仪以及无线通信方法
WO2012035367A1 (en) * 2010-09-14 2012-03-22 Nokia Corporation D2d communication procedures: beaconing; broadcast; conflict resolution
CN102647802A (zh) * 2012-03-28 2012-08-22 青岛海信移动通信技术股份有限公司 一种无线数据共享的方法及实现共享的终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101835147A (zh) * 2002-11-25 2010-09-15 富士通株式会社 用于安全、便携、无线和多跳数据连网的方法和设备
CN101369946A (zh) * 2007-08-15 2009-02-18 佳能株式会社 通信装置及用于该通信装置的通信方法
CN101540671A (zh) * 2009-04-21 2009-09-23 中兴通讯股份有限公司 一种自组网络下wapi站点间安全关联的建立方法
CN102196418A (zh) * 2010-03-09 2011-09-21 精工爱普生株式会社 无线通信系统、无线通信装置、投影仪以及无线通信方法
WO2012035367A1 (en) * 2010-09-14 2012-03-22 Nokia Corporation D2d communication procedures: beaconing; broadcast; conflict resolution
CN102647802A (zh) * 2012-03-28 2012-08-22 青岛海信移动通信技术股份有限公司 一种无线数据共享的方法及实现共享的终端

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHEN, FUKANG ET AL.: "FreeBSD Handbook", 18 March 2012 (2012-03-18), Retrieved from the Internet <URL:http://docs.freebsd.org/doc/9.0-RELEASE/usr/share/doc/freebsd/zhCN.GB2312/books/handbook> *
E. ANCILLOTTI ET AL.: "A Layer-2 Architecture for Interconnecting Multi-hop Hybrid Ad Hoc Networks to the Internet.", WONS 2006, vol. V, January 2006 (2006-01-01) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016107124A1 (zh) * 2014-12-29 2016-07-07 中兴通讯股份有限公司 流量共享方法及装置、终端

Also Published As

Publication number Publication date
CN102647802A (zh) 2012-08-22

Similar Documents

Publication Publication Date Title
CN110505606B (zh) 蓝牙Mesh网络及其配网鉴权方法、设备和存储介质
US8775533B2 (en) Auto connect in peer-to-peer network
WO2013143433A1 (zh) 一种无线数据共享的方法及实现共享的终端
US8806023B2 (en) Auto-connect in a peer-to-peer network
US9565708B2 (en) Auto-connect in a peer-to-peer network
WO2012079461A1 (zh) Ip地址分配方法、装置以及系统
JP6254747B2 (ja) 情報提供方法、装置、プログラム及び記録媒体
CN105959906B (zh) 网络设备通信、与网络设备通信的方法及装置
CN107113892B (zh) 一种网关设备自动组网的方法及装置
WO2015043455A1 (zh) 数据传输方法、设备及系统
JP2017517171A (ja) 高速ipアドレス割り当てのための方法および装置
WO2019144742A1 (zh) 用户终端和设备的绑定方法、装置和系统
EP3742785A1 (en) Session management method and device
US20140233547A1 (en) Systems and methods for implementing peer-to-peer wireless connections
WO2018103400A1 (zh) 无线保真Wi-Fi连接方法及相关产品
WO2014134787A1 (zh) 近场通信射频通信方法、装置和终端设备
JP2016170630A5 (zh)
US10505890B2 (en) Network access method, system and terminal device, and computer storage medium
WO2020164522A1 (zh) 数据传输控制方法及相关产品
CN105915416B (zh) 一种信息处理方法及终端设备
WO2015100570A1 (zh) 确定gre隧道的方法、网关设备和接入站点
CN112689029A (zh) 一种获取群组用户的ip地址的方法和装置及设备
US10111051B2 (en) Communication apparatus, control method therefor, program, and storage medium
WO2015096058A1 (zh) 一种数据包处理方法和装置
WO2016090858A1 (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: 13769364

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: 13769364

Country of ref document: EP

Kind code of ref document: A1