[go: up one dir, main page]

CN104619039A - Terminal equipment interconnection method and system in wireless local area network (WLAN) and terminal equipment - Google Patents

Terminal equipment interconnection method and system in wireless local area network (WLAN) and terminal equipment Download PDF

Info

Publication number
CN104619039A
CN104619039A CN201410843312.9A CN201410843312A CN104619039A CN 104619039 A CN104619039 A CN 104619039A CN 201410843312 A CN201410843312 A CN 201410843312A CN 104619039 A CN104619039 A CN 104619039A
Authority
CN
China
Prior art keywords
terminal device
interconnection
information
terminal
area network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410843312.9A
Other languages
Chinese (zh)
Inventor
张龙
蔡磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410843312.9A priority Critical patent/CN104619039A/en
Publication of CN104619039A publication Critical patent/CN104619039A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种无线局域网中终端设备互联的方法、系统和终端设备,属于通信技术领域。所述方法包括:第一终端设备向所述第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,使得接收到所述设备查询数据包的所有第二终端设备向所述第一终端设备返回终端设备信息;所述第一终端设备接收所述终端设备信息,并根据所述终端设备信息生成并展示终端设备列表;所述第一终端设备获取从所述终端设备列表中选择的预互联的所述第二终端设备的名称,向预互联的所述第二终端设备发送互联请求,使得预互联的所述第二终端设备接收并根据所述互联请求,确定是否与所述第一终端设备进行互联。本发明不需要手动进行相应的设置操作,使用方便快捷。

The invention discloses a method, system and terminal equipment for interconnecting terminal equipment in a wireless local area network, belonging to the technical field of communication. The method includes: the first terminal device broadcasts a device query data packet to all IP addresses in the wireless local area network where the first terminal device is located, so that all second terminal devices that receive the device query data packet send the first The terminal device returns terminal device information; the first terminal device receives the terminal device information, and generates and displays a terminal device list according to the terminal device information; the first terminal device obtains the terminal device selected from the terminal device list The name of the pre-interconnected second terminal device, and send an interconnection request to the pre-interconnected second terminal device, so that the pre-interconnected second terminal device receives and determines whether to connect with the second terminal device according to the interconnection request A terminal device is interconnected. The present invention does not need to manually perform corresponding setting operations, and is convenient and quick to use.

Description

无线局域网中终端设备互联的方法、系统和终端设备Method, system and terminal device for interconnecting terminal devices in wireless local area network

技术领域technical field

本发明涉及通信技术领域,具体涉及一种无线局域网中终端设备互联的方法、系统和终端设备。The invention relates to the field of communication technology, in particular to a method, a system and a terminal device for interconnecting terminal devices in a wireless local area network.

背景技术Background technique

随着通信技术的发展,手机、计算机等各种终端设备的功能越来越强大,各种终端设备也成为日常的工具。在使用各种终端设备时,常常需要将一个终端设备的文件、照片等信息传递到另一个终端设备上,为此常常需要将二个终端设备互联起来。在将二个终端设备互联起来时,可以通过有线方式或无线方式实现。With the development of communication technology, the functions of various terminal devices such as mobile phones and computers are becoming more and more powerful, and various terminal devices have also become daily tools. When using various terminal devices, it is often necessary to transfer information such as files and photos of one terminal device to another terminal device, and for this reason, it is often necessary to interconnect the two terminal devices. When two terminal devices are interconnected, it can be implemented in a wired or wireless manner.

现有通过无线方式实现终端设备互联的方法主要有:通过蓝牙、红外线或无线网络等将二个终端设备互联起来。Existing methods for realizing interconnection of terminal devices in a wireless manner mainly include: interconnecting two terminal devices through bluetooth, infrared ray, or wireless network.

然而,现有在通过蓝牙、红外线将二个终端设备互联起来时,需要二个终端设备均设置有蓝牙、红外线,且均打开蓝牙、红外线。在通过无线网络将二个终端设备互联起来时,如将手机与计算机互联起来,需要通过手机扫描计算机上的二维码才能实现。现有终端设备互联的方法,均需要手动进行相应的设置操作才能实现,使用不方便。However, conventionally, when two terminal devices are interconnected through bluetooth and infrared rays, it is required that both terminal devices are equipped with bluetooth and infrared rays, and both of them are turned on. When two terminal devices are interconnected through a wireless network, such as interconnecting a mobile phone with a computer, it is necessary to scan the QR code on the computer through the mobile phone. Existing interconnection methods for terminal devices all require manual corresponding setting operations to be realized, which is inconvenient to use.

发明内容Contents of the invention

为了解决现有技术的问题,本发明提供了一种无线局域网中终端设备互联的方法、系统和终端设备,第一终端设备向第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,第一终端设备接收第二终端设备返回的终端设备信息,并根据终端设备信息生成并展示终端设备列表,第一终端设备获取从终端设备列表中选择的预互联的第二终端设备的名称,向预互联的第二终端设备发送互联请求,使得第二终端设备接收并根据互联请求,确定是否与第一终端设备进行互联,不需要手动进行相应的设置操作即可实现互联,使用方便快捷。In order to solve the problems of the prior art, the present invention provides a method, system and terminal equipment for interconnecting terminal equipment in a wireless local area network. The first terminal equipment queries data packets from all IP address broadcasting equipment in the wireless local area network where the first terminal equipment is located. , the first terminal device receives the terminal device information returned by the second terminal device, and generates and displays a terminal device list according to the terminal device information, the first terminal device obtains the name of the pre-connected second terminal device selected from the terminal device list, Send an interconnection request to the pre-interconnected second terminal device, so that the second terminal device receives and determines whether to interconnect with the first terminal device according to the interconnection request, and the interconnection can be realized without manual corresponding setting operations, which is convenient and fast to use.

为了解决上述问题,本发明公开了一种无线局域网中终端设备互联的方法,所述方法包括:In order to solve the above problems, the present invention discloses a method for interconnecting terminal devices in a wireless local area network, the method comprising:

第一终端设备向所述第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,使得接收到所述设备查询数据包的所有第二终端设备向所述第一终端设备返回终端设备信息,其中,所述终端设备信息中包括所述第二终端设备的名称;The first terminal device broadcasts a device query data packet to all IP addresses in the wireless local area network where the first terminal device is located, so that all second terminal devices that receive the device query data packet return the terminal device to the first terminal device information, wherein the terminal device information includes the name of the second terminal device;

所述第一终端设备接收所述终端设备信息,并根据所述终端设备信息生成并展示终端设备列表,其中,所述终端设备列表中包括所有所述第二终端设备的名称;The first terminal device receives the terminal device information, and generates and displays a terminal device list according to the terminal device information, wherein the terminal device list includes names of all the second terminal devices;

所述第一终端设备获取从所述终端设备列表中选择的预互联的所述第二终端设备的名称,向预互联的所述第二终端设备发送互联请求,使得预互联的所述第二终端设备接收并根据所述互联请求,确定是否与所述第一终端设备进行互联。The first terminal device acquires the name of the pre-interconnected second terminal device selected from the terminal device list, and sends an interconnection request to the pre-interconnected second terminal device, so that the pre-interconnected second terminal device The terminal device receives and determines whether to perform interconnection with the first terminal device according to the interconnection request.

进一步地,第一终端设备向所述第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,包括:Further, the first terminal device queries data packets from all IP address broadcast devices in the wireless local area network where the first terminal device is located, including:

所述第一终端设备查询所述第一终端设备所在无线局域网中的所有IP地址;The first terminal device queries all IP addresses in the wireless local area network where the first terminal device is located;

所述第一终端设备向所有IP地址广播所述设备查询数据包。The first terminal device broadcasts the device query data packet to all IP addresses.

进一步地,所述终端设备信息中还包括所述第二终端设备的标识和所述第二终端设备的IP地址,所述第一终端设备获取从所述终端设备列表中选择的预互联的所述第二终端设备的名称,向预互联的所述第二终端设备发送互联请求,包括:Further, the terminal device information also includes the identifier of the second terminal device and the IP address of the second terminal device, and the first terminal device acquires all pre-interconnected devices selected from the terminal device list. the name of the second terminal device, and send an interconnection request to the pre-interconnected second terminal device, including:

所述第一终端设备获取从所述终端设备列表中选择的预互联的所述第二终端设备的名称;The first terminal device obtains the name of the pre-interconnected second terminal device selected from the terminal device list;

所述第一终端设备根据预互联的所述第二终端设备的名称,查询所述终端设备信息得到预互联的所述第二终端设备的标识和预互联的所述第二终端设备的IP地址;The first terminal device queries the information of the terminal device according to the name of the pre-interconnected second terminal device to obtain the identifier of the pre-interconnected second terminal device and the IP address of the pre-interconnected second terminal device ;

所述第一终端设备根据预互联的所述第二终端设备的标识和预互联的所述第二终端设备的IP地址,生成EPC互联请求;The first terminal device generates an EPC interconnection request according to the identifier of the pre-interconnected second terminal device and the IP address of the pre-interconnected second terminal device;

所述第一终端设备向预互联的所述第二终端设备发送所述EPC互联请求。The first terminal device sends the EPC interconnection request to the pre-interconnected second terminal device.

进一步地,所述第一终端设备包括:计算机、或手机;所述第二终端设备包括:计算机、或手机。Further, the first terminal device includes: a computer or a mobile phone; the second terminal device includes: a computer or a mobile phone.

为了解决上述问题,本发明还公开了一种无线局域网中终端设备互联的方法,所述方法包括:In order to solve the above problems, the present invention also discloses a method for interconnecting terminal devices in a wireless local area network, the method comprising:

第二终端设备接收第一终端设备向所述第一终端设备所在无线局域网中的所述第二终端设备的IP地址广播的设备查询数据包;The second terminal device receives the device query data packet broadcast by the first terminal device to the IP address of the second terminal device in the wireless local area network where the first terminal device is located;

所述第二终端设备向所述第一终端设备返回终端设备信息,使得第一终端设备接收所述终端设备信息,并根据所述终端设备信息生成并展示终端设备列表,其中,所述终端设备信息中包括所述第二终端设备的名称,所述终端设备列表中包括所述第二终端设备的名称;The second terminal device returns terminal device information to the first terminal device, so that the first terminal device receives the terminal device information, and generates and displays a terminal device list according to the terminal device information, wherein the terminal device The information includes the name of the second terminal device, and the list of terminal devices includes the name of the second terminal device;

所述第二终端设备接收并根据所述第一终端设备发送的互联请求,确定是否与所述第一终端设备进行互联,其中,所述第一终端设备发送的互联请求是所述第一终端设备在获取从所述终端设备列表中选择所述第二终端设备与所述第一终端设备进行互联的信息后,向所述第二终端设备发送。The second terminal device receives and determines whether to interconnect with the first terminal device according to the interconnection request sent by the first terminal device, wherein the interconnection request sent by the first terminal device is The device sends the information to the second terminal device after acquiring the information for selecting the second terminal device to interconnect with the first terminal device from the terminal device list.

进一步地,当所述终端设备信息中还包括所述第二终端设备的标识和所述第二终端设备的IP地址,所述互联请求为所述第一终端设备根据所述第二终端设备的标识和所述第二终端设备的IP地址生成的EPC互联请求时,所述第二终端设备接收并根据所述第一终端设备发送的互联请求,确定是否与所述第一终端设备进行互联,包括:Further, when the terminal device information also includes the identifier of the second terminal device and the IP address of the second terminal device, the interconnection request is the first terminal device according to the second terminal device's IP address. When identifying and generating an EPC interconnection request from the IP address of the second terminal device, the second terminal device receives and determines whether to interconnect with the first terminal device according to the interconnection request sent by the first terminal device, include:

所述第二终端设备接收所述EPC互联请求;The second terminal device receives the EPC interconnection request;

所述第二终端设备判断所述EPC互联请求中的所述第二终端设备的标识与所述第二终端设备自身的标识是否一致;The second terminal device judges whether the identifier of the second terminal device in the EPC interconnection request is consistent with the identifier of the second terminal device itself;

如果判断结果是一致,则所述第二终端设备弹出互联选择框,其中,所述互联选择框中包括同意互联选项、拒绝互联选项和永久拒绝互联选项;If the judging result is consistent, the second terminal device pops up an interconnection selection box, wherein the interconnection selection box includes the option of agreeing to interconnection, rejecting the option of interconnection and permanently rejecting the option of interconnection;

所述第二终端设备根据通过所述互联选择框选择的互联选项结果,确定是否与所述第一终端设备进行互联。The second terminal device determines whether to interconnect with the first terminal device according to the result of the interconnection option selected through the interconnection selection box.

进一步地,所述第二终端设备根据通过所述互联选择框选择的互联选项结果,确定是否与所述第一终端设备进行互联,包括:Further, the second terminal device determines whether to interconnect with the first terminal device according to the result of the interconnection option selected through the interconnection selection box, including:

所述第二终端设备接收在所述互联选择框中选择所述同意互联选项的信息;The second terminal device receives information that the interconnection option is selected in the interconnection selection box;

所述第二终端设备建立无线直连服务,并生成直连键key;The second terminal device establishes a wireless direct connection service, and generates a direct connection key key;

所述第二终端设备将所述直连key发送给所述第一终端设备,使得所述第一终端设备接收到所述直连key后,与所述第二终端设备进行互联。The second terminal device sends the direct connection key to the first terminal device, so that the first terminal device interconnects with the second terminal device after receiving the direct connection key.

进一步地,所述第二终端设备根据通过所述互联选择框选择的互联选项结果,确定是否与所述第一终端设备进行互联,包括:Further, the second terminal device determines whether to interconnect with the first terminal device according to the result of the interconnection option selected through the interconnection selection box, including:

所述第二终端设备接收在所述互联选择框中选择所述拒绝互联选项的信息;The second terminal device receives information that the interconnection rejection option is selected in the interconnection selection box;

所述第二终端设备拒绝与所述第一终端设备进行互联。The second terminal device refuses to interconnect with the first terminal device.

进一步地,所述第二终端设备根据通过所述互联选择框选择的互联选项结果,确定是否与所述第一终端设备进行互联,包括:Further, the second terminal device determines whether to interconnect with the first terminal device according to the result of the interconnection option selected through the interconnection selection box, including:

所述第二终端设备接收在所述互联选择框中选择所述永久拒绝互联选项的信息;The second terminal device receives information that the option of permanently rejecting interconnection is selected in the interconnection selection box;

所述第二终端设备拒绝与所述第一终端设备进行互联,并将所述第一终端设备加入所述第二终端设备的黑名单中。The second terminal device refuses to interconnect with the first terminal device, and adds the first terminal device to the blacklist of the second terminal device.

进一步地,所述第一终端设备包括:计算机、或手机;所述第二终端设备包括:计算机、或手机。Further, the first terminal device includes: a computer or a mobile phone; the second terminal device includes: a computer or a mobile phone.

进一步地,当所述互联请求中包括所述第一终端设备的标识时,所述第二终端设备接收并根据所述第一终端设备发送的互联请求,确定是否与所述第一终端设备进行互联,包括:Further, when the interconnection request includes the identifier of the first terminal device, the second terminal device receives and determines whether to communicate with the first terminal device according to the interconnection request sent by the first terminal device. interconnection, including:

所述第二终端设备接收所述第一终端设备发送的互联请求,得到所述第一终端设备的标识;The second terminal device receives the interconnection request sent by the first terminal device, and obtains the identifier of the first terminal device;

所述第二终端设备查询所述第一终端设备的标识是否在本地白名单数据库或本地黑名单数据库中;The second terminal device queries whether the identifier of the first terminal device is in a local whitelist database or a local blacklist database;

如果所述第一终端设备的标识在本地白名单数据库中,则所述第二终端设备确定与所述第一终端设备进行互联;If the identifier of the first terminal device is in the local whitelist database, the second terminal device determines to interconnect with the first terminal device;

如果所述第一终端设备的标识在本地黑名单数据库中,则所述第二终端设备确定不与所述第一终端设备进行互联。If the identifier of the first terminal device is in the local blacklist database, the second terminal device determines not to interconnect with the first terminal device.

为了解决上述问题,本发明还公开了一种第一终端设备,所述第一终端设备包括:In order to solve the above problems, the present invention also discloses a first terminal device, which includes:

广播模块,用于向所述第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,使得接收到所述设备查询数据包的所有第二终端设备向所述第一终端设备返回终端设备信息,其中,所述终端设备信息中包括所述第二终端设备的名称;A broadcast module, configured to broadcast a device query data packet to all IP addresses in the wireless local area network where the first terminal device is located, so that all second terminal devices that receive the device query data packet return a terminal to the first terminal device Device information, wherein the terminal device information includes the name of the second terminal device;

接收模块,用于接收所述终端设备信息,并根据所述终端设备信息生成并展示终端设备列表,其中,所述终端设备列表中包括所有所述第二终端设备的名称;A receiving module, configured to receive the terminal device information, and generate and display a terminal device list according to the terminal device information, wherein the terminal device list includes names of all the second terminal devices;

获取模块,用于获取从所述终端设备列表中选择的预互联的所述第二终端设备的名称,向预互联的所述第二终端设备发送互联请求,使得预互联的所述第二终端设备接收并根据所述互联请求,确定是否与所述第一终端设备进行互联。An acquisition module, configured to acquire the name of the pre-interconnected second terminal device selected from the terminal device list, and send an interconnection request to the pre-interconnected second terminal device, so that the pre-interconnected second terminal device The device receives and determines whether to interconnect with the first terminal device according to the interconnection request.

进一步地,所述广播模块包括:Further, the broadcast module includes:

查询单元,用于查询所述第一终端设备所在无线局域网中的所有IP地址;a query unit, configured to query all IP addresses in the wireless local area network where the first terminal device is located;

广播单元,用于向所有IP地址广播所述设备查询数据包。A broadcast unit, configured to broadcast the device query data packet to all IP addresses.

进一步地,所述终端设备信息中还包括所述第二终端设备的标识和所述第二终端设备的IP地址,所述获取模块包括:Further, the terminal device information also includes the identifier of the second terminal device and the IP address of the second terminal device, and the obtaining module includes:

获取单元,用于获取从所述终端设备列表中选择的预互联的所述第二终端设备的名称;an obtaining unit, configured to obtain the name of the pre-interconnected second terminal device selected from the terminal device list;

处理单元,用于根据预互联的所述第二终端设备的名称,查询所述终端设备信息得到预互联的所述第二终端设备的标识和预互联的所述第二终端设备的IP地址;A processing unit, configured to query the information of the terminal device according to the name of the pre-interconnected second terminal device to obtain the identifier of the pre-interconnected second terminal device and the IP address of the pre-interconnected second terminal device;

生成单元,用于根据预互联的所述第二终端设备的标识和预互联的所述第二终端设备的IP地址,生成EPC互联请求;A generating unit, configured to generate an EPC interconnection request according to the identifier of the pre-interconnected second terminal device and the IP address of the pre-interconnected second terminal device;

发送单元,用于向预互联的所述第二终端设备发送所述EPC互联请求。A sending unit, configured to send the EPC interconnection request to the pre-interconnected second terminal device.

进一步地,所述第一终端设备包括:计算机、或手机;所述第二终端设备包括:计算机、或手机。Further, the first terminal device includes: a computer or a mobile phone; the second terminal device includes: a computer or a mobile phone.

为了解决上述问题,本发明还公开了一种第二终端设备,所述第二终端设备包括:In order to solve the above problems, the present invention also discloses a second terminal device, the second terminal device includes:

接收模块,用于接收第一终端设备向所述第一终端设备所在无线局域网中的所述第二终端设备的IP地址广播的设备查询数据包;A receiving module, configured to receive a device query data packet broadcast by the first terminal device to the IP address of the second terminal device in the wireless local area network where the first terminal device is located;

返回模块,用于向所述第一终端设备返回终端设备信息,使得第一终端设备接收所述终端设备信息,并根据所述终端设备信息生成并展示终端设备列表,其中,所述终端设备信息中包括所述第二终端设备的名称,所述终端设备列表中包括所述第二终端设备的名称;A return module, configured to return terminal device information to the first terminal device, so that the first terminal device receives the terminal device information, and generates and displays a terminal device list according to the terminal device information, wherein the terminal device information The name of the second terminal device is included in the list, and the name of the second terminal device is included in the list of terminal devices;

确定模块,用于接收并根据所述第一终端设备发送的互联请求,确定是否与所述第一终端设备进行互联,其中,所述第一终端设备发送的互联请求是所述第一终端设备在获取从所述终端设备列表中选择所述第二终端设备与所述第一终端设备进行互联的信息后,向所述第二终端设备发送。A determining module, configured to receive and determine whether to interconnect with the first terminal device according to the interconnection request sent by the first terminal device, wherein the interconnection request sent by the first terminal device is the first terminal device After obtaining the information for selecting the second terminal device to interconnect with the first terminal device from the terminal device list, the information is sent to the second terminal device.

进一步地,当所述终端设备信息中还包括所述第二终端设备的标识和所述第二终端设备的IP地址,所述互联请求为所述第一终端设备根据所述第二终端设备的标识和所述第二终端设备的IP地址生成的EPC互联请求时,所述确定模块包括:Further, when the terminal device information also includes the identifier of the second terminal device and the IP address of the second terminal device, the interconnection request is the first terminal device according to the second terminal device's IP address. When identifying the EPC interconnection request generated by the IP address of the second terminal device, the determining module includes:

接收单元,用于接收所述EPC互联请求;a receiving unit, configured to receive the EPC interconnection request;

判断单元,用于判断所述EPC互联请求中的所述第二终端设备的标识与所述第二终端设备自身的标识是否一致;A judging unit, configured to judge whether the identifier of the second terminal device in the EPC interconnection request is consistent with the identifier of the second terminal device itself;

弹出单元,用于如果判断结果是一致,则弹出互联选择框,其中,所述互联选择框中包括同意互联选项、拒绝互联选项和永久拒绝互联选项;A pop-up unit, configured to pop up an interconnection selection box if the judging result is consistent, wherein the interconnection selection box includes the option to agree to interconnection, the option to reject interconnection, and the option to permanently reject interconnection;

第一确定单元,用于根据通过所述互联选择框选择的互联选项结果,确定是否与所述第一终端设备进行互联。The first determining unit is configured to determine whether to perform interconnection with the first terminal device according to the result of the interconnection option selected through the interconnection selection box.

进一步地,所述第一确定单元包括:Further, the first determination unit includes:

第一接收子单元,用于接收在所述互联选择框中选择所述同意互联选项的信息;The first receiving subunit is configured to receive information that the interconnection option is selected in the interconnection selection box;

建立子单元,用于建立无线直连服务,并生成直连键key;Create a subunit for establishing a wireless direct connection service and generate a direct connection key;

发送子单元,用于将所述直连key发送给所述第一终端设备,使得所述第一终端设备接收到所述直连key后,与所述第二终端设备进行互联。The sending subunit is configured to send the direct connection key to the first terminal device, so that the first terminal device interconnects with the second terminal device after receiving the direct connection key.

进一步地,所述第一确定单元包括:Further, the first determination unit includes:

第二接收子单元,用于接收在所述互联选择框中选择所述拒绝互联选项的信息;The second receiving subunit is configured to receive information indicating that the interconnection rejection option is selected in the interconnection selection box;

拒绝子单元,用于拒绝与所述第一终端设备进行互联。The rejecting subunit is configured to reject interconnection with the first terminal device.

进一步地,所述第一确定单元包括:Further, the first determination unit includes:

第三接收子单元,用于接收在所述互联选择框中选择所述永久拒绝互联选项的信息;A third receiving subunit, configured to receive information indicating that the option of permanently rejecting interconnection is selected in the interconnection selection box;

处理子单元,用于拒绝与所述第一终端设备进行互联,并将所述第一终端设备加入所述第二终端设备的黑名单中。The processing subunit is configured to refuse interconnection with the first terminal device, and add the first terminal device to the blacklist of the second terminal device.

进一步地,当所述互联请求中包括所述第一终端设备的标识时,所述确定模块包括:Further, when the interconnection request includes the identifier of the first terminal device, the determining module includes:

标识获取单元,用于接收所述第一终端设备发送的互联请求,得到所述第一终端设备的标识;An identification obtaining unit, configured to receive the interconnection request sent by the first terminal device, and obtain the identification of the first terminal device;

名单查询单元,用于查询所述第一终端设备的标识是否在本地白名单数据库或本地黑名单数据库中;a list query unit, configured to query whether the identifier of the first terminal device is in a local whitelist database or a local blacklist database;

第二确定单元,用于如果所述第一终端设备的标识在本地白名单数据库中,则确定与所述第一终端设备进行互联;A second determining unit, configured to determine to interconnect with the first terminal device if the identifier of the first terminal device is in a local whitelist database;

第三确定单元,用于如果所述第一终端设备的标识在本地黑名单数据库中,则确定不与所述第一终端设备进行互联。A third determining unit, configured to determine not to interconnect with the first terminal device if the identifier of the first terminal device is in the local blacklist database.

进一步地,所述第一终端设备包括:计算机、或手机;所述第二终端设备包括:计算机、或手机。Further, the first terminal device includes: a computer or a mobile phone; the second terminal device includes: a computer or a mobile phone.

为了解决上述问题,本发明还公开了一种无线局域网中终端设备互联的系统,所述系统包括上述的任一第一终端设备,和/或上述的任一第二终端设备。In order to solve the above problems, the present invention also discloses a system for interconnecting terminal devices in a wireless local area network. The system includes any of the above-mentioned first terminal devices, and/or any of the above-mentioned second terminal devices.

与现有技术相比,本发明可以获得包括以下技术效果:Compared with prior art, the present invention can obtain and comprise following technical effect:

第一终端设备向第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,第一终端设备接收第二终端设备返回的终端设备信息,并根据终端设备信息生成并展示终端设备列表,第一终端设备获取从终端设备列表中选择的预互联的第二终端设备的名称,向预互联的第二终端设备发送互联请求,使得第二终端设备接收并根据互联请求,确定是否与第一终端设备进行互联,不需要手动进行相应的设置操作即可实现互联,使用方便快捷。The first terminal device broadcasts device query data packets to all IP addresses in the wireless local area network where the first terminal device is located, the first terminal device receives the terminal device information returned by the second terminal device, and generates and displays the terminal device list according to the terminal device information, The first terminal device obtains the name of the pre-interconnected second terminal device selected from the terminal device list, and sends an interconnection request to the pre-interconnected second terminal device, so that the second terminal device receives and determines whether to connect with the first terminal device according to the interconnection request. The terminal devices are interconnected, and the interconnection can be realized without manual corresponding setting operations, which is convenient and quick to use.

当然,实施本发明的任一产品必不一定需要同时达到以上所述的所有技术效果。Of course, implementing any product of the present invention does not necessarily need to achieve all the technical effects described above at the same time.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention, and constitute a part of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention, and do not constitute improper limitations to the present invention. In the attached picture:

图1是本发明实施例的第一种无线局域网中终端设备互联的方法流程图;FIG. 1 is a flowchart of a first method for interconnecting terminal devices in a wireless local area network according to an embodiment of the present invention;

图2是本发明实施例的第二种无线局域网中终端设备互联的方法流程图;2 is a flowchart of a second method for interconnecting terminal devices in a wireless local area network according to an embodiment of the present invention;

图3是本发明实施例的第一终端设备的装置结构示意图;FIG. 3 is a schematic diagram of a device structure of a first terminal device according to an embodiment of the present invention;

图4是本发明实施例的第二终端设备的装置结构示意图。FIG. 4 is a schematic diagram of a device structure of a second terminal device according to an embodiment of the present invention.

具体实施方式Detailed ways

以下将配合附图及实施例来详细说明本发明的实施方式,藉此对本发明如何应用技术手段来解决技术问题并达成技术功效的实现过程能充分理解并据以实施。The implementation of the present invention will be described in detail below with reference to the drawings and examples, so as to fully understand and implement the implementation process of how to use technical means to solve technical problems and achieve technical effects in the present invention.

实施例描述Example description

下面以一实施例对本发明方法的实现作进一步说明。如图1所示,为本发明实施例的一种无线局域网中终端设备互联的方法流程图,该方法包括:The implementation of the method of the present invention will be further described below with an embodiment. As shown in FIG. 1, it is a flowchart of a method for interconnecting terminal devices in a wireless local area network according to an embodiment of the present invention. The method includes:

S101:第一终端设备向第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,使得接收到设备查询数据包的所有第二终端设备向第一终端设备返回终端设备信息。S101: The first terminal device broadcasts a device query data packet to all IP addresses in the wireless local area network where the first terminal device is located, so that all second terminal devices that have received the device query data packet return terminal device information to the first terminal device.

其中,终端设备信息中包括第二终端设备的名称。第一终端设备包括:计算机(台式、笔记本式、平板式计算机等)、或手机等任何可以连接无线局域网的终端设备;第二终端设备包括:计算机、或手机等任何可以连接无线局域网的终端设备。无线局域网可以是Wifi无线局域网等。Wherein, the terminal device information includes the name of the second terminal device. The first terminal equipment includes: computers (desktops, notebooks, tablet computers, etc.), or mobile phones, etc. any terminal equipment that can be connected to a wireless local area network; the second terminal equipment includes: computers, or mobile phones, etc. Any terminal equipment that can be connected to a wireless local area network . The wireless local area network may be a Wifi wireless local area network or the like.

具体地,第一终端设备不知道第一终端设备所在无线局域网中哪个IP地址有终端设备在线,所以向第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包。Specifically, the first terminal device does not know which IP address in the wireless local area network where the first terminal device is located has a terminal device online, so it broadcasts the query data packet to all IP addresses in the wireless local area network where the first terminal device is located.

其中,第一终端设备向第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,包括:Wherein, the first terminal device queries data packets from all IP address broadcasting devices in the wireless local area network where the first terminal device is located, including:

第一终端设备查询第一终端设备所在无线局域网中的所有IP地址;The first terminal device queries all IP addresses in the wireless local area network where the first terminal device is located;

第一终端设备向所有IP地址广播设备查询数据包。The first terminal device queries all IP address broadcasting devices for data packets.

具体地,第一终端设备可以采用任何可行的方法查询第一终端设备所在无线局域网中的所有IP地址,如可以采用局域网查看工具进行查询等。Specifically, the first terminal device may use any feasible method to query all IP addresses in the wireless local area network where the first terminal device is located, for example, a LAN viewing tool may be used for querying.

S102:第一终端设备接收终端设备信息,并根据终端设备信息生成并展示终端设备列表。S102: The first terminal device receives terminal device information, and generates and displays a terminal device list according to the terminal device information.

其中,终端设备列表中包括所有第二终端设备的名称。Wherein, the terminal device list includes names of all second terminal devices.

具体地,第一终端设备接收终端设备信息,知道第一终端设备所在无线局域网中哪个IP地址有终端设备在线,并根据终端设备信息,将在线的所有第二终端设备的名称形成终端设备列表。Specifically, the first terminal device receives terminal device information, knows which IP address in the wireless local area network where the first terminal device is located has a terminal device online, and forms a terminal device list with names of all online second terminal devices according to the terminal device information.

S103:第一终端设备获取从终端设备列表中选择的预互联的第二终端设备的名称,向预互联的第二终端设备发送互联请求,使得第二终端设备接收并根据互联请求,确定是否与第一终端设备进行互联。S103: The first terminal device acquires the name of the pre-interconnected second terminal device selected from the terminal device list, and sends an interconnection request to the pre-interconnected second terminal device, so that the second terminal device receives and determines whether to communicate with the pre-interconnected second terminal device according to the interconnection request. The first terminal device is interconnected.

其中,终端设备信息中还包括第二终端设备的标识和第二终端设备的IP地址,第一终端设备获取从终端设备列表中选择的预互联的第二终端设备的名称,向预互联的第二终端设备发送互联请求,包括:Wherein, the terminal device information also includes the identifier of the second terminal device and the IP address of the second terminal device, the first terminal device obtains the name of the pre-interconnected second terminal device selected from the terminal device list, and sends the The second terminal device sends an interconnection request, including:

第一终端设备获取从终端设备列表中选择的预互联的第二终端设备的名称;The first terminal device obtains the name of the pre-interconnected second terminal device selected from the terminal device list;

第一终端设备根据预互联的第二终端设备的名称,查询预互联的第二终端设备的标识和预互联的第二终端设备的IP地址;The first terminal device queries the identity of the pre-interconnected second terminal device and the IP address of the pre-interconnected second terminal device according to the name of the pre-interconnected second terminal device;

第一终端设备根据预互联的第二终端设备的标识和预互联的第二终端设备的IP地址,生成EPC互联请求;The first terminal device generates an EPC interconnection request according to the identifier of the pre-interconnected second terminal device and the IP address of the pre-interconnected second terminal device;

第一终端设备向预互联的第二终端设备发送EPC互联请求。The first terminal device sends an EPC interconnection request to the pre-interconnected second terminal device.

其中,第二终端设备的标识用于唯一识别该终端设备,当第二终端设备是手机时,标识可以是IMEI(International Mobile Equipment Identity,移动设备国际辨识码)。Wherein, the identifier of the second terminal device is used to uniquely identify the terminal device. When the second terminal device is a mobile phone, the identifier may be IMEI (International Mobile Equipment Identity, International Mobile Equipment Identification Code).

具体地,用户可以根据终端设备列表中展示的所有第二终端设备的名称,从中选择预与第一终端设备进行互联的预互联的第二终端设备的名称(可以选择一个或多个第二终端设备的名称,实现一个或多个第二终端设备与第一终端设备进行互联)。当第一终端设备获取从终端设备列表中选择的预互联的第二终端设备的名称后,向预互联的第二终端设备发送互联请求,使得第二终端设备接收并根据互联请求,确定是否与第一终端设备进行互联,不需要手工进行设置操作,即可实现终端设备之间的互联,方便快捷。Specifically, the user can select the name of the pre-interconnected second terminal device that is pre-interconnected with the first terminal device according to the names of all the second terminal devices displayed in the terminal device list (one or more second terminal devices can be selected The name of the device, to realize the interconnection between one or more second terminal devices and the first terminal device). After the first terminal device obtains the name of the pre-interconnected second terminal device selected from the terminal device list, it sends an interconnection request to the pre-interconnected second terminal device, so that the second terminal device receives and determines whether to connect with the The first terminal device is interconnected, and the interconnection between terminal devices can be realized without manual setting operation, which is convenient and fast.

具体地,本实施例的方法可以通过PC端手机助手、手机端手机助手实现,可以通过下面的方法实现在手机端安装或调起手机端手机助手:用户在PC端手机助手中输入待连接手机端的手机号后,PC端手机助手会向此手机号发送一条连接短信,连接短信中包含一个短链接和验证码,短链接将指向引导安装或调起手机端手机助手。在用户点击连接短信中的短链接时跳转到一个长链接,该长链接打开一个检测手机端是否已安装手机端手机助手的网页。如果检测到手机端未安装手机端手机助手,网页将引导用户输入验证码安装手机端手机助手;如果检测到手机端已安装手机端手机助手,网页将向手机端传递一个参数调起已安装的手机端手机助手,从而保证了手机端通过该短链接调起手机端手机助手。Specifically, the method of this embodiment can be realized through the mobile phone assistant at the PC end and the mobile phone assistant at the mobile phone end, and the installation or deployment of the mobile phone assistant at the mobile phone end can be realized through the following method: After entering the mobile phone number on the PC terminal, the mobile assistant on the PC terminal will send a connection text message to the mobile phone number. The connection text message contains a short link and a verification code. The short link will point to guide the installation or call the mobile terminal mobile assistant. When the user clicks the short link in the connection message, it jumps to a long link, and the long link opens a webpage for detecting whether the mobile phone assistant has been installed on the mobile phone. If it is detected that the mobile phone assistant is not installed on the mobile phone, the web page will guide the user to enter the verification code to install the mobile phone assistant; The mobile phone assistant at the mobile phone terminal, thereby ensuring that the mobile phone terminal calls the mobile phone assistant at the mobile phone terminal through the short link.

具体地,用户可以直接点击连接短信中的短链接跳转到一个长链接,进入其打开的一个检测手机端是否已安装手机端手机助手的网页,或者,用户也可以提取连接短信中的短链接并在浏览器输入从而跳转到一个长链接,进入其打开的一个检测手机端是否已安装手机端手机助手的网页。Specifically, the user can directly click on the short link in the connecting text message to jump to a long link, and enter a web page opened by it to detect whether the mobile phone assistant has been installed on the mobile phone, or the user can also extract the short link in the connecting text message And enter in the browser to jump to a long link, and enter a webpage opened by it to detect whether the mobile phone assistant has been installed on the mobile phone.

具体地,用户只需通过PC端手机助手向手机端发送一条连接短信,手机端用户点击连接短信中的短链接即可在手机端安装或调起手机端手机助手,方便快捷。Specifically, the user only needs to send a connection text message to the mobile phone through the mobile phone assistant on the PC side, and the mobile phone user can click the short link in the connection text message to install or call up the mobile phone assistant on the mobile phone side, which is convenient and quick.

本实施例所述的无线局域网中终端设备互联的方法,第一终端设备向第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,第一终端设备接收第二终端设备返回的终端设备信息,并根据终端设备信息生成并展示终端设备列表,第一终端设备获取从终端设备列表中选择的预互联的第二终端设备的名称,向预互联的第二终端设备发送互联请求,使得第二终端设备接收并根据互联请求,确定是否与第一终端设备进行互联,不需要手动进行相应的设置操作即可实现互联,使用方便快捷。In the method for interconnecting terminal devices in the wireless local area network described in this embodiment, the first terminal device queries data packets from all IP address broadcasting devices in the wireless local area network where the first terminal device is located, and the first terminal device receives the terminal returned by the second terminal device device information, and generate and display a terminal device list according to the terminal device information, the first terminal device obtains the name of the pre-interconnected second terminal device selected from the terminal device list, and sends an interconnection request to the pre-interconnected second terminal device, so that The second terminal device receives and determines whether to interconnect with the first terminal device according to the interconnection request, and interconnection can be realized without manual corresponding setting operations, which is convenient and quick to use.

下面以另一实施例对本发明方法的实现作进一步说明。如图2所示,为本发明实施例的一种无线局域网中终端设备互联的方法流程图,该方法包括:The implementation of the method of the present invention will be further described below with another embodiment. As shown in FIG. 2, it is a flow chart of a method for interconnecting terminal devices in a wireless local area network according to an embodiment of the present invention. The method includes:

S201:第二终端设备接收第一终端设备向第一终端设备所在无线局域网中的第二终端设备的IP地址广播的设备查询数据包。S201: The second terminal device receives a device query data packet broadcast by the first terminal device to the IP address of the second terminal device in the wireless local area network where the first terminal device is located.

其中,第一终端设备包括:计算机(台式、笔记本式、平板式计算机等)、或手机等任何可以连接无线局域网的终端设备;第二终端设备包括:计算机、或手机等任何可以连接无线局域网的终端设备。无线局域网可以是Wifi无线局域网等。Wherein, the first terminal device includes: computer (desktop, notebook, tablet computer, etc.), or any terminal device that can connect to the wireless local area network, such as a mobile phone; the second terminal device includes: any terminal device that can connect to the wireless local area network, such as a computer or a mobile phone Terminal Equipment. The wireless local area network may be a Wifi wireless local area network or the like.

具体地,第一终端设备不知道第一终端设备所在无线局域网中哪个IP地址有终端设备在线,所以向第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包。从而第二终端设备接收到第一终端设备向第一终端设备所在无线局域网中的第二终端设备的IP地址广播的设备查询数据包。Specifically, the first terminal device does not know which IP address in the wireless local area network where the first terminal device is located has a terminal device online, so it broadcasts the query data packet to all IP addresses in the wireless local area network where the first terminal device is located. Thus, the second terminal device receives the device query data packet broadcast by the first terminal device to the IP address of the second terminal device in the wireless local area network where the first terminal device is located.

S202:第二终端设备向第一终端设备返回终端设备信息,使得第一终端设备接收终端设备信息,并根据终端设备信息展示终端设备列表。S202: The second terminal device returns terminal device information to the first terminal device, so that the first terminal device receives the terminal device information, and displays a terminal device list according to the terminal device information.

其中,终端设备信息中包括第二终端设备的名称,终端设备列表中包括第二终端设备的名称。Wherein, the terminal device information includes the name of the second terminal device, and the terminal device list includes the name of the second terminal device.

具体地,第一终端设备接收终端设备信息,知道第一终端设备所在无线局域网中哪个IP地址有终端设备在线,并根据终端设备信息,将在线的所有第二终端设备的名称形成终端设备列表。Specifically, the first terminal device receives terminal device information, knows which IP address in the wireless local area network where the first terminal device is located has a terminal device online, and forms a terminal device list with names of all online second terminal devices according to the terminal device information.

S203:第二终端设备接收并根据第一终端设备发送的互联请求,确定是否与第一终端设备进行互联,其中,第一终端设备发送的互联请求是第一终端设备在获取从终端设备列表中选择第二终端设备与第一终端设备进行互联的信息后,向第二终端设备发送。S203: The second terminal device receives and determines whether to interconnect with the first terminal device according to the interconnection request sent by the first terminal device, wherein the interconnection request sent by the first terminal device is obtained by the first terminal device from the terminal device list After the information about the interconnection between the second terminal device and the first terminal device is selected, it is sent to the second terminal device.

其中,当终端设备信息中还包括第二终端设备的标识和第二终端设备的IP地址,互联请求为第一终端设备根据第二终端设备的标识和第二终端设备的IP地址生成的EPC互联请求时,第二终端设备接收并根据第一终端设备发送的互联请求,确定是否与第一终端设备进行互联,包括:Wherein, when the terminal device information also includes the identifier of the second terminal device and the IP address of the second terminal device, the interconnection request is an EPC interconnection request generated by the first terminal device according to the identifier of the second terminal device and the IP address of the second terminal device. When requesting, the second terminal device receives and determines whether to interconnect with the first terminal device according to the interconnection request sent by the first terminal device, including:

第二终端设备接收EPC互联请求;The second terminal device receives the EPC interconnection request;

第二终端设备判断EPC互联请求中的第二终端设备的标识与第二终端设备自身的标识是否一致;The second terminal device judges whether the identification of the second terminal device in the EPC interconnection request is consistent with the identification of the second terminal device itself;

如果判断结果是一致,则第二终端设备弹出互联选择框,其中,互联选择框中包括同意互联选项、拒绝互联选项和永久拒绝互联选项;If the judgment result is consistent, the second terminal device pops up an interconnection selection box, wherein, the interconnection selection box includes the option of agreeing to interconnection, rejecting the option of interconnection and permanently rejecting the option of interconnection;

第二终端设备根据通过互联选择框选择的互联选项结果,确定是否与第一终端设备进行互联。The second terminal device determines whether to interconnect with the first terminal device according to the result of the interconnection option selected through the interconnection selection box.

具体地,如果判断结果是不一致,则第二终端设备不弹出互联选择框,避免当互联请求不是针对第二终端设备自身时,也弹出互联选择框,避免误弹。Specifically, if the judgment result is inconsistent, the second terminal device does not pop up the interconnection selection box, so as to avoid popping up the interconnection selection box when the interconnection request is not for the second terminal device itself, and avoiding false popping.

具体地,第一:当用户在互联选择框中选择同意互联选项时,第二终端设备根据通过互联选择框选择的互联选项结果,确定是否与第一终端设备进行互联,包括:Specifically, first: when the user chooses to agree to the interconnection option in the interconnection selection box, the second terminal device determines whether to interconnect with the first terminal device according to the result of the interconnection option selected through the interconnection selection box, including:

第二终端设备接收在互联选择框中选择同意互联选项的信息;The second terminal device receives the information of selecting and agreeing to the interconnection option in the interconnection selection box;

第二终端设备建立无线直连服务,并生成直连键key;The second terminal device establishes a wireless direct connection service, and generates a direct connection key;

第二终端设备将直连key发送给第一终端设备,使得第一终端设备接收到直连key后,与第二终端设备进行互联。The second terminal device sends the direct connection key to the first terminal device, so that the first terminal device interconnects with the second terminal device after receiving the direct connection key.

第二,当用户在互联选择框中选择拒绝互联选项时,第二终端设备根据通过互联选择框选择的互联选项结果,确定是否与第一终端设备进行互联,包括:Second, when the user selects the reject interconnection option in the interconnection selection box, the second terminal device determines whether to interconnect with the first terminal device according to the result of the interconnection option selected through the interconnection selection box, including:

第二终端设备接收在互联选择框中选择拒绝互联选项的信息;The second terminal device receives the information that the interconnection rejection option is selected in the interconnection selection box;

第二终端设备拒绝与第一终端设备进行互联。The second terminal device refuses to interconnect with the first terminal device.

第三,当用户在互联选择框中选择永久拒绝互联选项时,第二终端设备根据通过互联选择框选择的互联选项结果,确定是否与第一终端设备进行互联,包括:Third, when the user selects the option of permanently rejecting interconnection in the interconnection selection box, the second terminal device determines whether to interconnect with the first terminal device according to the result of the interconnection option selected through the interconnection selection box, including:

第二终端设备接收在互联选择框中选择永久拒绝互联选项的信息;The second terminal device receives information that permanently rejects the interconnection option in the interconnection selection box;

第二终端设备拒绝与第一终端设备进行互联,并将第一终端设备加入第二终端设备的黑名单中。The second terminal device refuses to interconnect with the first terminal device, and adds the first terminal device to the blacklist of the second terminal device.

具体地,通过设置永久拒绝互联选项,将第一终端设备加入第二终端设备的黑名单中,第二终端设备终止接收第一终端设备发送的互联请求,使得可以避免受到恶意终端设备发送的互联请求,防止被破解,进行恶意利用。如:在公共场合(如咖啡厅、飞机场等),恶意第一终端设备通过本实施例的方法向第二终端设备发送互联请求,则第二终端设备可以选择永久拒绝互联选项,将第一终端设备加入第二终端设备的黑名单中,终止接收第一终端设备发送的互联请求。Specifically, by setting the option of permanently denying interconnection, the first terminal device is added to the blacklist of the second terminal device, and the second terminal device stops receiving the interconnection request sent by the first terminal device, so that it can avoid receiving the interconnection request sent by a malicious terminal device. request, prevent it from being cracked and used maliciously. For example: in public places (such as coffee shops, airports, etc.), the malicious first terminal device sends an interconnection request to the second terminal device through the method of this embodiment, then the second terminal device can choose to permanently reject the interconnection option, and the first The terminal device is added to the blacklist of the second terminal device, and stops receiving the interconnection request sent by the first terminal device.

具体地,当互联请求中包括第一终端设备的标识时,第二终端设备接收并根据第一终端设备发送的互联请求,确定是否与第一终端设备进行互联,包括:Specifically, when the interconnection request includes the identifier of the first terminal device, the second terminal device receives and determines whether to interconnect with the first terminal device according to the interconnection request sent by the first terminal device, including:

第二终端设备接收第一终端设备发送的互联请求,得到第一终端设备的标识;The second terminal device receives the interconnection request sent by the first terminal device, and obtains the identifier of the first terminal device;

第二终端设备查询第一终端设备的标识是否在本地白名单数据库或本地黑名单数据库中;The second terminal device queries whether the identifier of the first terminal device is in the local whitelist database or the local blacklist database;

如果第一终端设备的标识在本地白名单数据库中,则第二终端设备确定与第一终端设备进行互联;If the identifier of the first terminal device is in the local whitelist database, the second terminal device determines to interconnect with the first terminal device;

如果第一终端设备的标识在本地黑名单数据库中,则第二终端设备确定不与第一终端设备进行互联。If the identifier of the first terminal device is in the local blacklist database, the second terminal device determines not to interconnect with the first terminal device.

并且,需要说明的是,第二终端设备接收并根据第一终端设备发送的互联请求,确定与第一终端设备进行互联后,还可以包括:In addition, it should be noted that after the second terminal device receives and determines the interconnection with the first terminal device according to the interconnection request sent by the first terminal device, it may further include:

第二终端设备接收第一终端设备发送的至少一张待播放图片和播放命令;The second terminal device receives at least one picture to be played and a play command sent by the first terminal device;

第二终端设备根据播放命令控制至少一张待播放图片在第二终端设备播放。The second terminal device controls at least one picture to be played to be played on the second terminal device according to the play command.

具体地,播放命令包括:自动播放图片的命令、通知第二终端设备从第一终端设备中获取图片并播放的命令、播放当前图片的下一张图片的命令、播放当前图片的上一张图片的命令、放大当前图片的命令、缩小当前图片的命令、或旋转当前图片的命令。其中第二终端设备在接收到自动播放图片的命令后,会自动播放接收到的来自第一终端设备中的图片;第二终端设备在接收到来自第一终端设备的播放当前图片的下一张或上一张图片的命令时,在第二终端设备上播放图片的效果为自动播放当前图片的下一张或上一张图片,从而实现了第一终端设备可以通过播放命令来控制第二终端设备播放接收到的图片。Specifically, the play command includes: a command to automatically play a picture, a command to notify the second terminal device to obtain a picture from the first terminal device and play it, a command to play the next picture of the current picture, and a command to play the previous picture of the current picture. command to zoom in the current picture, zoom out the current picture, or rotate the current picture. Wherein the second terminal device will automatically play the received picture from the first terminal device after receiving the command to play the picture automatically; or the previous picture command, the effect of playing the picture on the second terminal device is to automatically play the next or previous picture of the current picture, so that the first terminal device can control the second terminal through the play command The device plays the received picture.

具体地,第二终端设备可以采用以下两种方式获取第一终端设备中的待播放图片:Specifically, the second terminal device can obtain the picture to be played in the first terminal device in the following two ways:

方式一:第一终端设备直接将至少一张待播放图片的内容发送给第二终端设备。Way 1: The first terminal device directly sends the content of at least one picture to be played to the second terminal device.

方式二:第一终端设备将至少一张待播放图片的地址信息发送给第二终端设备,由第二终端设备根据所述地址信息从第一终端设备中获取所述至少一张待播放图片,并由第二终端设备根据播放命令控制至少一张待播放图片在第二终端设备播放,Method 2: The first terminal device sends the address information of at least one picture to be played to the second terminal device, and the second terminal device acquires the at least one picture to be played from the first terminal device according to the address information, And the second terminal device controls at least one picture to be played to be played on the second terminal device according to the play command,

本实施例所述的无线局域网中终端设备互联的方法,第二终端设备接收第一终端设备向第一终端设备所在无线局域网中的第二终端设备的IP地址广播的设备查询数据包,第二终端设备向第一终端设备返回终端设备信息,使得第一终端设备接收终端设备信息,并根据终端设备信息展示终端设备列表,第二终端设备接收并根据第一终端设备发送的互联请求,确定是否与第一终端设备进行互联,不需要手动进行相应的设置操作即可实现互联,使用方便快捷。In the method for interconnecting terminal devices in the wireless local area network described in this embodiment, the second terminal device receives the device query data packet broadcast by the first terminal device to the IP address of the second terminal device in the wireless local area network where the first terminal device is located, and the second The terminal device returns terminal device information to the first terminal device, so that the first terminal device receives the terminal device information, and displays a list of terminal devices according to the terminal device information, and the second terminal device receives and determines whether to The interconnection with the first terminal device can be realized without manual corresponding setting operation, which is convenient and quick to use.

如图3所示,是本发明实施例的一种第一终端设备的装置结构图,该第一终端设备包括:As shown in FIG. 3 , it is a device structure diagram of a first terminal device according to an embodiment of the present invention, and the first terminal device includes:

广播模块301,用于向第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,使得接收到设备查询数据包的所有第二终端设备向第一终端设备返回终端设备信息,其中,终端设备信息中包括第二终端设备的名称;The broadcast module 301 is configured to broadcast a device query data packet to all IP addresses in the wireless local area network where the first terminal device is located, so that all second terminal devices that receive the device query data packet return terminal device information to the first terminal device, wherein, The terminal device information includes the name of the second terminal device;

接收模块302,用于接收终端设备信息,并根据终端设备信息生成并展示终端设备列表,其中,终端设备列表中包括所有第二终端设备的名称;The receiving module 302 is configured to receive terminal device information, and generate and display a terminal device list according to the terminal device information, wherein the terminal device list includes names of all second terminal devices;

获取模块303,用于获取从终端设备列表中选择的预互联的第二终端设备的名称,向预互联的第二终端设备发送互联请求,使得预互联的第二终端设备接收并根据互联请求,确定是否与第一终端设备进行互联。The acquiring module 303 is configured to acquire the name of the pre-interconnected second terminal device selected from the terminal device list, and send an interconnection request to the pre-interconnected second terminal device, so that the pre-interconnected second terminal device receives and according to the interconnection request, Determine whether to interconnect with the first terminal device.

进一步地,广播模块301包括:Further, the broadcast module 301 includes:

查询单元,用于查询第一终端设备所在无线局域网中的所有IP地址;a query unit, configured to query all IP addresses in the wireless local area network where the first terminal device is located;

广播单元,用于向所有IP地址广播设备查询数据包。The broadcast unit is used to query data packets to all IP address broadcast devices.

进一步地,终端设备信息中还包括第二终端设备的标识和第二终端设备的IP地址,获取模块303包括:Further, the terminal device information also includes the identifier of the second terminal device and the IP address of the second terminal device, and the obtaining module 303 includes:

获取单元,用于获取从终端设备列表中选择的预互联的第二终端设备的名称;an obtaining unit, configured to obtain the name of the pre-interconnected second terminal device selected from the terminal device list;

处理单元,用于根据预互联的第二终端设备的名称,查询终端设备信息得到预互联的第二终端设备的标识和预互联的第二终端设备的IP地址;The processing unit is configured to query terminal device information according to the name of the pre-interconnected second terminal device to obtain the identifier of the pre-interconnected second terminal device and the IP address of the pre-interconnected second terminal device;

生成单元,用于根据预互联的第二终端设备的标识和预互联的第二终端设备的IP地址,生成EPC互联请求;A generating unit, configured to generate an EPC interconnection request according to the identifier of the pre-interconnected second terminal device and the IP address of the pre-interconnected second terminal device;

发送单元,用于向预互联的第二终端设备发送EPC互联请求。A sending unit, configured to send an EPC interconnection request to the pre-interconnected second terminal device.

进一步地,第一终端设备包括:计算机、或手机;第二终端设备包括:计算机、或手机。Further, the first terminal device includes: a computer or a mobile phone; the second terminal device includes: a computer or a mobile phone.

本实施例所述的第一终端设备,第一终端设备向第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,第一终端设备接收第二终端设备返回的终端设备信息,并根据终端设备信息生成并展示终端设备列表,第一终端设备获取从终端设备列表中选择的预互联的第二终端设备的名称,向预互联的第二终端设备发送互联请求,使得第二终端设备接收并根据互联请求,确定是否与第一终端设备进行互联,不需要手动进行相应的设置操作即可实现互联,使用方便快捷。For the first terminal device described in this embodiment, the first terminal device queries data packets from all IP address broadcast devices in the wireless local area network where the first terminal device is located, and the first terminal device receives the terminal device information returned by the second terminal device, and Generate and display a terminal device list according to the terminal device information, the first terminal device obtains the name of the pre-interconnected second terminal device selected from the terminal device list, and sends an interconnection request to the pre-interconnected second terminal device, so that the second terminal device Receive and determine whether to interconnect with the first terminal device according to the interconnection request, and interconnection can be realized without manual corresponding setting operations, which is convenient and quick to use.

如图4所示,是本发明实施例提供的一种第二终端设备的装置结构图,第二终端设备包括:As shown in FIG. 4, it is a device structure diagram of a second terminal device provided by an embodiment of the present invention. The second terminal device includes:

接收模块401,用于接收第一终端设备向第一终端设备所在无线局域网中的第二终端设备的IP地址广播的设备查询数据包;The receiving module 401 is configured to receive a device query data packet broadcast by the first terminal device to the IP address of the second terminal device in the wireless local area network where the first terminal device is located;

返回模块402,用于向第一终端设备返回终端设备信息,使得第一终端设备接收终端设备信息,并根据终端设备信息生成并展示终端设备列表,其中,终端设备信息中包括第二终端设备的名称,终端设备列表中包括第二终端设备的名称;The returning module 402 is configured to return terminal device information to the first terminal device, so that the first terminal device receives the terminal device information, and generates and displays a terminal device list according to the terminal device information, wherein the terminal device information includes the information of the second terminal device name, the terminal device list includes the name of the second terminal device;

确定模块403,用于接收并根据第一终端设备发送的互联请求,确定是否与第一终端设备进行互联,其中,第一终端设备发送的互联请求是第一终端设备在获取从终端设备列表中选择第二终端设备与第一终端设备进行互联的信息后,向第二终端设备发送。The determination module 403 is configured to receive and determine whether to perform interconnection with the first terminal device according to the interconnection request sent by the first terminal device, wherein the interconnection request sent by the first terminal device is obtained by the first terminal device from the terminal device list After the information about the interconnection between the second terminal device and the first terminal device is selected, it is sent to the second terminal device.

进一步地,当终端设备信息中还包括第二终端设备的标识和第二终端设备的IP地址,互联请求为第一终端设备根据第二终端设备的标识和第二终端设备的IP地址生成的EPC互联请求时,确定模块403包括:Further, when the terminal device information also includes the identifier of the second terminal device and the IP address of the second terminal device, the interconnection request is an EPC generated by the first terminal device according to the identifier of the second terminal device and the IP address of the second terminal device. When requesting for interconnection, the determining module 403 includes:

接收单元,用于接收EPC互联请求;a receiving unit, configured to receive an EPC interconnection request;

判断单元,用于判断EPC互联请求中的第二终端设备的标识与第二终端设备自身的标识是否一致;A judging unit, configured to judge whether the identifier of the second terminal device in the EPC interconnection request is consistent with the identifier of the second terminal device itself;

弹出单元,用于如果判断结果是一致,则弹出互联选择框,其中,互联选择框中包括同意互联选项、拒绝互联选项和永久拒绝互联选项;The pop-up unit is used to pop up the interconnection selection box if the judgment result is consistent, wherein the interconnection selection box includes the option of agreeing to interconnection, rejecting the option of interconnection and permanently rejecting the option of interconnection;

第一确定单元,用于根据通过互联选择框选择的互联选项结果,确定是否与第一终端设备进行互联。The first determination unit is configured to determine whether to perform interconnection with the first terminal device according to the result of the interconnection option selected through the interconnection selection box.

进一步地,第一确定单元包括:Further, the first determining unit includes:

第一接收子单元,用于接收在互联选择框中选择同意互联选项的信息;The first receiving subunit is used to receive the information of choosing to agree to the interconnection option in the interconnection selection box;

建立子单元,用于建立无线直连服务,并生成直连键key;Create a subunit for establishing a wireless direct connection service and generate a direct connection key;

发送子单元,用于将直连key发送给第一终端设备,使得第一终端设备接收到直连key后,与第二终端设备进行互联。The sending subunit is configured to send the direct connection key to the first terminal device, so that the first terminal device interconnects with the second terminal device after receiving the direct connection key.

进一步地,第一确定单元包括:Further, the first determining unit includes:

第二接收子单元,用于接收在互联选择框中选择拒绝互联选项的信息;The second receiving subunit is used to receive the information of selecting the option of rejecting interconnection in the interconnection selection box;

拒绝子单元,用于拒绝与第一终端设备进行互联。The rejecting subunit is configured to reject interconnection with the first terminal device.

进一步地,第一确定单元包括:Further, the first determining unit includes:

第三接收子单元,用于接收在互联选择框中选择永久拒绝互联选项的信息;The third receiving subunit is used to receive the information that the option of permanently rejecting interconnection is selected in the interconnection selection box;

处理子单元,用于拒绝与第一终端设备进行互联,并将第一终端设备加入第二终端设备的黑名单中。The processing subunit is configured to refuse interconnection with the first terminal device, and add the first terminal device to the blacklist of the second terminal device.

进一步地,当互联请求中包括第一终端设备的标识时,确定模块403包括:Further, when the interconnection request includes the identifier of the first terminal device, the determining module 403 includes:

标识获取单元,用于接收第一终端设备发送的互联请求,得到第一终端设备的标识;An identification obtaining unit, configured to receive an interconnection request sent by the first terminal device, and obtain the identification of the first terminal device;

名单查询单元,用于查询第一终端设备的标识是否在本地白名单数据库或本地黑名单数据库中;A list query unit, configured to query whether the identifier of the first terminal device is in the local whitelist database or the local blacklist database;

第二确定单元,用于如果第一终端设备的标识在本地白名单数据库中,则确定与第一终端设备进行互联;The second determining unit is configured to determine to interconnect with the first terminal device if the identifier of the first terminal device is in the local whitelist database;

第三确定单元,用于如果第一终端设备的标识在本地黑名单数据库中,则确定不与第一终端设备进行互联。The third determining unit is configured to determine not to interconnect with the first terminal device if the identifier of the first terminal device is in the local blacklist database.

进一步地,第一终端设备包括:计算机、或手机;第二终端设备包括:计算机、或手机。Further, the first terminal device includes: a computer or a mobile phone; the second terminal device includes: a computer or a mobile phone.

本实施例所述的第二终端设备,第二终端设备接收第一终端设备向第一终端设备所在无线局域网中的第二终端设备的IP地址广播的设备查询数据包,第二终端设备向第一终端设备返回终端设备信息,使得第一终端设备接收终端设备信息,并根据终端设备信息展示终端设备列表,第二终端设备接收并根据第一终端设备发送的互联请求,确定是否与第一终端设备进行互联,不需要手动进行相应的设置操作即可实现互联,使用方便快捷。For the second terminal device described in this embodiment, the second terminal device receives the device query data packet broadcast by the first terminal device to the IP address of the second terminal device in the wireless local area network where the first terminal device is located, and the second terminal device sends the A terminal device returns terminal device information, so that the first terminal device receives the terminal device information, and displays a terminal device list according to the terminal device information, and the second terminal device receives and determines whether to connect with the first terminal device according to the interconnection request sent by the first terminal device. The devices are interconnected, and the interconnection can be realized without manual corresponding setting operations, which is convenient and quick to use.

所述第一终端设备、第二终端设备与前述的方法流程描述对应,不足之处参考上述方法流程的叙述,不再一一赘述。The first terminal device and the second terminal device correspond to the description of the aforementioned method flow, and for deficiencies, refer to the description of the above method flow, and will not repeat them one by one.

本实施例还公开了一种无线局域网中终端设备互联的系统,所述系统包括上述的任一第一终端设备,和/或上述的任一第二终端设备。This embodiment also discloses a system for interconnecting terminal devices in a wireless local area network. The system includes any of the above-mentioned first terminal devices, and/or any of the above-mentioned second terminal devices.

需要说明的是,本发明实施例所述的无线局域网中终端设备互联的方法可以设置在应用平台,应用平台例如包括运营360手机助手的应用服务器、推送(push)服务器和文件服务器。第一终端设备、第二终端设备例如包括用户台式电脑或笔记本电脑等计算设备,或者包括用户手机等移动设备。It should be noted that the method for interconnecting terminal devices in the wireless local area network described in the embodiment of the present invention can be set on an application platform, which includes, for example, an application server, a push server, and a file server operating the 360 mobile assistant. The first terminal device and the second terminal device include, for example, computing devices such as a user's desktop computer or a notebook computer, or mobile devices such as a user's mobile phone.

在本发明的一种优选实施例中,可以通过本实施例的方法,实现计算设备和移动设备之间的互联,互联后可以用于计算设备和移动设备之间传送文件,发送文件信息包、文件属性信息等,文件属性信息可以包括目标文件资源的类型,目标文件资源的类型包括主题、壁纸、铃声、软件、音乐、游戏、视频、电子书,该方法还可以包括:In a preferred embodiment of the present invention, the method of this embodiment can be used to realize the interconnection between the computing device and the mobile device. After interconnection, it can be used to transfer files between the computing device and the mobile device, send file information packets, File attribute information, etc. The file attribute information can include the type of the target file resource, and the type of the target file resource includes themes, wallpapers, ringtones, software, music, games, videos, and e-books. The method can also include:

若目标文件资源的类型为主题、壁纸、铃声、音乐、视频、电子书,则将目标文件资源存储在计算设备或移动设备中;If the type of the target file resource is theme, wallpaper, ringtone, music, video, e-book, then store the target file resource in the computing device or mobile device;

若目标文件资源的类型为软件和/或游戏,则直接在计算设备或移动设备中安装目标文件资源。If the type of the target file resource is software and/or game, the target file resource is directly installed in the computing device or the mobile device.

在本发明的另一种优选实施例中,可以通过本实施例的方法,实现计算设备和移动设备之间的互联,互联后,基于所建立的连接向移动设备或者计算设备提供如下服务中的一种或多种:应用推荐服务、应用下载服务、应用更新服务、应用管理服务和资源传送服务,还可以通过计算设备对移动设备提供病毒检测,卸载系统预装软件,以及进行系统优化检测,包括:In another preferred embodiment of the present invention, the method of this embodiment can be used to realize the interconnection between the computing device and the mobile device. After interconnection, the following services are provided to the mobile device or computing device based on the established connection: One or more: application recommendation service, application download service, application update service, application management service, and resource transfer service. It can also provide virus detection for mobile devices through computing devices, uninstall system pre-installed software, and perform system optimization detection. include:

内存优化检测、检测是否存在后台软件、自动启动的软件检测、垃圾数据清理检测、清理缓存检测、清理应用卸载后存在的残留文件检测、安装包清理检测、大文件整理、隐私痕迹清理检测等等以及提示用户手机软件版本需要更新,应用需要升级等。Memory optimization detection, detection of background software, automatic startup software detection, junk data cleaning detection, cache cleaning detection, residual file detection after cleaning application uninstallation, installation package cleaning detection, large file sorting, privacy trace cleaning detection, etc. And remind the user that the software version of the mobile phone needs to be updated, the application needs to be upgraded, and the like.

并且,具体地,计算设备或移动设备可以向云端服务器请求下载应用软件的增量升级包,然后在计算设备或移动设备将下载的增量升级包和应用软件的当前版本的安装包进行组合,得到应用软件的目标版本的安装包,然后在计算设备或移动设备安装应用软件的目标版本的安装包,以完成应用软件由当前版本升级到目标版本的升级操作,由于增量升级包相对于应用软件的目标版本的安装包在数据量上小了很多,从而可以很大程度上减少升级所耗费的计算设备或移动设备的上网流量。And, specifically, the computing device or mobile device may request the cloud server to download an incremental upgrade package of the application software, and then combine the downloaded incremental upgrade package with the installation package of the current version of the application software on the computing device or mobile device, Get the installation package of the target version of the application software, and then install the installation package of the target version of the application software on the computing device or mobile device to complete the upgrade operation of the application software from the current version to the target version. The installation package of the target version of the software has a much smaller data volume, which can greatly reduce the Internet traffic of the computing device or mobile device consumed by the upgrade.

a1、一种无线局域网中终端设备互联的方法,其特征在于,所述方法包括:a1. A method for terminal equipment interconnection in a wireless local area network, characterized in that the method comprises:

第一终端设备向所述第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,使得接收到所述设备查询数据包的所有第二终端设备向所述第一终端设备返回终端设备信息,其中,所述终端设备信息中包括所述第二终端设备的名称;The first terminal device broadcasts a device query data packet to all IP addresses in the wireless local area network where the first terminal device is located, so that all second terminal devices that receive the device query data packet return the terminal device to the first terminal device information, wherein the terminal device information includes the name of the second terminal device;

所述第一终端设备接收所述终端设备信息,并根据所述终端设备信息生成并展示终端设备列表,其中,所述终端设备列表中包括所有所述第二终端设备的名称;The first terminal device receives the terminal device information, and generates and displays a terminal device list according to the terminal device information, wherein the terminal device list includes names of all the second terminal devices;

所述第一终端设备获取从所述终端设备列表中选择的预互联的所述第二终端设备的名称,向预互联的所述第二终端设备发送互联请求,使得预互联的所述第二终端设备接收并根据所述互联请求,确定是否与所述第一终端设备进行互联。The first terminal device acquires the name of the pre-interconnected second terminal device selected from the terminal device list, and sends an interconnection request to the pre-interconnected second terminal device, so that the pre-interconnected second terminal device The terminal device receives and determines whether to perform interconnection with the first terminal device according to the interconnection request.

a2、如权利要求a1所述的方法,其特征在于,第一终端设备向所述第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,包括:a2. The method according to claim a1, wherein the first terminal device queries data packets from all IP address broadcasting devices in the wireless local area network where the first terminal device is located, comprising:

所述第一终端设备查询所述第一终端设备所在无线局域网中的所有IP地址;The first terminal device queries all IP addresses in the wireless local area network where the first terminal device is located;

所述第一终端设备向所有IP地址广播所述设备查询数据包。The first terminal device broadcasts the device query data packet to all IP addresses.

a3、如权利要求a1所述的方法,其特征在于,所述终端设备信息中还包括所述第二终端设备的标识和所述第二终端设备的IP地址,所述第一终端设备获取从所述终端设备列表中选择的预互联的所述第二终端设备的名称,向预互联的所述第二终端设备发送互联请求,包括:a3. The method according to claim a1, wherein the terminal device information further includes the identifier of the second terminal device and the IP address of the second terminal device, and the first terminal device obtains the The name of the pre-interconnected second terminal device selected in the terminal device list, and sending an interconnection request to the pre-interconnected second terminal device, including:

所述第一终端设备获取从所述终端设备列表中选择的预互联的所述第二终端设备的名称;The first terminal device obtains the name of the pre-interconnected second terminal device selected from the terminal device list;

所述第一终端设备根据预互联的所述第二终端设备的名称,查询所述终端设备信息得到预互联的所述第二终端设备的标识和预互联的所述第二终端设备的IP地址;The first terminal device queries the information of the terminal device according to the name of the pre-interconnected second terminal device to obtain the identifier of the pre-interconnected second terminal device and the IP address of the pre-interconnected second terminal device ;

所述第一终端设备根据预互联的所述第二终端设备的标识和预互联的所述第二终端设备的IP地址,生成EPC互联请求;The first terminal device generates an EPC interconnection request according to the identifier of the pre-interconnected second terminal device and the IP address of the pre-interconnected second terminal device;

所述第一终端设备向预互联的所述第二终端设备发送所述EPC互联请求。The first terminal device sends the EPC interconnection request to the pre-interconnected second terminal device.

a4、如权利要求a1-a3任一权利要求所述的方法,其特征在于,所述第一终端设备包括:计算机、或手机;所述第二终端设备包括:计算机、或手机。a4. The method according to any one of claims a1-a3, wherein the first terminal device includes: a computer or a mobile phone; and the second terminal device includes: a computer or a mobile phone.

b5、一种无线局域网中终端设备互联的方法,其特征在于,所述方法包括:b5, a method for terminal equipment interconnection in a wireless local area network, characterized in that the method comprises:

第二终端设备接收第一终端设备向所述第一终端设备所在无线局域网中的所述第二终端设备的IP地址广播的设备查询数据包;The second terminal device receives the device query data packet broadcast by the first terminal device to the IP address of the second terminal device in the wireless local area network where the first terminal device is located;

所述第二终端设备向所述第一终端设备返回终端设备信息,使得第一终端设备接收所述终端设备信息,并根据所述终端设备信息生成并展示终端设备列表,其中,所述终端设备信息中包括所述第二终端设备的名称,所述终端设备列表中包括所述第二终端设备的名称;The second terminal device returns terminal device information to the first terminal device, so that the first terminal device receives the terminal device information, and generates and displays a terminal device list according to the terminal device information, wherein the terminal device The information includes the name of the second terminal device, and the list of terminal devices includes the name of the second terminal device;

所述第二终端设备接收并根据所述第一终端设备发送的互联请求,确定是否与所述第一终端设备进行互联,其中,所述第一终端设备发送的互联请求是所述第一终端设备在获取从所述终端设备列表中选择所述第二终端设备与所述第一终端设备进行互联的信息后,向所述第二终端设备发送。The second terminal device receives and determines whether to interconnect with the first terminal device according to the interconnection request sent by the first terminal device, wherein the interconnection request sent by the first terminal device is The device sends the information to the second terminal device after acquiring the information for selecting the second terminal device to interconnect with the first terminal device from the terminal device list.

b6、如权利要求b5所述的方法,其特征在于,当所述终端设备信息中还包括所述第二终端设备的标识和所述第二终端设备的IP地址,所述互联请求为所述第一终端设备根据所述第二终端设备的标识和所述第二终端设备的IP地址生成的EPC互联请求时,所述第二终端设备接收并根据所述第一终端设备发送的互联请求,确定是否与所述第一终端设备进行互联,包括:b6. The method according to claim b5, wherein when the terminal device information also includes the identifier of the second terminal device and the IP address of the second terminal device, the interconnection request is the When the first terminal device generates an EPC interconnection request based on the identity of the second terminal device and the IP address of the second terminal device, the second terminal device receives and sends the interconnection request according to the first terminal device, Determining whether to interconnect with the first terminal device includes:

所述第二终端设备接收所述EPC互联请求;The second terminal device receives the EPC interconnection request;

所述第二终端设备判断所述EPC互联请求中的所述第二终端设备的标识与所述第二终端设备自身的标识是否一致;The second terminal device judges whether the identifier of the second terminal device in the EPC interconnection request is consistent with the identifier of the second terminal device itself;

如果判断结果是一致,则所述第二终端设备弹出互联选择框,其中,所述互联选择框中包括同意互联选项、拒绝互联选项和永久拒绝互联选项;If the judging result is consistent, the second terminal device pops up an interconnection selection box, wherein the interconnection selection box includes the option of agreeing to interconnection, rejecting the option of interconnection and permanently rejecting the option of interconnection;

所述第二终端设备根据通过所述互联选择框选择的互联选项结果,确定是否与所述第一终端设备进行互联。The second terminal device determines whether to interconnect with the first terminal device according to the result of the interconnection option selected through the interconnection selection box.

b7、如权利要求b6所述的方法,其特征在于,所述第二终端设备根据通过所述互联选择框选择的互联选项结果,确定是否与所述第一终端设备进行互联,包括:b7. The method according to claim b6, wherein the second terminal device determines whether to interconnect with the first terminal device according to the result of the interconnection option selected through the interconnection selection box, including:

所述第二终端设备接收在所述互联选择框中选择所述同意互联选项的信息;The second terminal device receives information that the interconnection option is selected in the interconnection selection box;

所述第二终端设备建立无线直连服务,并生成直连键key;The second terminal device establishes a wireless direct connection service, and generates a direct connection key key;

所述第二终端设备将所述直连key发送给所述第一终端设备,使得所述第一终端设备接收到所述直连key后,与所述第二终端设备进行互联。The second terminal device sends the direct connection key to the first terminal device, so that the first terminal device interconnects with the second terminal device after receiving the direct connection key.

b8、如权利要求b6所述的方法,其特征在于,所述第二终端设备根据通过所述互联选择框选择的互联选项结果,确定是否与所述第一终端设备进行互联,包括:b8. The method according to claim b6, wherein the second terminal device determines whether to interconnect with the first terminal device according to the result of the interconnection option selected through the interconnection selection box, including:

所述第二终端设备接收在所述互联选择框中选择所述拒绝互联选项的信息;The second terminal device receives information that the interconnection rejection option is selected in the interconnection selection box;

所述第二终端设备拒绝与所述第一终端设备进行互联。The second terminal device refuses to interconnect with the first terminal device.

b9、如权利要求b6所述的方法,其特征在于,所述第二终端设备根据通过所述互联选择框选择的互联选项结果,确定是否与所述第一终端设备进行互联,包括:b9. The method according to claim b6, wherein the second terminal device determines whether to interconnect with the first terminal device according to the result of the interconnection option selected through the interconnection selection box, including:

所述第二终端设备接收在所述互联选择框中选择所述永久拒绝互联选项的信息;The second terminal device receives information that the option of permanently rejecting interconnection is selected in the interconnection selection box;

所述第二终端设备拒绝与所述第一终端设备进行互联,并将所述第一终端设备加入所述第二终端设备的黑名单中。The second terminal device refuses to interconnect with the first terminal device, and adds the first terminal device to the blacklist of the second terminal device.

b10、如权利要求b5所述的方法,其特征在于,当所述互联请求中包括所述第一终端设备的标识时,所述第二终端设备接收并根据所述第一终端设备发送的互联请求,确定是否与所述第一终端设备进行互联,包括:b10. The method according to claim b5, wherein when the interconnection request includes the identifier of the first terminal device, the second terminal device receives and sends the interconnection request according to the first terminal device request, to determine whether to interconnect with the first terminal device, including:

所述第二终端设备接收所述第一终端设备发送的互联请求,得到所述第一终端设备的标识;The second terminal device receives the interconnection request sent by the first terminal device, and obtains the identifier of the first terminal device;

所述第二终端设备查询所述第一终端设备的标识是否在本地白名单数据库或本地黑名单数据库中;The second terminal device queries whether the identifier of the first terminal device is in a local whitelist database or a local blacklist database;

如果所述第一终端设备的标识在本地白名单数据库中,则所述第二终端设备确定与所述第一终端设备进行互联;If the identifier of the first terminal device is in the local whitelist database, the second terminal device determines to interconnect with the first terminal device;

如果所述第一终端设备的标识在本地黑名单数据库中,则所述第二终端设备确定不与所述第一终端设备进行互联。If the identifier of the first terminal device is in the local blacklist database, the second terminal device determines not to interconnect with the first terminal device.

b11、如权利要求b5-b10任一权利要求所述的方法,其特征在于,所述第一终端设备包括:计算机、或手机;所述第二终端设备包括:计算机、或手机。b11. The method according to any one of claims b5-b10, wherein the first terminal device includes: a computer or a mobile phone; and the second terminal device includes: a computer or a mobile phone.

c12、一种第一终端设备,其特征在于,所述第一终端设备包括:c12. A first terminal device, characterized in that the first terminal device includes:

广播模块,用于向所述第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,使得接收到所述设备查询数据包的所有第二终端设备向所述第一终端设备返回终端设备信息,其中,所述终端设备信息中包括所述第二终端设备的名称;A broadcast module, configured to broadcast a device query data packet to all IP addresses in the wireless local area network where the first terminal device is located, so that all second terminal devices that receive the device query data packet return a terminal to the first terminal device Device information, wherein the terminal device information includes the name of the second terminal device;

接收模块,用于接收所述终端设备信息,并根据所述终端设备信息生成并展示终端设备列表,其中,所述终端设备列表中包括所有所述第二终端设备的名称;A receiving module, configured to receive the terminal device information, and generate and display a terminal device list according to the terminal device information, wherein the terminal device list includes names of all the second terminal devices;

获取模块,用于获取从所述终端设备列表中选择的预互联的所述第二终端设备的名称,向预互联的所述第二终端设备发送互联请求,使得预互联的所述第二终端设备接收并根据所述互联请求,确定是否与所述第一终端设备进行互联。An acquisition module, configured to acquire the name of the pre-interconnected second terminal device selected from the terminal device list, and send an interconnection request to the pre-interconnected second terminal device, so that the pre-interconnected second terminal device The device receives and determines whether to interconnect with the first terminal device according to the interconnection request.

c13、如权利要求c12所述的第一终端设备,其特征在于,所述广播模块包括:c13. The first terminal device according to claim c12, wherein the broadcast module includes:

查询单元,用于查询所述第一终端设备所在无线局域网中的所有IP地址;a query unit, configured to query all IP addresses in the wireless local area network where the first terminal device is located;

广播单元,用于向所有IP地址广播所述设备查询数据包。A broadcast unit, configured to broadcast the device query data packet to all IP addresses.

c14、如权利要求c12所述的第一终端设备,其特征在于,所述终端设备信息中还包括所述第二终端设备的标识和所述第二终端设备的IP地址,所述获取模块包括:c14. The first terminal device according to claim c12, wherein the terminal device information further includes the identifier of the second terminal device and the IP address of the second terminal device, and the obtaining module includes :

获取单元,用于获取从所述终端设备列表中选择的预互联的所述第二终端设备的名称;an obtaining unit, configured to obtain the name of the pre-interconnected second terminal device selected from the terminal device list;

处理单元,用于根据预互联的所述第二终端设备的名称,查询所述终端设备信息得到预互联的所述第二终端设备的标识和预互联的所述第二终端设备的IP地址;A processing unit, configured to query the information of the terminal device according to the name of the pre-interconnected second terminal device to obtain the identifier of the pre-interconnected second terminal device and the IP address of the pre-interconnected second terminal device;

生成单元,用于根据预互联的所述第二终端设备的标识和预互联的所述第二终端设备的IP地址,生成EPC互联请求;A generating unit, configured to generate an EPC interconnection request according to the identifier of the pre-interconnected second terminal device and the IP address of the pre-interconnected second terminal device;

发送单元,用于向预互联的所述第二终端设备发送所述EPC互联请求。A sending unit, configured to send the EPC interconnection request to the pre-interconnected second terminal device.

c15、如权利要求c12-c14任一权利要求所述的第一终端设备,其特征在于,所述第一终端设备包括:计算机、或手机;所述第二终端设备包括:计算机、或手机。c15. The first terminal device according to any one of claims c12-c14, wherein the first terminal device includes: a computer or a mobile phone; and the second terminal device includes: a computer or a mobile phone.

d16、一种第二终端设备,其特征在于,所述第二终端设备包括:d16. A second terminal device, characterized in that the second terminal device includes:

接收模块,用于接收第一终端设备向所述第一终端设备所在无线局域网中的所述第二终端设备的IP地址广播的设备查询数据包;A receiving module, configured to receive a device query data packet broadcast by the first terminal device to the IP address of the second terminal device in the wireless local area network where the first terminal device is located;

返回模块,用于向所述第一终端设备返回终端设备信息,使得第一终端设备接收所述终端设备信息,并根据所述终端设备信息生成并展示终端设备列表,其中,所述终端设备信息中包括所述第二终端设备的名称,所述终端设备列表中包括所述第二终端设备的名称;A return module, configured to return terminal device information to the first terminal device, so that the first terminal device receives the terminal device information, and generates and displays a terminal device list according to the terminal device information, wherein the terminal device information The name of the second terminal device is included in the list, and the name of the second terminal device is included in the list of terminal devices;

确定模块,用于接收并根据所述第一终端设备发送的互联请求,确定是否与所述第一终端设备进行互联,其中,所述第一终端设备发送的互联请求是所述第一终端设备在获取从所述终端设备列表中选择所述第二终端设备与所述第一终端设备进行互联的信息后,向所述第二终端设备发送。A determining module, configured to receive and determine whether to interconnect with the first terminal device according to the interconnection request sent by the first terminal device, wherein the interconnection request sent by the first terminal device is the first terminal device After obtaining the information for selecting the second terminal device to interconnect with the first terminal device from the terminal device list, the information is sent to the second terminal device.

d17、如权利要求d16所述的第二终端设备,其特征在于,当所述终端设备信息中还包括所述第二终端设备的标识和所述第二终端设备的IP地址,所述互联请求为所述第一终端设备根据所述第二终端设备的标识和所述第二终端设备的IP地址生成的EPC互联请求时,所述确定模块包括:d17. The second terminal device according to claim d16, wherein when the terminal device information further includes the identifier of the second terminal device and the IP address of the second terminal device, the interconnection request When generating an EPC interconnection request for the first terminal device according to the identity of the second terminal device and the IP address of the second terminal device, the determination module includes:

接收单元,用于接收所述EPC互联请求;a receiving unit, configured to receive the EPC interconnection request;

判断单元,用于判断所述EPC互联请求中的所述第二终端设备的标识与所述第二终端设备自身的标识是否一致;A judging unit, configured to judge whether the identifier of the second terminal device in the EPC interconnection request is consistent with the identifier of the second terminal device itself;

弹出单元,用于如果判断结果是一致,则弹出互联选择框,其中,所述互联选择框中包括同意互联选项、拒绝互联选项和永久拒绝互联选项;A pop-up unit, configured to pop up an interconnection selection box if the judging result is consistent, wherein the interconnection selection box includes the option to agree to interconnection, the option to reject interconnection, and the option to permanently reject interconnection;

第一确定单元,用于根据通过所述互联选择框选择的互联选项结果,确定是否与所述第一终端设备进行互联。The first determining unit is configured to determine whether to perform interconnection with the first terminal device according to the result of the interconnection option selected through the interconnection selection box.

d18、如权利要求d17所述的第二终端设备,其特征在于,所述第一确定单元包括:d18. The second terminal device according to claim d17, wherein the first determining unit comprises:

第一接收子单元,用于接收在所述互联选择框中选择所述同意互联选项的信息;The first receiving subunit is configured to receive information that the interconnection option is selected in the interconnection selection box;

建立子单元,用于建立无线直连服务,并生成直连键key;Create a subunit for establishing a wireless direct connection service and generate a direct connection key;

发送子单元,用于将所述直连key发送给所述第一终端设备,使得所述第一终端设备接收到所述直连key后,与所述第二终端设备进行互联。The sending subunit is configured to send the direct connection key to the first terminal device, so that the first terminal device interconnects with the second terminal device after receiving the direct connection key.

d19、如权利要求d17所述的第二终端设备,其特征在于,所述第一确定单元包括:d19. The second terminal device according to claim d17, wherein the first determining unit comprises:

第二接收子单元,用于接收在所述互联选择框中选择所述拒绝互联选项的信息;The second receiving subunit is configured to receive information indicating that the interconnection rejection option is selected in the interconnection selection box;

拒绝子单元,用于拒绝与所述第一终端设备进行互联。The rejecting subunit is configured to reject interconnection with the first terminal device.

d20、如权利要求d17所述的第二终端设备,其特征在于,所述第一确定单元包括:d20. The second terminal device according to claim d17, wherein the first determining unit comprises:

第三接收子单元,用于接收在所述互联选择框中选择所述永久拒绝互联选项的信息;A third receiving subunit, configured to receive information indicating that the option of permanently rejecting interconnection is selected in the interconnection selection box;

处理子单元,用于拒绝与所述第一终端设备进行互联,并将所述第一终端设备加入所述第二终端设备的黑名单中。The processing subunit is configured to refuse interconnection with the first terminal device, and add the first terminal device to the blacklist of the second terminal device.

d21、如权利要求d16所述的第二终端设备,其特征在于,当所述互联请求中包括所述第一终端设备的标识时,所述确定模块包括:d21. The second terminal device according to claim d16, wherein when the interconnection request includes the identifier of the first terminal device, the determining module includes:

标识获取单元,用于接收所述第一终端设备发送的互联请求,得到所述第一终端设备的标识;An identification obtaining unit, configured to receive the interconnection request sent by the first terminal device, and obtain the identification of the first terminal device;

名单查询单元,用于查询所述第一终端设备的标识是否在本地白名单数据库或本地黑名单数据库中;a list query unit, configured to query whether the identifier of the first terminal device is in a local whitelist database or a local blacklist database;

第二确定单元,用于如果所述第一终端设备的标识在本地白名单数据库中,则确定与所述第一终端设备进行互联;A second determining unit, configured to determine to interconnect with the first terminal device if the identifier of the first terminal device is in a local whitelist database;

第三确定单元,用于如果所述第一终端设备的标识在本地黑名单数据库中,则确定不与所述第一终端设备进行互联。A third determining unit, configured to determine not to interconnect with the first terminal device if the identifier of the first terminal device is in the local blacklist database.

d22、如权利要求d16-d21任一权利要求所述的第二终端设备,其特征在于,所述第一终端设备包括:计算机、或手机;所述第二终端设备包括:计算机、或手机。d22. The second terminal device according to any one of claims d16-d21, wherein the first terminal device includes: a computer or a mobile phone; and the second terminal device includes: a computer or a mobile phone.

e23、一种无线局域网中终端设备互联的系统,其特征在于,所述系统包括:权利要求c12-c15任一权利要求所述的第一终端设备,和/或权利要求d16-d22任一权利要求所述的第二终端设备。e23. A system for interconnecting terminal devices in a wireless local area network, characterized in that the system includes: the first terminal device according to any one of claims c12-c15, and/or any one of claims d16-d22 The second terminal device is required.

上述说明示出并描述了本发明的若干优选实施例,但如前所述,应当理解本发明并非局限于本文所披露的形式,不应看作是对其他实施例的排除,而可用于各种其他组合、修改和环境,并能够在本文所述发明构想范围内,通过上述教导或相关领域的技术或知识进行改动。而本领域人员所进行的改动和变化不脱离本发明的精神和范围,则都应在本发明所附权利要求的保护范围内。The above description shows and describes several preferred embodiments of the present invention, but as mentioned above, it should be understood that the present invention is not limited to the forms disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various Various other combinations, modifications, and environments can be made within the scope of the inventive concept described herein, by the above teachings or by skill or knowledge in the relevant field. However, changes and changes made by those skilled in the art do not depart from the spirit and scope of the present invention, and should all be within the protection scope of the appended claims of the present invention.

Claims (10)

1.一种无线局域网中终端设备互联的方法,其特征在于,所述方法包括:1. A method for terminal equipment interconnection in a wireless local area network, characterized in that the method comprises: 第一终端设备向所述第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,使得接收到所述设备查询数据包的所有第二终端设备向所述第一终端设备返回终端设备信息,其中,所述终端设备信息中包括所述第二终端设备的名称;The first terminal device broadcasts a device query data packet to all IP addresses in the wireless local area network where the first terminal device is located, so that all second terminal devices that receive the device query data packet return the terminal device to the first terminal device information, wherein the terminal device information includes the name of the second terminal device; 所述第一终端设备接收所述终端设备信息,并根据所述终端设备信息生成并展示终端设备列表,其中,所述终端设备列表中包括所有所述第二终端设备的名称;The first terminal device receives the terminal device information, and generates and displays a terminal device list according to the terminal device information, wherein the terminal device list includes names of all the second terminal devices; 所述第一终端设备获取从所述终端设备列表中选择的预互联的所述第二终端设备的名称,向预互联的所述第二终端设备发送互联请求,使得预互联的所述第二终端设备接收并根据所述互联请求,确定是否与所述第一终端设备进行互联。The first terminal device acquires the name of the pre-interconnected second terminal device selected from the terminal device list, and sends an interconnection request to the pre-interconnected second terminal device, so that the pre-interconnected second terminal device The terminal device receives and determines whether to perform interconnection with the first terminal device according to the interconnection request. 2.如权利要求1所述的方法,其特征在于,第一终端设备向所述第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,包括:2. The method according to claim 1, wherein the first terminal device queries data packets from all IP address broadcasting devices in the wireless local area network where the first terminal device is located, comprising: 所述第一终端设备查询所述第一终端设备所在无线局域网中的所有IP地址;The first terminal device queries all IP addresses in the wireless local area network where the first terminal device is located; 所述第一终端设备向所有IP地址广播所述设备查询数据包。The first terminal device broadcasts the device query data packet to all IP addresses. 3.一种无线局域网中终端设备互联的方法,其特征在于,所述方法包括:3. A method for terminal equipment interconnection in a wireless local area network, characterized in that the method comprises: 第二终端设备接收第一终端设备向所述第一终端设备所在无线局域网中的所述第二终端设备的IP地址广播的设备查询数据包;The second terminal device receives the device query data packet broadcast by the first terminal device to the IP address of the second terminal device in the wireless local area network where the first terminal device is located; 所述第二终端设备向所述第一终端设备返回终端设备信息,使得第一终端设备接收所述终端设备信息,并根据所述终端设备信息生成并展示终端设备列表,其中,所述终端设备信息中包括所述第二终端设备的名称,所述终端设备列表中包括所述第二终端设备的名称;The second terminal device returns terminal device information to the first terminal device, so that the first terminal device receives the terminal device information, and generates and displays a terminal device list according to the terminal device information, wherein the terminal device The information includes the name of the second terminal device, and the list of terminal devices includes the name of the second terminal device; 所述第二终端设备接收并根据所述第一终端设备发送的互联请求,确定是否与所述第一终端设备进行互联,其中,所述第一终端设备发送的互联请求是所述第一终端设备在获取从所述终端设备列表中选择所述第二终端设备与所述第一终端设备进行互联的信息后,向所述第二终端设备发送。The second terminal device receives and determines whether to interconnect with the first terminal device according to the interconnection request sent by the first terminal device, wherein the interconnection request sent by the first terminal device is The device sends the information to the second terminal device after acquiring the information for selecting the second terminal device to interconnect with the first terminal device from the terminal device list. 4.如权利要求3所述的方法,其特征在于,当所述终端设备信息中还包括所述第二终端设备的标识和所述第二终端设备的IP地址,所述互联请求为所述第一终端设备根据所述第二终端设备的标识和所述第二终端设备的IP地址生成的EPC互联请求时,所述第二终端设备接收并根据所述第一终端设备发送的互联请求,确定是否与所述第一终端设备进行互联,包括:4. The method according to claim 3, wherein when the terminal device information also includes the identifier of the second terminal device and the IP address of the second terminal device, the interconnection request is the When the first terminal device generates an EPC interconnection request based on the identity of the second terminal device and the IP address of the second terminal device, the second terminal device receives and sends the interconnection request according to the first terminal device, Determining whether to interconnect with the first terminal device includes: 所述第二终端设备接收所述EPC互联请求;The second terminal device receives the EPC interconnection request; 所述第二终端设备判断所述EPC互联请求中的所述第二终端设备的标识与所述第二终端设备自身的标识是否一致;The second terminal device judges whether the identifier of the second terminal device in the EPC interconnection request is consistent with the identifier of the second terminal device itself; 如果判断结果是一致,则所述第二终端设备弹出互联选择框,其中,所述互联选择框中包括同意互联选项、拒绝互联选项和永久拒绝互联选项;If the judging result is consistent, the second terminal device pops up an interconnection selection box, wherein the interconnection selection box includes the option of agreeing to interconnection, rejecting the option of interconnection and permanently rejecting the option of interconnection; 所述第二终端设备根据通过所述互联选择框选择的互联选项结果,确定是否与所述第一终端设备进行互联。The second terminal device determines whether to interconnect with the first terminal device according to the result of the interconnection option selected through the interconnection selection box. 5.一种第一终端设备,其特征在于,所述第一终端设备包括:5. A first terminal device, characterized in that the first terminal device comprises: 广播模块,用于向所述第一终端设备所在无线局域网中的所有IP地址广播设备查询数据包,使得接收到所述设备查询数据包的所有第二终端设备向所述第一终端设备返回终端设备信息,其中,所述终端设备信息中包括所述第二终端设备的名称;A broadcast module, configured to broadcast a device query data packet to all IP addresses in the wireless local area network where the first terminal device is located, so that all second terminal devices that receive the device query data packet return a terminal to the first terminal device Device information, wherein the terminal device information includes the name of the second terminal device; 接收模块,用于接收所述终端设备信息,并根据所述终端设备信息生成并展示终端设备列表,其中,所述终端设备列表中包括所有所述第二终端设备的名称;A receiving module, configured to receive the terminal device information, and generate and display a terminal device list according to the terminal device information, wherein the terminal device list includes names of all the second terminal devices; 获取模块,用于获取从所述终端设备列表中选择的预互联的所述第二终端设备的名称,向预互联的所述第二终端设备发送互联请求,使得预互联的所述第二终端设备接收并根据所述互联请求,确定是否与所述第一终端设备进行互联。An acquisition module, configured to acquire the name of the pre-interconnected second terminal device selected from the terminal device list, and send an interconnection request to the pre-interconnected second terminal device, so that the pre-interconnected second terminal device The device receives and determines whether to interconnect with the first terminal device according to the interconnection request. 6.如权利要求5所述的第一终端设备,其特征在于,所述广播模块包括:6. The first terminal device according to claim 5, wherein the broadcast module comprises: 查询单元,用于查询所述第一终端设备所在无线局域网中的所有IP地址;a query unit, configured to query all IP addresses in the wireless local area network where the first terminal device is located; 广播单元,用于向所有IP地址广播所述设备查询数据包。A broadcast unit, configured to broadcast the device query data packet to all IP addresses. 7.一种第二终端设备,其特征在于,所述第二终端设备包括:7. A second terminal device, characterized in that the second terminal device comprises: 接收模块,用于接收第一终端设备向所述第一终端设备所在无线局域网中的所述第二终端设备的IP地址广播的设备查询数据包;A receiving module, configured to receive a device query data packet broadcast by the first terminal device to the IP address of the second terminal device in the wireless local area network where the first terminal device is located; 返回模块,用于向所述第一终端设备返回终端设备信息,使得第一终端设备接收所述终端设备信息,并根据所述终端设备信息生成并展示终端设备列表,其中,所述终端设备信息中包括所述第二终端设备的名称,所述终端设备列表中包括所述第二终端设备的名称;A return module, configured to return terminal device information to the first terminal device, so that the first terminal device receives the terminal device information, and generates and displays a terminal device list according to the terminal device information, wherein the terminal device information The name of the second terminal device is included in the list, and the name of the second terminal device is included in the list of terminal devices; 确定模块,用于接收并根据所述第一终端设备发送的互联请求,确定是否与所述第一终端设备进行互联,其中,所述第一终端设备发送的互联请求是所述第一终端设备在获取从所述终端设备列表中选择所述第二终端设备与所述第一终端设备进行互联的信息后,向所述第二终端设备发送。A determining module, configured to receive and determine whether to interconnect with the first terminal device according to the interconnection request sent by the first terminal device, wherein the interconnection request sent by the first terminal device is the first terminal device After obtaining the information for selecting the second terminal device to interconnect with the first terminal device from the terminal device list, the information is sent to the second terminal device. 8.如权利要求7所述的第二终端设备,其特征在于,当所述终端设备信息中还包括所述第二终端设备的标识和所述第二终端设备的IP地址,所述互联请求为所述第一终端设备根据所述第二终端设备的标识和所述第二终端设备的IP地址生成的EPC互联请求时,所述确定模块包括:8. The second terminal device according to claim 7, wherein when the terminal device information further includes the identifier of the second terminal device and the IP address of the second terminal device, the interconnection request When generating an EPC interconnection request for the first terminal device according to the identity of the second terminal device and the IP address of the second terminal device, the determination module includes: 接收单元,用于接收所述EPC互联请求;a receiving unit, configured to receive the EPC interconnection request; 判断单元,用于判断所述EPC互联请求中的所述第二终端设备的标识与所述第二终端设备自身的标识是否一致;A judging unit, configured to judge whether the identifier of the second terminal device in the EPC interconnection request is consistent with the identifier of the second terminal device itself; 弹出单元,用于如果判断结果是一致,则弹出互联选择框,其中,所述互联选择框中包括同意互联选项、拒绝互联选项和永久拒绝互联选项;A pop-up unit, configured to pop up an interconnection selection box if the judging result is consistent, wherein the interconnection selection box includes the option to agree to interconnection, the option to reject interconnection, and the option to permanently reject interconnection; 第一确定单元,用于根据通过所述互联选择框选择的互联选项结果,确定是否与所述第一终端设备进行互联。The first determining unit is configured to determine whether to perform interconnection with the first terminal device according to the result of the interconnection option selected through the interconnection selection box. 9.如权利要求8所述的第二终端设备,其特征在于,所述第一确定单元包括:9. The second terminal device according to claim 8, wherein the first determining unit comprises: 第一接收子单元,用于接收在所述互联选择框中选择所述同意互联选项的信息;The first receiving subunit is configured to receive information that the interconnection option is selected in the interconnection selection box; 建立子单元,用于建立无线直连服务,并生成直连键key;Create a subunit for establishing a wireless direct connection service and generate a direct connection key; 发送子单元,用于将所述直连key发送给所述第一终端设备,使得所述第一终端设备接收到所述直连key后,与所述第二终端设备进行互联。The sending subunit is configured to send the direct connection key to the first terminal device, so that the first terminal device interconnects with the second terminal device after receiving the direct connection key. 10.一种无线局域网中终端设备互联的系统,其特征在于,所述系统包括:权利要求5-6任一权利要求所述的第一终端设备,和/或权利要求7-9任一权利要求所述的第二终端设备。10. A system for interconnecting terminal devices in a wireless local area network, characterized in that the system comprises: the first terminal device according to any one of claims 5-6, and/or any one of claims 7-9 The second terminal device is required.
CN201410843312.9A 2014-12-30 2014-12-30 Terminal equipment interconnection method and system in wireless local area network (WLAN) and terminal equipment Pending CN104619039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410843312.9A CN104619039A (en) 2014-12-30 2014-12-30 Terminal equipment interconnection method and system in wireless local area network (WLAN) and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410843312.9A CN104619039A (en) 2014-12-30 2014-12-30 Terminal equipment interconnection method and system in wireless local area network (WLAN) and terminal equipment

Publications (1)

Publication Number Publication Date
CN104619039A true CN104619039A (en) 2015-05-13

Family

ID=53153243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410843312.9A Pending CN104619039A (en) 2014-12-30 2014-12-30 Terminal equipment interconnection method and system in wireless local area network (WLAN) and terminal equipment

Country Status (1)

Country Link
CN (1) CN104619039A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994243A (en) * 2015-05-14 2015-10-21 无锡华海天和信息科技有限公司 Method for binding and unbinding smart mobile terminal to smart fixed terminal
CN105827443A (en) * 2016-03-15 2016-08-03 成都市极米科技有限公司 Network device discovery method and device
CN106060894A (en) * 2016-05-16 2016-10-26 乐视控股(北京)有限公司 Method and system for acquiring interaction device list
CN106470234A (en) * 2015-08-20 2017-03-01 腾讯科技(北京)有限公司 The method and device that a kind of equipment finds
CN107317840A (en) * 2017-05-12 2017-11-03 林军 A kind of desktop interactive display system and its operation method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212368A (en) * 2006-12-30 2008-07-02 深圳Tcl新技术有限公司 Wireless network configuration method and system
CN101964842A (en) * 2010-09-13 2011-02-02 复旦大学 Mobile phone terminal-based self-organized video synchronous sharing player
CN103841626A (en) * 2014-02-21 2014-06-04 普联技术有限公司 Internet of Things wireless terminal, configuration method thereof and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212368A (en) * 2006-12-30 2008-07-02 深圳Tcl新技术有限公司 Wireless network configuration method and system
CN101964842A (en) * 2010-09-13 2011-02-02 复旦大学 Mobile phone terminal-based self-organized video synchronous sharing player
CN103841626A (en) * 2014-02-21 2014-06-04 普联技术有限公司 Internet of Things wireless terminal, configuration method thereof and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994243A (en) * 2015-05-14 2015-10-21 无锡华海天和信息科技有限公司 Method for binding and unbinding smart mobile terminal to smart fixed terminal
CN106470234A (en) * 2015-08-20 2017-03-01 腾讯科技(北京)有限公司 The method and device that a kind of equipment finds
CN106470234B (en) * 2015-08-20 2021-03-26 腾讯科技(北京)有限公司 Equipment discovery method and device
CN105827443A (en) * 2016-03-15 2016-08-03 成都市极米科技有限公司 Network device discovery method and device
CN106060894A (en) * 2016-05-16 2016-10-26 乐视控股(北京)有限公司 Method and system for acquiring interaction device list
CN107317840A (en) * 2017-05-12 2017-11-03 林军 A kind of desktop interactive display system and its operation method

Similar Documents

Publication Publication Date Title
CN102819461B (en) Desktop synchronous method, device, equipment and system
EP2129148B1 (en) Content distribution system
CN104540189B (en) Equipment for surfing the net provides method and the equipment for surfing the net of wireless network access for mobile device
CN102904960B (en) A kind of information synchronization system and method based on RSS
CN102932325B (en) Identify the method for contact person, system and the server of device users
CN103973704B (en) Based on the domain name analytic method of WIFI equipment, apparatus and system
KR20120089100A (en) Method and System for Distributing Business Application and Contents for Mobile Equipment using Application Store and Wireless AP
CN104619039A (en) Terminal equipment interconnection method and system in wireless local area network (WLAN) and terminal equipment
CN103634389A (en) File transfer method, device and system between calculation device and mobile device
CN106027597B (en) A kind of method and server of offline file transmission
CN104484386A (en) Information sharing method and browser client
CN104050292A (en) Traffic-saving mode search service method, server, client and system
CN106790593A (en) A kind of page processing method and device
CN105516744A (en) Smart TV accessing method and smart TV accessing system
CN103685254B (en) The safety detection method and server of public account information
US8762483B2 (en) System for and method of verifying packages
CN104023073A (en) Resource pushing method, system and device
CN112115103B (en) File address display method and device, electronic equipment and readable storage medium
CN106060111A (en) Resource downloading method and device and terminal device
CN110300182A (en) Network node dispatching method and device, computer installation and storage medium
CN110691023B (en) Address system
CN108737350B (en) Information processing method and client
CN104202310B (en) A kind of method and apparatus that connection is established between mobile device and computing device
JP2007226684A (en) Service providing server, information terminal, service providing method, and service providing program
CN111147186B (en) Data transmission method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150513