[go: up one dir, main page]

CN106550482B - Communication connection establishing method and device and electronic equipment - Google Patents

Communication connection establishing method and device and electronic equipment Download PDF

Info

Publication number
CN106550482B
CN106550482B CN201611130275.2A CN201611130275A CN106550482B CN 106550482 B CN106550482 B CN 106550482B CN 201611130275 A CN201611130275 A CN 201611130275A CN 106550482 B CN106550482 B CN 106550482B
Authority
CN
China
Prior art keywords
access device
identification information
monitoring device
communication connection
connection establishment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611130275.2A
Other languages
Chinese (zh)
Other versions
CN106550482A (en
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 Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611130275.2A priority Critical patent/CN106550482B/en
Publication of CN106550482A publication Critical patent/CN106550482A/en
Application granted granted Critical
Publication of CN106550482B publication Critical patent/CN106550482B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast

Landscapes

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

Abstract

本公开是关于通信建立方法、通信建立装置和电子设备,上述方法包括:接收监听设备发送的用于连接建立的请求信息;确定所述请求信息中是否包含接入设备提供的无线网络的标识信息;若包含所述标识信息,向所述监听设备发送连接建立的应答信息,以与所述监听设备建立通信连接,其中,所述接入设备在接收到包含所述标识信息的请求信息之前不进行广播。本公开一方面使得监听设备无法通过扫描接入设备广播的标识信息来获取其提供的无线网络的标识信息;另一方面使得监听设备无法通过将请求信息中的标识信息的值置为空或写为零来使接入设备返回到其提供的无线网络的标识信息,从而实现了接入设备对监听设备隐藏标识信息。

Figure 201611130275

The present disclosure relates to a communication establishment method, a communication establishment device, and an electronic device. The above methods include: receiving request information for connection establishment sent by a monitoring device; determining whether the request information includes identification information of a wireless network provided by the access device. If the identification information is included, the response information of connection establishment is sent to the monitoring device to establish a communication connection with the monitoring device, wherein the access device does not broadcast. On the one hand, the present disclosure makes it impossible for the monitoring device to obtain the identification information of the wireless network provided by scanning the identification information broadcast by the access device; If the value is zero, the access device returns the identification information of the wireless network provided by the access device, thereby realizing that the access device hides the identification information from the monitoring device.

Figure 201611130275

Description

通信连接建立方法及装置、电子设备Communication connection establishment method and device, and electronic device

技术领域technical field

本公开涉及终端技术领域,尤其涉及通信连接建立方法、通信连接建立装置和电子设备。The present disclosure relates to the technical field of terminals, and in particular, to a communication connection establishment method, a communication connection establishment apparatus, and an electronic device.

背景技术Background technique

在局域网中建立通信连接的过程中,接入设备可以进行广播从而被监听设备监听(或扫描)到,进而由监听设备获取到接入设备的SSID(Service Set Identifier,服务集标识),再根据该SSID与接入设备建立通信连接。但是在某些情况下,接入设备可能仅仅是一个中继设备,仅连接该中继的用户需要查看,无需显示给所有用户,因此需要对其他用户隐藏SSID。In the process of establishing a communication connection in the local area network, the access device can broadcast to be monitored (or scanned) by the monitoring device, and then the monitoring device obtains the SSID (Service Set Identifier, service set identifier) of the access device, and then according to The SSID establishes a communication connection with the access device. However, in some cases, the access device may only be a relay device, and only users connected to the relay need to view it, and it does not need to be displayed to all users, so the SSID needs to be hidden from other users.

目前隐藏SSID的方式主要是将beacon(信标)帧中的SSID字段写为0,但是这种方式仍然会使得其他用户的设备监听到,只不过显示的SSID为“未知设备”、“未知网络”、“其他网络”等,这种隐藏SSID的方式并不能避免其他用户监听到接入设备。At present, the main way to hide the SSID is to write the SSID field in the beacon (beacon) frame as 0, but this method will still allow other users' devices to monitor, but the displayed SSID is "unknown device", "unknown network" ", "other network", etc. This method of hiding the SSID cannot prevent other users from monitoring the access device.

发明内容SUMMARY OF THE INVENTION

本公开提供了通信连接建立方法、通信连接建立装置和电子设备,以解决相关技术中的不足。The present disclosure provides a communication connection establishment method, a communication connection establishment device and an electronic device to solve the deficiencies in the related art.

根据本公开实施例的第一方面,提供一种通信连接建立方法,适用于接入设备,所述方法包括:According to a first aspect of the embodiments of the present disclosure, there is provided a method for establishing a communication connection, which is applicable to an access device, and the method includes:

接收监听设备发送的用于连接建立的请求信息;Receive the request information sent by the monitoring device for connection establishment;

确定所述请求信息中是否包含所述接入设备提供的无线网络的标识信息;determining whether the request information includes the identification information of the wireless network provided by the access device;

若包含所述标识信息,向所述监听设备发送连接建立的应答信息,以与所述监听设备建立通信连接,其中,所述接入设备在接收到包含所述标识信息的请求信息之前不进行广播。If the identification information is included, the connection establishment response information is sent to the monitoring device to establish a communication connection with the monitoring device, wherein the access device does not perform a connection before receiving the request information including the identification information. broadcast.

可选地,上述方法还包括:Optionally, the above method further includes:

在向所述监听设备发送连接建立的应答信息后,广播所述标识信息。After sending the connection establishment response information to the monitoring device, broadcast the identification information.

可选地,上述方法还包括:Optionally, the above method further includes:

检测是否断开了与所有监听设备的通信连接;Detect whether the communication connection with all monitoring devices is disconnected;

若确定已断开通信连接,停止广播标识信息。If it is determined that the communication connection has been disconnected, stop broadcasting the identification information.

根据本公开实施例的第二方面,提供一种通信连接建立方法,适用于监听设备,所述方法包括:According to a second aspect of the embodiments of the present disclosure, there is provided a method for establishing a communication connection, which is applicable to a monitoring device, and the method includes:

向接入设备发送连接建立的请求信息,其中,所述请求信息中包含所述接入设备提供的无线网络的标识信息;Sending request information for connection establishment to the access device, wherein the request information includes the identification information of the wireless network provided by the access device;

根据所述接入设备返回的连接建立的应答信息,与所述接入设备建立通信连接。Establish a communication connection with the access device according to the connection establishment response information returned by the access device.

可选地,上述方法还包括:Optionally, the above method further includes:

在向所述接入设备传输数据后,与所述接入设备断开通信连接。After the data is transmitted to the access device, the communication connection with the access device is disconnected.

根据本公开实施例的第三方面,提供一种通信连接建立装置,适用于接入设备,所述装置包括:According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for establishing a communication connection, which is suitable for an access device, and the apparatus includes:

接收单元,被配置为接收监听设备发送的用于连接建立的请求信息;a receiving unit, configured to receive request information for connection establishment sent by the monitoring device;

检测单元,被配置为检测所述请求信息中是否包含所述接入设备提供的无线网络的标识信息;a detection unit, configured to detect whether the request information contains the identification information of the wireless network provided by the access device;

第一发送单元,被配置为在所述检测单元确定所述请求信息中包含所述标识信息时,向所述监听设备发送连接建立的应答信息,以与所述监听设备建立通信连接,其中,所述接入设备在接收到包含所述标识信息的请求信息之前不进行广播。a first sending unit, configured to send, to the monitoring device, when the detection unit determines that the identification information is included in the request information, to send a connection establishment response message to the monitoring device, so as to establish a communication connection with the monitoring device, wherein, The access device does not broadcast before receiving the request information including the identification information.

可选地,上述装置还包括:Optionally, the above device also includes:

广播单元,被配置为在所述第一发送单元向所述监听设备发送连接建立的应答信息后,广播标识信息。The broadcasting unit is configured to broadcast the identification information after the first sending unit sends the response information of connection establishment to the monitoring device.

可选地,上述装置还包括:Optionally, the above device also includes:

检测单元,被配置为检测是否断开了与所有监听设备的通信连接;a detection unit, configured to detect whether the communication connection with all monitoring devices is disconnected;

其中,所述广播单元还被配置为在所述检测单元检测到与所述监听设备断开通信连接时停止广播标识信息。Wherein, the broadcasting unit is further configured to stop broadcasting the identification information when the detection unit detects that the communication connection with the monitoring device is disconnected.

根据本公开实施例的第四方面,提供一种通信连接建立装置,适用于监听设备,所述装置包括:According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for establishing a communication connection, which is suitable for a monitoring device, and the apparatus includes:

第二发送单元,被配置为向接入设备发送连接建立的请求信息,其中,所述请求信息中包含所述接入设备提供的无线网络的标识信息;a second sending unit, configured to send request information for connection establishment to the access device, wherein the request information includes identification information of the wireless network provided by the access device;

连接建立单元,被配置为根据所述接入设备返回的连接建立的应答信息,与所述接入设备建立通信连接。The connection establishment unit is configured to establish a communication connection with the access device according to the connection establishment response information returned by the access device.

可选地,所述连接建立单元还被配置为在向所述接入设备传输数据后,与所述接入设备断开通信连接。Optionally, the connection establishment unit is further configured to disconnect the communication connection with the access device after transmitting the data to the access device.

根据本公开实施例的第五方面,提供一种电子设备,包括:According to a fifth aspect of the embodiments of the present disclosure, there is provided an electronic device, comprising:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:wherein the processor is configured to:

接收监听设备发送的用于连接建立的请求信息;Receive the request information sent by the monitoring device for connection establishment;

检测所述请求信息中是否包含所述接入设备提供的无线网络的标识信息;Detecting whether the request information contains the identification information of the wireless network provided by the access device;

若包含所述标识信息,向所述监听设备发送连接建立的应答信息,以与所述监听设备建立通信连接,其中,所述接入设备在接收到包含所述标识信息的请求信息之前不进行广播。If the identification information is included, the connection establishment response information is sent to the monitoring device to establish a communication connection with the monitoring device, wherein the access device does not perform a connection before receiving the request information including the identification information. broadcast.

根据本公开实施例的第六方面,提供一种电子设备,包括:According to a sixth aspect of the embodiments of the present disclosure, there is provided an electronic device, comprising:

电子设备,其特征在于,包括:Electronic equipment, characterized in that it includes:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:wherein the processor is configured to:

向接入设备发送连接建立的请求信息,其中,所述请求信息中包含所述接入设备提供的无线网络的标识信息;Sending request information for connection establishment to the access device, wherein the request information includes the identification information of the wireless network provided by the access device;

根据所述接入设备返回的连接建立的应答信息,与所述接入设备建立通信连接。Establish a communication connection with the access device according to the connection establishment response information returned by the access device.

本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

由上述实施例可知,本公开一方面使得监听设备无法通过扫描接入设备广播的标识信息来获取其提供的无线网络的标识信息;另一方面使得监听设备无法通过将请求信息中的标识信息的值置为空或写为零来使接入设备返回到其提供的无线网络的标识信息,从而实现了接入设备对监听设备隐藏标识信息。As can be seen from the above embodiments, on the one hand, the present disclosure makes it impossible for the monitoring device to obtain the identification information of the wireless network provided by scanning the identification information broadcast by the access device; on the other hand, the monitoring device cannot pass the identification information in the request information. The value is set to be empty or written to zero to make the access device return the identification information of the wireless network provided by it, thereby realizing that the access device hides the identification information from the monitoring device.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是相关技术中一种接入设备与监听设备建立通信连接的示意图。FIG. 1 is a schematic diagram of establishing a communication connection between an access device and a monitoring device in the related art.

图2是相关技术中另一种接入设备与监听设备建立通信连接的示意图。FIG. 2 is a schematic diagram of establishing a communication connection between another access device and a monitoring device in the related art.

图3是根据一示例性实施例示出的一种通信连接建立方法的示意流程图。Fig. 3 is a schematic flowchart of a method for establishing a communication connection according to an exemplary embodiment.

图4是根据一示例性实施例示出的另一种通信连接建立方法的示意流程图。Fig. 4 is a schematic flowchart of another method for establishing a communication connection according to an exemplary embodiment.

图5是根据一示例性实施例示出的又一种通信连接建立方法的示意流程图。Fig. 5 is a schematic flowchart of yet another method for establishing a communication connection according to an exemplary embodiment.

图6是根据一示例性实施例示出的一种通信连接建立方法的示意流程图。Fig. 6 is a schematic flowchart of a method for establishing a communication connection according to an exemplary embodiment.

图7是根据一示例性实施例示出的另一种通信连接建立方法的示意流程图。Fig. 7 is a schematic flowchart of another method for establishing a communication connection according to an exemplary embodiment.

图8是根据一示例性实施例示出的一种通信连接建立装置的示意框图。Fig. 8 is a schematic block diagram of an apparatus for establishing a communication connection according to an exemplary embodiment.

图9是根据一示例性实施例示出的另一种通信连接建立装置的示意框图。Fig. 9 is a schematic block diagram of another apparatus for establishing a communication connection according to an exemplary embodiment.

图10是根据一示例性实施例示出的又一种通信连接建立装置的示意框图。Fig. 10 is a schematic block diagram of yet another apparatus for establishing a communication connection according to an exemplary embodiment.

图11是根据一示例性实施例示出的一种通信连接建立装置的示意框。Fig. 11 is a schematic block diagram of an apparatus for establishing a communication connection according to an exemplary embodiment.

图12是根据一示例性实施例示出的一种用于建立连接的装置的框图。Fig. 12 is a block diagram of an apparatus for establishing a connection according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.

图1是相关技术中一种接入设备与监听设备建立通信连接的示意图。图2是相关技术中另一种接入设备与监听设备建立通信连接的示意图。FIG. 1 is a schematic diagram of establishing a communication connection between an access device and a monitoring device in the related art. FIG. 2 is a schematic diagram of establishing a communication connection between another access device and a monitoring device in the related art.

在相关技术中,接入设备与监听设备建立通信连接的方式主要有两种。In the related art, there are mainly two ways for the access device to establish a communication connection with the monitoring device.

其一,如图1所示,接入设备广播无线网络的标识信息(例如beacon frame),使得监听设备能够根据监听(扫描)到的标识信息确定无线网络的标识信息,例如SSID,进而根据标识信息接入接入设备所提供的无线网络。First, as shown in Figure 1, the access device broadcasts the identification information of the wireless network (for example, beacon frame), so that the monitoring device can determine the identification information of the wireless network, such as SSID, according to the identification information monitored (scanned), and then according to the identification information. The information accesses the wireless network provided by the access device.

其二、如图2所示,监听设备向接入设备发送建立通信连接的请求信息,例如proberequest frame,其中SSID值为空,接入设备在接收到该请求信息后会向监听设备返回probe response frame,其中包含无线网络的SSID值,以使监听设备能够根据SSID值与接入接入设备所提供的无线网络。Second, as shown in Figure 2, the monitoring device sends request information for establishing a communication connection to the access device, such as a proberequest frame, where the SSID value is empty, and the access device will return a probe response to the monitoring device after receiving the request information. frame, which contains the SSID value of the wireless network, so that the monitoring device can access the wireless network provided by the access device according to the SSID value.

图3是根据一示例性实施例示出的一种通信连接建立方法的示意流程图,该方法适用于接入设备中。如图3所示,该方法可以包括以下步骤:Fig. 3 is a schematic flowchart of a method for establishing a communication connection according to an exemplary embodiment, and the method is applicable to an access device. As shown in Figure 3, the method may include the following steps:

在步骤S31中,接收监听设备发送的用于连接建立的请求信息。In step S31, the request information for connection establishment sent by the monitoring device is received.

在一个实施例中,请求信息可以是用于接入接入设备所提供的无线网络的接入请求。In one embodiment, the request information may be an access request for accessing a wireless network provided by the access device.

在步骤S32中,检测所述请求信息中是否包含所述接入设备提供的无线网络的标识信息,若包含所述标识信息,执行步骤S33。In step S32, it is detected whether the request information includes the identification information of the wireless network provided by the access device, and if the identification information is included, step S33 is performed.

在一个实施例中,标识信息可以是预先存储在监听设备中的,也可以是由用户输入的。In one embodiment, the identification information may be pre-stored in the monitoring device, or may be input by the user.

在步骤S33中,向所述监听设备发送连接建立的应答信息,以与所述监听设备建立通信连接,其中,所述接入设备在接收到包含所述标识信息的请求信息之前不进行广播。In step S33, the connection establishment response information is sent to the monitoring device to establish a communication connection with the monitoring device, wherein the access device does not broadcast before receiving the request information including the identification information.

在一个实施例中,与相关技术中不同,当接入设备接收到监听设备建立通信连接的请求信息时,如果该请求信息中不包含广告设备的标识信息,例如请求信息中对应标识信息的值为空,或者请求信息中不存在标识信息的值,那么将不会向监听设备返回建立连接的应答信息。而只有在请求信息中包含接入设备提供的无线网络的标识信息时,才向监听设备返回建立连接的应答信息。In one embodiment, different from the related art, when the access device receives the request information for the monitoring device to establish a communication connection, if the request information does not contain the identification information of the advertising device, for example, the value of the corresponding identification information in the request information If it is empty, or the value of the identification information does not exist in the request information, the response information for establishing the connection will not be returned to the listening device. And only when the request information includes the identification information of the wireless network provided by the access device, the response information for establishing the connection is returned to the monitoring device.

并且,由于接入设备在接收到包含所述标识信息的请求信息之前不进行广播,一方面使得监听设备无法通过扫描接入设备广播的标识信息来获取无线网络的标识信息;另一方面使得监听设备无法通过将请求信息中的标识信息的值置为空或写为零来使接入设备返回到其提供的无线网络的标识信息,从而实现了接入设备对监听设备隐藏标识信息。例如在标识信息为SSID的情况下,可以保证用户在不知道SSID或监听设备未存储SSID的情况下,用户不会在监听设备上看到接入设备所提供无线网络的SSID,实现了将无线网络的SSID等标识信息良好地隐藏。Moreover, because the access device does not broadcast before receiving the request information containing the identification information, on the one hand, the monitoring device cannot obtain the identification information of the wireless network by scanning the identification information broadcast by the access device; The device cannot make the access device return the identification information of the wireless network provided by the access device by setting the value of the identification information in the request information to null or zero, thereby realizing that the access device hides the identification information from the monitoring device. For example, when the identification information is SSID, it can be ensured that the user will not see the SSID of the wireless network provided by the access device on the monitoring device if the user does not know the SSID or the monitoring device does not store the SSID. Identification information such as the SSID of the network is well hidden.

图4是根据一示例性实施例示出的另一种通信连接建立方法的示意流程图。如图4所示,在图3所示实施例的基础上,上述方法还包括:Fig. 4 is a schematic flowchart of another method for establishing a communication connection according to an exemplary embodiment. As shown in FIG. 4 , on the basis of the embodiment shown in FIG. 3 , the above method further includes:

在步骤S131中,在向所述监听设备发送连接建立的应答信息后,广播所述标识信息。In step S131, after sending the response information of connection establishment to the monitoring device, broadcast the identification information.

在一个实施例中,当监听设备与接入设备建立通信连接后,可以向接入设备传输数据,例如接入设备为连接至路由器的WiFi放大器,其具备两个信道,不同的信道提供的无线网络具备不同的SSID。其中,第一信道用于接收监听设备传输的数据,例如所要登录的路由器的密码等,其提供的无线网络的SSID即需要隐藏的SSID;第二信道用于向监听设备提供网络,其提供的无线网络的SSID可以是所连接的路由器的SSID。In one embodiment, after the monitoring device establishes a communication connection with the access device, it can transmit data to the access device. For example, the access device is a WiFi amplifier connected to a router, which has two channels, and different channels provide wireless Networks have different SSIDs. Among them, the first channel is used to receive the data transmitted by the monitoring device, such as the password of the router to be logged in, and the SSID of the wireless network provided by it is the SSID that needs to be hidden; the second channel is used to provide the monitoring device with a network, which provides The SSID of the wireless network can be the SSID of the connected router.

虽然接入设备在接收到包含所述标识信息的请求信息之前不进行广播,但是由于大多数通信协议需要接入设备在对监听设备进行应答时处于广播状态,否则将会默认接入设备的第一信道处于不可用状态,导致接入设备无法发出应答信息,或者导致监听设备即使接收到了应答信息也不会与接入设备建立通信连接。Although the access device does not broadcast before receiving the request information containing the identification information, because most communication protocols require the access device to be in the broadcast state when responding to the monitoring device, otherwise the first access device will default to the first A channel is in an unavailable state, so that the access device cannot send response information, or the monitoring device cannot establish a communication connection with the access device even if it receives the response information.

在一个实施例中,通过设置接入设备在向所述监听设备发送连接建立的应答信息时广播标识信息,可以保证接入设备在发出应答信息时,通信协议能够认定接入设备的第一信道处于可用状态,进而保证接入设备与监听设备顺利建立通信连接。In one embodiment, by setting the access device to broadcast the identification information when sending the connection establishment response information to the monitoring device, it can be ensured that the communication protocol can identify the first channel of the access device when the access device sends the response information. It is in an available state, thereby ensuring the smooth establishment of a communication connection between the access device and the monitoring device.

图5是根据一示例性实施例示出的又一种通信连接建立方法的示意流程图。如图5所示,在图4所示实施例的基础上,还包括:Fig. 5 is a schematic flowchart of yet another method for establishing a communication connection according to an exemplary embodiment. As shown in Figure 5, on the basis of the embodiment shown in Figure 4, it also includes:

在步骤S14中,检测是否断开了与所有监听设备的通信连接;In step S14, it is detected whether the communication connection with all monitoring devices is disconnected;

在步骤S15中,若确定已断开通信连接,停止广播标识信息。In step S15, if it is determined that the communication connection has been disconnected, the broadcasting of the identification information is stopped.

在一个实施例中,断开通信连接可以是指断开上述第一信道与监听设备的通信连接,例如监听设备在向接入设备传输数据后,断开与接入设备第一信道的通信连接,而当所有监听设备都与第一信道断开通信连接后,可以确定接入设备的第一信道暂时无需使用,从而可以停止广播标识信息,使得没有向接入设备传输过标识信息的监听设备不会接收到标识信息,也即不会进一步获取到标识信息。In one embodiment, disconnecting the communication connection may refer to disconnecting the communication connection between the first channel and the monitoring device, for example, after the monitoring device transmits data to the access device, disconnecting the communication connection with the first channel of the access device , and when all the monitoring devices are disconnected from the first channel, it can be determined that the first channel of the access device is temporarily unnecessary, so that the broadcast of the identification information can be stopped, so that the monitoring device that has not transmitted the identification information to the access device The identification information will not be received, that is, the identification information will not be further obtained.

需要指出的是,在接入设备向监听设备发送连接建立的应答信息时广播标识信息,到与监听设备断开通信连接时停止广播标识信息,这段时长主要受到监听设备向接入设备传输数据的时长的影响,因此可以将监听设备向接入设备传输数据的时长设置的较短,例如提高传输数据的速度,和/或对传输的数据进行压缩,使得接入设备广播仅广播极短的一段时间,降低被其他监听设备获取到标识信息的概率。It should be pointed out that the identification information is broadcast when the access device sends the response information of the connection establishment to the monitoring device, and the broadcast of the identification information is stopped when the communication connection with the monitoring device is disconnected. Therefore, the duration of data transmission from the monitoring device to the access device can be set to be shorter, such as increasing the speed of data transmission, and/or compressing the transmitted data, so that the access device broadcasts only extremely short For a period of time, the probability of identification information being acquired by other monitoring devices is reduced.

图6是根据一示例性实施例示出的一种通信连接建立方法的示意流程图,该方法适用于监听设备,如图6所示,该方法可以包括以下步骤:FIG. 6 is a schematic flow chart of a method for establishing a communication connection according to an exemplary embodiment. The method is applicable to a monitoring device. As shown in FIG. 6 , the method may include the following steps:

在步骤S61中,向接入设备发送连接建立的请求信息,其中,所述请求信息中包含所述接入设备提供的无线网络的标识信息;In step S61, request information for connection establishment is sent to the access device, wherein the request information includes identification information of the wireless network provided by the access device;

在步骤S62中,根据所述接入设备返回的连接建立的应答信息,与所述接入设备建立通信连接。In step S62, a communication connection is established with the access device according to the connection establishment response information returned by the access device.

本实施例与图3所示的实施例相对应,从监听设备角度对本公开的技术方案进行了描述。This embodiment corresponds to the embodiment shown in FIG. 3 , and describes the technical solution of the present disclosure from the perspective of a monitoring device.

监听设备在与接入设备建立通信连接时,需要向接入设备传输建立通信的请求信息,而只有在请求信息中包含接入设备提供的无线网络的标识信息时,接入设备才会返回连接建立的应答信息。并且,由于接入设备在接收到包含所述标识信息的请求信息之前不进行广播,一方面使得监听设备无法通过扫描接入设备广播的标识信息来获取其提供的无线网络的标识信息;另一方面使得监听设备无法通过将请求信息中的标识信息的值置为空或写为零来使接入设备返回到其提供的无线网络的标识信息,从而实现了接入设备对监听设备隐藏标识信息。When the monitoring device establishes a communication connection with the access device, it needs to transmit the request information for establishing communication to the access device, and the access device will only return the connection when the request information contains the identification information of the wireless network provided by the access device. The established response message. Moreover, because the access device does not broadcast before receiving the request information containing the identification information, on the one hand, the monitoring device cannot obtain the identification information of the wireless network provided by scanning the identification information broadcast by the access device; Aspects make it impossible for the monitoring device to return the identification information of the wireless network provided by the access device by setting the value of the identification information in the request information to be empty or write zero, thereby realizing that the access device hides the identification information from the monitoring device. .

图7是根据一示例性实施例示出的另一种通信连接建立方法的示意流程图。如图7所示,在图6所示实施例的基础上,还包括:Fig. 7 is a schematic flowchart of another method for establishing a communication connection according to an exemplary embodiment. As shown in Figure 7, on the basis of the embodiment shown in Figure 6, it also includes:

在步骤S63中,在向所述接入设备传输数据后,与所述接入设备断开通信连接。In step S63, after the data is transmitted to the access device, the communication connection with the access device is disconnected.

在一个实施例中,当监听设备与接入设备建立通信连接后,可以向接入设备传输数据,例如接入设备为连接至路由器的WiFi放大器,其具备两个信道,不同的信道具备不同的SSID。其中,监听设备可以通过第一信道向接入设备传输数据,例如所要登录的路由器的密码等,然后断开与接入设备第一信道的通信连接;第二信道用于向监听设备提供网络,在密码等数据通过接入设备的验证后,监听设备可以通过第二信道与接入设备建立通信连接。In one embodiment, after the monitoring device establishes a communication connection with the access device, it can transmit data to the access device. For example, the access device is a WiFi amplifier connected to a router, which has two channels, and different channels have different SSID. Among them, the monitoring device can transmit data to the access device through the first channel, such as the password of the router to be logged in, etc., and then disconnect the communication connection with the first channel of the access device; the second channel is used to provide the monitoring device with a network, After the password and other data are verified by the access device, the monitoring device can establish a communication connection with the access device through the second channel.

与前述的通信连接建立方法的实施例相对应,本公开还提供了通信连接建立装置的实施例。Corresponding to the foregoing embodiments of the method for establishing a communication connection, the present disclosure also provides an embodiment of an apparatus for establishing a communication connection.

图8是根据一示例性实施例示出的一种通信连接建立装置的示意框图,该装置适用于接入设备。如图8所示,该装置包括:Fig. 8 is a schematic block diagram of an apparatus for establishing a communication connection according to an exemplary embodiment, and the apparatus is suitable for an access device. As shown in Figure 8, the device includes:

接收单元81,被配置为接收监听设备发送的用于连接建立的请求信息;The receiving unit 81 is configured to receive request information for connection establishment sent by the monitoring device;

检测单元82,被配置为检测所述请求信息中是否包含所述接入设备提供的无线网络的标识信息;A detection unit 82, configured to detect whether the request information includes the identification information of the wireless network provided by the access device;

第一发送单元83,被配置为在所述检测单元82确定所述请求信息中包含所述标识信息时,向所述监听设备发送连接建立的应答信息,以与所述监听设备建立通信连接,其中,所述接入设备在接收到包含所述标识信息的请求信息之前不进行广播。The first sending unit 83 is configured to, when the detection unit 82 determines that the identification information is included in the request information, send response information of connection establishment to the monitoring device, so as to establish a communication connection with the monitoring device, Wherein, the access device does not broadcast before receiving the request information including the identification information.

图9是根据一示例性实施例示出的另一种通信连接建立装置的示意框图。Fig. 9 is a schematic block diagram of another apparatus for establishing a communication connection according to an exemplary embodiment.

如图9所示,在图8所示实施例的基础上,上述装置还包括:As shown in FIG. 9 , on the basis of the embodiment shown in FIG. 8 , the above-mentioned device further includes:

广播单元84,被配置为在所述第一发送单元83向所述监听设备发送连接建立的应答信息后,广播所述标识信息。The broadcasting unit 84 is configured to broadcast the identification information after the first sending unit 83 sends the connection establishment response information to the monitoring device.

图10是根据一示例性实施例示出的又一种通信连接建立装置的示意框图。如图10所示,在图9所示实施例的基础上,上述装置还包括:Fig. 10 is a schematic block diagram of yet another apparatus for establishing a communication connection according to an exemplary embodiment. As shown in FIG. 10 , on the basis of the embodiment shown in FIG. 9 , the above-mentioned device further includes:

检测单元85,被配置为检测是否断开了与所有监听设备的通信连接;The detection unit 85 is configured to detect whether the communication connection with all monitoring devices is disconnected;

其中,所述广播单元84还被配置为在所述检测单元85检测到与所述监听设备断开通信连接时停止广播标识信息。Wherein, the broadcasting unit 84 is further configured to stop broadcasting the identification information when the detecting unit 85 detects that the communication connection with the monitoring device is disconnected.

图11是根据一示例性实施例示出的一种通信连接建立装置的示意框,该装置适用于监听设备。如图11所示,该装置包括:Fig. 11 is a schematic block diagram of an apparatus for establishing a communication connection according to an exemplary embodiment, and the apparatus is suitable for a monitoring device. As shown in Figure 11, the device includes:

第二发送单元111,被配置为向接入设备发送连接建立的请求信息,其中,所述请求信息中包含所述接入设备提供的无线网络的标识信息;The second sending unit 111 is configured to send request information for connection establishment to the access device, wherein the request information includes identification information of the wireless network provided by the access device;

连接建立单元112,被配置为根据所述接入设备返回的连接建立的应答信息,与所述接入设备建立通信连接。The connection establishing unit 112 is configured to establish a communication connection with the access device according to the connection establishment response information returned by the access device.

可选地,所述连接建立单元112还被配置为在向所述接入设备传输数据后,与所述接入设备断开通信连接。Optionally, the connection establishing unit 112 is further configured to disconnect the communication connection with the access device after transmitting the data to the access device.

关于上述实施例中的装置,其中各个模块/单元执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above embodiment, the specific manner in which each module/unit performs the operation has been described in detail in the embodiment of the method, and will not be described in detail here.

对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the apparatus embodiments, since they basically correspond to the method embodiments, reference may be made to the partial descriptions of the method embodiments for related parts. The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present disclosure. Those of ordinary skill in the art can understand and implement it without creative effort.

相应的,本公开还提供一种通信连接建立装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:接收监听设备发送的用于连接建立的请求信息;检测所述请求信息中是否包含所述接入设备提供的无线网络的标识信息;若包含所述标识信息,向所述监听设备发送连接建立的应答信息,以与所述监听设备建立通信连接,其中,所述接入设备在接收到包含所述标识信息的请求信息之前不进行广播。Correspondingly, the present disclosure also provides an apparatus for establishing a communication connection, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to: receive a message for connection establishment sent by a monitoring device request information; detect whether the request information includes the identification information of the wireless network provided by the access device; if the identification information is included, send the response information of connection establishment to the monitoring device to establish a connection with the monitoring device A communication connection, wherein the access device does not broadcast before receiving the request information containing the identification information.

相应的,本公开还提供一种终端,所述终端包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:接收监听设备发送的连接建立的请求信息;确定所述请求信息中是否包含所述接入设备提供的无线网络的标识信息;若包含所述标识信息,向所述监听设备发送连接建立的应答信息,以与所述监听设备建立通信连接,其中,所述接入设备在接收到包含所述标识信息的请求信息之前不进行广播。Correspondingly, the present disclosure also provides a terminal comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations: receiving request information for connection establishment sent by the monitoring device; determining whether the request information includes the identification information of the wireless network provided by the access device; The identification information is sent to the monitoring device to establish a communication connection with the monitoring device, wherein the access device does not broadcast before receiving the request information including the identification information.

相应的,本公开还提供一种通信连接建立装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:向接入设备发送连接建立的请求信息,其中,所述请求信息中包含所述接入设备提供的无线网络的标识信息;根据所述接入设备返回的连接建立的应答信息,与所述接入设备建立通信连接。Correspondingly, the present disclosure also provides an apparatus for establishing a communication connection, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to: send request information for connection establishment to an access device , wherein the request information includes the identification information of the wireless network provided by the access device; and establishes a communication connection with the access device according to the connection establishment response information returned by the access device.

相应的,本公开还提供一种终端,所述终端包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:向接入设备发送连接建立的请求信息,其中,所述请求信息中包含所述接入设备提供的无线网络的标识信息;根据所述接入设备返回的连接建立的应答信息,与所述接入设备建立通信连接。Correspondingly, the present disclosure also provides a terminal comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations: sending request information for connection establishment to an access device, wherein the request information includes identification information of a wireless network provided by the access device; according to the The connection establishment response information returned by the access device establishes a communication connection with the access device.

图12是根据一示例性实施例示出的一种用于建立通信连接的装置1200的框图。例如,装置1200可以作为监听设备也可以作为接入设备,例如可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 12 is a block diagram of an apparatus 1200 for establishing a communication connection according to an exemplary embodiment. For example, apparatus 1200 may function as a listening device or an access device, such as a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.

参照图12,装置1200可以包括以下一个或多个组件:处理组件1202,存储器1204,电源组件1206,多媒体组件1208,音频组件1210,输入/输出(I/O)的接口1212,传感器组件1214,以及通信组件1216。12, an apparatus 1200 may include one or more of the following components: a processing component 1202, a memory 1204, a power supply component 1206, a multimedia component 1208, an audio component 1210, an input/output (I/O) interface 1212, a sensor component 1214, And the communication component 1216.

处理组件1202通常控制装置1200的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1202可以包括一个或多个处理器1220来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1202可以包括一个或多个模块,便于处理组件1202和其他组件之间的交互。例如,处理组件1202可以包括多媒体模块,以方便多媒体组件1208和处理组件1202之间的交互。The processing component 1202 generally controls the overall operation of the device 1200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1202 can include one or more processors 1220 to execute instructions to perform all or some of the steps of the above-described methods. Additionally, processing component 1202 may include one or more modules that facilitate interaction between processing component 1202 and other components. For example, processing component 1202 may include a multimedia module to facilitate interaction between multimedia component 1208 and processing component 1202.

存储器1204被配置为存储各种类型的数据以支持在装置1200的操作。这些数据的示例包括用于在装置1200上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1204可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 1204 is configured to store various types of data to support operations at device 1200 . Examples of such data include instructions for any application or method operating on device 1200, contact data, phonebook data, messages, pictures, videos, and the like. Memory 1204 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件1206为装置1200的各种组件提供电力。电源组件1206可以包括电源管理系统,一个或多个电源,及其他与为装置1200生成、管理和分配电力相关联的组件。Power component 1206 provides power to various components of device 1200. Power supply components 1206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 1200 .

多媒体组件1208包括在所述装置1200和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1208包括一个前置摄像头和/或后置摄像头。当装置1200处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 1208 includes a screen that provides an output interface between the device 1200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 1208 includes a front-facing camera and/or a rear-facing camera. When the apparatus 1200 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件1210被配置为输出和/或输入音频信号。例如,音频组件1210包括一个麦克风(MIC),当装置1200处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1204或经由通信组件1216发送。在一些实施例中,音频组件1210还包括一个扬声器,用于输出音频信号。Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a microphone (MIC) that is configured to receive external audio signals when device 1200 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 1204 or transmitted via communication component 1216 . In some embodiments, audio component 1210 also includes a speaker for outputting audio signals.

I/O接口1212为处理组件1202和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1212 provides an interface between the processing component 1202 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.

传感器组件1214包括一个或多个传感器,用于为装置1200提供各个方面的状态评估。例如,传感器组件1214可以检测到装置1200的打开/关闭状态,组件的相对定位,例如所述组件为装置1200的显示器和小键盘,传感器组件1214还可以检测装置1200或装置1200一个组件的位置改变,用户与装置1200接触的存在或不存在,装置1200方位或加速/减速和装置1200的温度变化。传感器组件1214可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1214还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1214还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1214 includes one or more sensors for providing status assessment of various aspects of device 1200 . For example, the sensor assembly 1214 can detect the open/closed state of the device 1200, the relative positioning of components, such as the display and keypad of the device 1200, and the sensor assembly 1214 can also detect a change in the position of the device 1200 or a component of the device 1200 , the presence or absence of user contact with the device 1200 , the orientation or acceleration/deceleration of the device 1200 and the temperature change of the device 1200 . Sensor assembly 1214 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件1216被配置为便于装置1200和其他设备之间有线或无线方式的通信。装置1200可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1216经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1216还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 1216 is configured to facilitate wired or wireless communication between apparatus 1200 and other devices. Device 1200 may access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1216 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置1200可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 1200 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1204,上述指令可由装置1200的处理器1220执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory 1204 including instructions, executable by the processor 1220 of the apparatus 1200 to accomplish the above method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (6)

1.一种通信连接建立方法,其特征在于,适用于接入设备,所述方法包括:1. A method for establishing a communication connection, characterized in that it is applicable to an access device, the method comprising: 接收监听设备发送的用于连接建立的请求信息;Receive the request information sent by the monitoring device for connection establishment; 检测所述请求信息中是否包含所述接入设备提供的无线网络的标识信息;Detecting whether the request information contains the identification information of the wireless network provided by the access device; 若包含所述标识信息,向所述监听设备发送连接建立的应答信息,以与所述监听设备建立通信连接,其中,所述接入设备在接收到包含所述标识信息的请求信息之前不进行广播;If the identification information is included, the connection establishment response information is sent to the monitoring device to establish a communication connection with the monitoring device, wherein the access device does not perform a connection before receiving the request information including the identification information. broadcast; 在向所述监听设备发送连接建立的应答信息后,广播所述标识信息;After sending the response information of connection establishment to the monitoring device, broadcast the identification information; 检测是否断开了与所有监听设备的通信连接;Detect whether the communication connection with all monitoring devices is disconnected; 若确定已断开通信连接,停止广播标识信息;If it is determined that the communication connection has been disconnected, stop broadcasting the identification information; 其中,在接入设备向监听设备发送连接建立的应答信息时广播标识信息、到与监听设备断开通信连接时停止广播标识信息之间的时段内,对监听设备向接入设备传输的数据进行压缩。Among them, during the period between when the access device sends the response information of connection establishment to the monitoring device, and stops broadcasting the identification information when the communication connection with the monitoring device is disconnected, the data transmitted by the monitoring device to the access device is processed. compression. 2.一种通信连接建立方法,其特征在于,适用于监听设备,所述方法包括:2. A method for establishing a communication connection, characterized in that it is applicable to monitoring equipment, the method comprising: 向接入设备发送连接建立的请求信息,其中,所述请求信息中包含所述接入设备提供的无线网络的标识信息;Sending request information for connection establishment to the access device, wherein the request information includes the identification information of the wireless network provided by the access device; 根据所述接入设备返回的连接建立的应答信息,与所述接入设备建立通信连接;establishing a communication connection with the access device according to the connection establishment response information returned by the access device; 在向所述接入设备传输数据后,与所述接入设备断开通信连接;After transmitting data to the access device, disconnect the communication connection with the access device; 其中,在接入设备向监听设备发送连接建立的应答信息时广播标识信息、到与监听设备断开通信连接时停止广播标识信息之间的时段内,对监听设备向接入设备传输的数据进行压缩。Among them, during the period between when the access device sends the response information of connection establishment to the monitoring device, and stops broadcasting the identification information when the communication connection with the monitoring device is disconnected, the data transmitted by the monitoring device to the access device is processed. compression. 3.一种通信连接建立装置,其特征在于,适用于接入设备,所述装置包括:3. An apparatus for establishing a communication connection, characterized in that it is suitable for an access device, the apparatus comprising: 接收单元,被配置为接收监听设备发送的用于连接建立的请求信息;a receiving unit, configured to receive request information for connection establishment sent by the monitoring device; 检测单元,被配置为检测所述请求信息中是否包含所述接入设备提供的无线网络的标识信息;a detection unit, configured to detect whether the request information contains the identification information of the wireless network provided by the access device; 第一发送单元,被配置为在所述检测单元确定所述请求信息中包含所述标识信息时,向所述监听设备发送连接建立的应答信息,以与所述监听设备建立通信连接,其中,所述接入设备在接收到包含所述标识信息的请求信息之前不进行广播;a first sending unit, configured to send, to the monitoring device, when the detection unit determines that the identification information is included in the request information, to send a connection establishment response message to the monitoring device, so as to establish a communication connection with the monitoring device, wherein, The access device does not broadcast before receiving the request information including the identification information; 广播单元,被配置为在所述第一发送单元向所述监听设备发送连接建立的应答信息后,广播所述标识信息;a broadcasting unit, configured to broadcast the identification information after the first sending unit sends the response information of connection establishment to the monitoring device; 检测单元,被配置为检测是否断开了与所有监听设备的通信连接;a detection unit, configured to detect whether the communication connection with all monitoring devices is disconnected; 其中,所述广播单元还被配置为在所述检测单元检测到与所述监听设备断开通信连接时停止广播标识信息;Wherein, the broadcasting unit is further configured to stop broadcasting the identification information when the detection unit detects that the communication connection with the monitoring device is disconnected; 在接入设备向监听设备发送连接建立的应答信息时广播标识信息、到与监听设备断开通信连接时停止广播标识信息之间的时段内,对监听设备向接入设备传输的数据进行压缩。The data transmitted by the monitoring device to the access device is compressed during the period between when the access device sends the response information of connection establishment to the monitoring device and stops broadcasting the identification information when the communication connection with the monitoring device is disconnected. 4.一种通信连接建立装置,其特征在于,适用于监听设备,所述装置包括:4. An apparatus for establishing a communication connection, characterized in that it is suitable for monitoring equipment, the apparatus comprising: 第二发送单元,被配置为向接入设备发送连接建立的请求信息,其中,所述请求信息中包含所述接入设备提供的无线网络的标识信息;a second sending unit, configured to send request information for connection establishment to the access device, wherein the request information includes identification information of the wireless network provided by the access device; 连接建立单元,被配置为根据所述接入设备返回的连接建立的应答信息,与所述接入设备建立通信连接;a connection establishment unit, configured to establish a communication connection with the access device according to the connection establishment response information returned by the access device; 所述连接建立单元还被配置为在向所述接入设备传输数据后,与所述接入设备断开通信连接;The connection establishment unit is further configured to disconnect the communication connection with the access device after transmitting the data to the access device; 其中,在接入设备向监听设备发送连接建立的应答信息时广播标识信息、到与监听设备断开通信连接时停止广播标识信息之间的时段内,对监听设备向接入设备传输的数据进行压缩。Among them, during the period between when the access device sends the response information of connection establishment to the monitoring device, and stops broadcasting the identification information when the communication connection with the monitoring device is disconnected, the data transmitted by the monitoring device to the access device is processed. compression. 5.一种电子设备,其特征在于,包括:5. An electronic device, characterized in that, comprising: 处理器;processor; 用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为:wherein the processor is configured to: 接收监听设备发送的用于连接建立的请求信息;Receive the request information sent by the monitoring device for connection establishment; 检测所述请求信息中是否包含接入设备提供的无线网络的标识信息;Detecting whether the request information contains the identification information of the wireless network provided by the access device; 若包含所述标识信息,向所述监听设备发送连接建立的应答信息,以与所述监听设备建立通信连接,其中,所述接入设备在接收到包含所述标识信息的请求信息之前不进行广播;If the identification information is included, the connection establishment response information is sent to the monitoring device to establish a communication connection with the monitoring device, wherein the access device does not perform a connection before receiving the request information including the identification information. broadcast; 在向所述监听设备发送连接建立的应答信息后,广播所述标识信息;After sending the response information of connection establishment to the monitoring device, broadcast the identification information; 检测是否断开了与所有监听设备的通信连接;Detect whether the communication connection with all monitoring devices is disconnected; 若确定已断开通信连接,停止广播标识信息;If it is determined that the communication connection has been disconnected, stop broadcasting the identification information; 其中,在接入设备向监听设备发送连接建立的应答信息时广播标识信息、到与监听设备断开通信连接时停止广播标识信息之间的时段内,对监听设备向接入设备传输的数据进行压缩。Among them, during the period between when the access device sends the response information of connection establishment to the monitoring device, and stops broadcasting the identification information when the communication connection with the monitoring device is disconnected, the data transmitted by the monitoring device to the access device is processed. compression. 6.一种电子设备,其特征在于,包括:6. An electronic device, characterized in that, comprising: 处理器;processor; 用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为:wherein the processor is configured to: 向接入设备发送连接建立的请求信息,其中,所述请求信息中包含所述接入设备提供的无线网络的标识信息;Sending request information for connection establishment to the access device, wherein the request information includes identification information of the wireless network provided by the access device; 根据所述接入设备返回的连接建立的应答信息,与所述接入设备建立通信连接;establishing a communication connection with the access device according to the connection establishment response information returned by the access device; 在向所述接入设备传输数据后,与所述接入设备断开通信连接;After transmitting data to the access device, disconnect the communication connection with the access device; 其中,在接入设备向监听设备发送连接建立的应答信息时广播标识信息、到与监听设备断开通信连接时停止广播标识信息之间的时段内,对监听设备向接入设备传输的数据进行压缩。Among them, during the period between when the access device sends the response information of connection establishment to the monitoring device, and stops broadcasting the identification information when the communication connection with the monitoring device is disconnected, the data transmitted by the monitoring device to the access device is processed. compression.
CN201611130275.2A 2016-12-09 2016-12-09 Communication connection establishing method and device and electronic equipment Active CN106550482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611130275.2A CN106550482B (en) 2016-12-09 2016-12-09 Communication connection establishing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611130275.2A CN106550482B (en) 2016-12-09 2016-12-09 Communication connection establishing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106550482A CN106550482A (en) 2017-03-29
CN106550482B true CN106550482B (en) 2020-03-17

Family

ID=58397158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611130275.2A Active CN106550482B (en) 2016-12-09 2016-12-09 Communication connection establishing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106550482B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108601009A (en) * 2018-05-07 2018-09-28 北京百瑞互联技术有限公司 One-to-many, low power consumption, fast wireless device connection method and system
CN113727462B (en) * 2021-08-25 2025-08-12 北京小米移动软件有限公司 Wireless connection establishment method and device, electronic equipment and storage medium
CN114422568A (en) * 2021-12-27 2022-04-29 北京策腾教育科技集团有限公司 Method, system, computer terminal and storage medium for quickly establishing communication connection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705290A (en) * 2004-06-03 2005-12-07 华为技术有限公司 Method for accessing WLAN
CN102938886A (en) * 2012-10-12 2013-02-20 深圳市共进电子股份有限公司 Method for preventing wireless network from being detected
CN104302015A (en) * 2014-09-15 2015-01-21 浙江生辉照明有限公司 Adaptive WI-FI network connection method and system with hidden SSID
CN105163313A (en) * 2015-08-18 2015-12-16 北京光音盛世信息技术有限公司 WiFi (Wireless Fidelity) connection authentication method based on hidden SSID (Service Set Identifier)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8050241B2 (en) * 2006-11-30 2011-11-01 Research In Motion Limited Determining identifiers for wireless networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705290A (en) * 2004-06-03 2005-12-07 华为技术有限公司 Method for accessing WLAN
CN102938886A (en) * 2012-10-12 2013-02-20 深圳市共进电子股份有限公司 Method for preventing wireless network from being detected
CN104302015A (en) * 2014-09-15 2015-01-21 浙江生辉照明有限公司 Adaptive WI-FI network connection method and system with hidden SSID
CN105163313A (en) * 2015-08-18 2015-12-16 北京光音盛世信息技术有限公司 WiFi (Wireless Fidelity) connection authentication method based on hidden SSID (Service Set Identifier)

Also Published As

Publication number Publication date
CN106550482A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
US10205776B2 (en) Method and device for wireless connection
WO2016192323A1 (en) Video communication method and device
CN104580401A (en) Connecting method and device
CN106790043B (en) Method and device for sending message in live broadcast application
US20160255521A1 (en) Method and apparatus for testing a smart device
WO2016192326A1 (en) Cloud business card transmission method and device
CN104602112A (en) Configuration method and device
KR101845404B1 (en) Method, device, program and recording medium for image transmission
WO2017020413A1 (en) Network access method, device and system
CN105049416A (en) Method and apparatus for accessing to wifi network
US20170034776A1 (en) Method, apparatus, and system for smart device to access router
WO2017071074A1 (en) Method and apparatus for establishing connection
CN107071862B (en) Account number binding method and device and intelligent equipment
JP2017514428A (en) Network connection method, apparatus, program, and recording medium
CN105872020A (en) Access method of virtual desktop and mobile terminal
CN106231432A (en) The method and device of sharing video frequency
CN106412481B (en) Reminding method, device and terminal based on VoLTE video calling
CN106550482B (en) Communication connection establishing method and device and electronic equipment
CN111541922A (en) Method, device and storage medium for inputting information on display interface
CN109040651B (en) Method and device for video communication
WO2017024739A1 (en) Method of transmitting file and device utilizing same
CN110945941B (en) Identification sending method, identification receiving method, information sending method and device
CN110213531B (en) Monitoring video processing method and device
CN109391944B (en) Wireless network remark method and device
CN106533866A (en) Relay configuration method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant