CN104394577A - Wireless network access method of wireless route equipment and electronic equipment - Google Patents

Wireless network access method of wireless route equipment and electronic equipment Download PDF

Info

Publication number
CN104394577A
CN104394577A CN 201410751881 CN201410751881A CN104394577A CN 104394577 A CN104394577 A CN 104394577A CN 201410751881 CN201410751881 CN 201410751881 CN 201410751881 A CN201410751881 A CN 201410751881A CN 104394577 A CN104394577 A CN 104394577A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
wireless
equipment
network
multicast
configuration
Prior art date
Application number
CN 201410751881
Other languages
Chinese (zh)
Inventor
李茂源
Original Assignee
上海斐讯数据通信技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATIONS NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information

Abstract

The invention provides a wireless network access method of wireless route equipment and electronic equipment. The method comprises the following steps: forwarding a multicast message sent by a multicast initiator to multiple pieces of electronic equipment, wherein the last three bytes of a multicast MAC (media access control) address in the multicast message are used for loading configuration information of a wireless network, and the configuration information is that the last but two byte is set as an initial synchronous mark or a data sending mark and the last two bytes are set as an SSID (service set identifier) and a password of the wireless network, the length of the SSID and the password or 0 respectively; extracting the configuration information of the wireless network from the multicast message by the electronic equipment and accessing to the wireless network according to the configuration information. According to the method, the multiple pieces of intelligent equipment can simultaneously access to the wireless network under the condition that a user does not need to log in the intelligent equipment and no more hardware design supports are provided, so that the cost is reduced.

Description

无线路由设备及电子设备的无线网络接入方法 Wireless network access wireless routing device and method of an electronic device

技术领域 FIELD

[0001] 本发明涉及网络技术领域,特别是涉及一种无线路由设备及电子设备的无线网络接入方法。 [0001] The present invention relates to network technologies, and particularly to a wireless routing device and the electronic device a wireless network access method.

背景技术 Background technique

[0002] 现在智能设备接入无线网络的方法是:用户通过某种方式连接并登录到智能设备上对设备进行配置从而接入无线网络,或者是在硬件上增加功能与路由器配合实现设备无线网络的接入。 [0002] Now a method of intelligent devices accessing a wireless network: the user is connected in some way to the log and on the smart device so that the device configured to access the wireless network or a router with increased functionality implemented in a wireless network hardware access.

[0003] 这些接入方法无疑增加了智能设备的硬件成本和用户操作的复杂程度,且一次只能配置一台设备接入网络。 [0003] The access method will increase the cost and complexity of hardware intelligent user operation of the device, and a device configuration can only access the network. 本发明依据组播I? The present invention is based on multicast I? 地址和组播嫩地址的转换规则,将设备需要连接的无线网络的配置信息包含在组播嫩地址后三字节当中,接入设备在全信道扫描目标组播包,对组播包的物理帧头进行解析从而获取相应的配置信息,实现无线加密情况下多台智能设备的无线接入功能,且这种接入方法无需用户登录智能设备和更多硬件电路的支持。 Tender conversion rule address and a multicast address, the wireless network configuration information comprising a connection device requires three bytes tender multicast address which the access device in the full channel scan target multicast packet, a physical multicast packet analyzing header so as to obtain corresponding configuration information, wireless access to the encryption function in the case of multiple smart wireless devices, and this method does not require the user to support the access log more intelligent devices and hardware circuit.

发明内容 SUMMARY

[0004] 鉴于以上所述现有技术的缺点,本发明的目的在于提供一种无线路由设备及电子设备的无线网络接入方法,解决上述现有技术中智能设备接入无线网络过程复杂的问题。 [0004] In view of the foregoing disadvantages of the prior art, an object of the present invention is to provide a routing apparatus and a wireless electronic device wireless network access method to solve the above prior art intelligent devices accessing a wireless network during complex problem .

[0005] 为实现上述目标及其他相关目标,本发明提供一种无线路由设备,包括:组播报文转发模块,用于转发由组播发起者发来的组播报文至多个电子设备;其中,所述组播报文中的组播嫩地址的最后三个字节用于装载所述无线网络的配置信息,所述配置信息包括:倒数第三字节用于设为起始同步标志或数据发送标志,最后两个字节分别用于设为所无线网络的3310和密码、所述3310和密码的长度、或均设为0,以供各所述电子设备从所述组播报文中提取所述无线网络的配置信息并据以接入所述无线网络。 [0005] To achieve the above objectives and other related objectives, the present invention provides a wireless routing device, comprising: a multicast forwarding module, for forwarding the multicast originator of multicast packets sent to a plurality of electronic devices; wherein the multicast address of the last three bytes of the multicast packets in tender for loading said configuration information of the wireless network, the configuration information includes: the third last byte is used to start the synchronization flag or data transmission flag, the last two bytes are set for the wireless network 3310 and password 3310 and the length of the password, or are set to 0, for each of the electronic device from the multicast group extracts the text said wireless network configuration information and accordingly access the wireless network.

[0006] 可选的,所述组播报文包括以下几种:第一数据报文:其组播嫩地址的倒数第三字节为起始同步标示,最后两个字节为0,第一数据报文长度设为I ;第二数据报文:其组播^0地址的倒数第三字节为数据发送标志,最后两个字节分别为所述3310长度和密码长度,第二数据报文长度为I ;第三数据报文:其组播嫩地址的倒数第三字节为数据发送标志,最后两个字节分别为所述3310长度和密码长度,第三数据报文长度按发送次序逐个递增加1并处于1+1到[1+(3310长度+密码长度)/2]的取值范围内;第四数据报文:其组播嫩地址的倒数第三字节为数据发送标志,最后两个字节均为0,第四数据报文长度按发送次序逐个递增加1并处于1+1到[1+(3310长度+密码长度)/2]的取值范围内。 [0006] Optionally, the multicast packet includes the following: a first data packet: the third last byte of its tender multicast address designated as a starting synchronization, the last two bytes are 0, the first a data packet length is set to I; the second data packet: its last third byte 0 ^ multicast address for data transmission flag, the last two bytes are a length and password length 3310, a second data packet length is I; third data packets: the third last byte of its tender multicast address data transmission flag, the last two bytes are a length of 3310 and a password length, the length of the third data packets by sending order is incremented by one in the 1 + 1 and 1 to [(the length of the password length + 3310) / 1 + 2] of the range; the fourth data packet: the third last byte of which is the multicast address data tender transmission flag, the last two bytes are 0, the fourth data packet length is incremented by one according to the order of transmission is in the 1 + 1 and 1 to [1+ (password length length + 3310) / 2] range.

[0007] 可选的,所述第三数据包文中,若3310和密码长度加起来为奇数,则其组播监0地址最后一字节置为0。 [0007] Alternatively, the third data packet context, and 3310 if the password length add up to an odd number, then the multicast address of the last byte 0 monitor is set to 0.

[0008] 可选的,所述无线路由设备是依次转发所述第一数据报文、第二数据报文、第三数据报文、及第四数据报文至每个所述电子设备的。 [0008] Optionally, the wireless routing device is sequentially forwarding the first data packet, the second data packet, the third data packet and the fourth data packet to each of said electronic device.

[0009] 可选的,所述第一数据报文、第二数据报文、第三数据报文、及第四数据报文均各自重复发送多次。 [0009] Optionally, the first data packet, the second data packet, the third data packet and the fourth data packets are transmitted each repeated a plurality of times.

[0010] 为实现上述目标及其他相关目标,本发明提供一种电子设备的无线网络接入方法,包括:转发由组播发起者发来的组播报文至多个电子设备;其中,所述组播报文中的组播嫩地址的最后三个字节用于装载所述无线网络的配置信息,所述配置信息包括:倒数第三字节用于设为起始同步标志或数据发送标志,最后两个字节分别用于设为所无线网络的3310和密码、所述3310和密码的长度、或均设为0 ;各所述电子设备从所述组播报文中提取所述无线网络的配置信息并据以接入所述无线网络。 [0010] To achieve the above objectives and other related objectives, the present invention provides an electronic device of a wireless network access, comprising: a multicast forwarding originator of multicast packets sent to a plurality of electronic apparatus; wherein said the last three bytes tender multicast address of the multicast packet for loading configuration information of the wireless network, the configuration information includes: the third last byte of the starting flag or synchronizing data transmission flag is set for the last two bytes are set for the wireless network 3310 and password 3310 and the length of the password, or are set to 0; each of extracting the electronic device from the wireless network the multicast message configuration information and accordingly access the wireless network.

[0011] 可选的,所述组播报文包括以下几种:第一数据报文:其组播嫩地址的倒数第三字节为起始同步标示,最后两个字节为0,第一数据报文长度设为I ;第二数据报文:其组播^0地址的倒数第三字节为数据发送标志,最后两个字节分别为所述3310长度和密码长度,第二数据报文长度为I ;第三数据报文:其组播嫩地址的倒数第三字节为数据发送标志,最后两个字节分别为所述3310长度和密码长度,第三数据报文长度按发送次序逐个递增加1并处于1+1到[1+(3310长度+密码长度)/2]的取值范围内;第四数据报文:其组播嫩地址的倒数第三字节为数据发送标志,最后两个字节均为0,第四数据报文长度按发送次序逐个递增加1并处于1+1到[1+(3310长度+密码长度)/2]的取值范围内。 [0011] Optionally, the multicast packet includes the following: a first data packet: the third last byte of its tender multicast address designated as a starting synchronization, the last two bytes are 0, the first a data packet length is set to I; the second data packet: its last third byte 0 ^ multicast address for data transmission flag, the last two bytes are a length and password length 3310, a second data packet length is I; third data packets: the third last byte of its tender multicast address data transmission flag, the last two bytes are a length of 3310 and a password length, the length of the third data packets by sending order is incremented by one in the 1 + 1 and 1 to [(the length of the password length + 3310) / 1 + 2] of the range; the fourth data packet: the third last byte of which is the multicast address data tender transmission flag, the last two bytes are 0, the fourth data packet length is incremented by one according to the order of transmission is in the 1 + 1 and 1 to [1+ (password length length + 3310) / 2] range.

[0012] 可选的,所述第三数据包文中,若3310和密码长度加起来为奇数,则其组播监0地址最后一字节置为0。 [0012] Alternatively, the third data packet context, and 3310 if the password length add up to an odd number, then the multicast address of the last byte 0 monitor is set to 0.

[0013] 可选的,所述的电子设备的无线网络接入方法,包括:依次转发所述第一数据报文、第二数据报文、第三数据报文、及第四数据报文至每个所述电子设备的。 [0013] Alternatively, the wireless network access method of an electronic device, comprising: sequentially forwarding the first data packet, the second data packet, the third data packet and the fourth data packet to each of the electronic device.

[0014] 可选的,所述第一数据报文、第二数据报文、第三数据报文、及第四数据报文均各自重复发送多次。 [0014] Optionally, the first data packet, the second data packet, the third data packet and the fourth data packets are transmitted each repeated a plurality of times.

[0015] 如上所述,本发明提供一种无线路由设备及电子设备的无线网络接入方法,通过转发由组播发起者发来的组播报文至多个电子设备;其中,所述组播报文中的组播嫩地址的最后三个字节用于装载所述无线网络的配置信息,所述配置信息包括:倒数第三字节用于设为起始同步标志或数据发送标志,最后两个字节分别用于设为所无线网络的3310和密码、所述3310和密码的长度、或均设为0 ;各所述电子设备从所述组播报文中提取所述无线网络的配置信息并据以接入所述无线网络;本发明实现多台智能设备同时接入无线网络,且无需用户登录智能设备和更多硬件设计的支持即可实现设备无线网络的接入,降低成本。 [0015] As described above, the present invention provides a wireless electronic device and the routing device wireless network access method, the initiator by forwarding the multicast packet sent by the multicast to a plurality of electronic apparatus; wherein said multicast tender multicast address described in the last three bytes for loading said configuration information of the wireless network, the configuration information includes: the third last byte is used to synchronize the start of data transmission flag or flag, the last two bytes are set for the wireless network 3310 and password 3310 and the length of the password, or are set to 0; each of the electronic apparatus extracts configuration information from the wireless network and the multicast data packet access to the wireless network; the present invention achieve a plurality of intelligent devices simultaneously access the wireless network, without requiring user logon smart device and can support more hardware design to achieve a wireless network access device, and reduce costs.

附图说明 BRIEF DESCRIPTION

[0016] 图1显示为本发明一实施例中的路由设备的结构示意图。 [0016] FIG. 1 shows a schematic structure of a routing device according to an embodiment of the present invention.

[0017] 图2显示为本发明一实施例中的路由设备发送所述组播报文的流程示意图。 [0017] FIG. 2 shows a flow schematic diagram of a routing device transmitting the multicast packet to an embodiment of the present invention.

[0018] 图3显示为本发明一实施例中的电子设备处理所述组播报文的流程示意图。 [0018] FIG. 3 shows a schematic flow diagram of embodiments of an electronic device processing the multicast packets to an embodiment of the invention.

[0019] 图4显示为本发明一实施例中的电子设备的无线网络接入方法的流程示意图。 [0019] FIG. 4 shows a flow diagram of a wireless network access of the electronic device in the embodiment of a method embodiment of the present invention.

[0020] 元件标号说明 [0020] DESCRIPTION OF REFERENCE NUMERALS element

[0021] 1 无线路由设备 [0021] 1 wireless routing device

[0022] 11 组播报文转发模块 [0022] The multicast packet forwarding module 11

[0023] 2 电子设备 [0023] The electronic apparatus 2

[0024] 31〜32 方法步骤 [0024] Method steps 31~32

具体实施方式 detailed description

[0025] 以下通过特定的具体实例说明本发明的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本发明的其他优点与功效。 [0025] Hereinafter, an embodiment of the present invention by certain specific examples, those skilled in the art disclosed in this specification may readily understand the content of other advantages and effects of the present invention. 本发明还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本发明的精神下进行各种修饰或改变。 The present invention may also be implemented or applied through other different specific embodiments, the details of the specification may be carried out in various modified or changed without departing from the spirit of the invention based on various concepts and applications. 需说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。 It is noted that, in the case of no conflict, embodiments and features of the embodiments of the present application can be combined with each other.

[0026] 如图1所示,本发明提供一种无线路由设备1,例如为路由器或具有路由功能的交换机等,其包括:组播报文转发模块11。 [0026] As shown in FIG. 1, the present invention provides a wireless routing device 1, for example, like a router or a switch having a routing function, comprising: a multicast packet forwarding module 11.

[0027] 所述组播报文转发模块11,用于转发由组播发起者(例如手机、平板电脑等移动终端或其他电子终端)发来的组播报文至多个电子设备2 ;其中,所述组播报文中的组播嫩0地址的最后三个字节用于装载所述无线网络的配置信息,所述配置信息包括:倒数第三字节用于设为起始同步标志或数据发送标志,最后两个字节分别用于设为所无线网络的8810(861-^106 86^ 1(161^1丨丨61',服务集标识)和密码、所述3310和密码的长度、或均设为0,以供各所述电子设备2从所述组播报文中提取所述无线网络的配置信息并据以接入所述无线网络,在一实施例中,所述无线网络为网络,但是并非以此为限,亦可为其他现有的通信网络。 [0027] The multicast packet forwarding module 11, configured to forward the multicast initiator (e.g. mobile phones, tablet computers and other mobile terminal or other electronic terminal) by multicast packets sent to a plurality of electronic apparatus 2; wherein, the last three bytes of the multicast group address multicast packets tender 0 is used to load the configuration information of the wireless network, the configuration information includes: the third last byte is used to start the synchronization flag or data transmission flag, the last two bytes are set for the wireless network 8810 (861- ^ 10 686 ^ 1 (161 ^ 1 Shushu 61 ', service set identification) and a password, and the length of the password 3310, or are set to 0, the configuration information for each of the electronic apparatus 2 sets the extracted multicast packet data from a wireless network and to access the wireless network, in one embodiment, the wireless network is a network, but not limited thereto, it may also be other existing communication network.

[0028] 在一实施例中,所述组播报文包括以下几种:第一数据报文:其组播嫩地址的倒数第三字节为起始同步标示,最后两个字节为0,第一数据报文长度设为I ;第二数据报文:其组播嫩地址的倒数第三字节为数据发送标志,最后两个字节分别为所述3310长度和密码长度,第二数据报文长度为I ;第三数据报文:其组播嫩地址的倒数第三字节为数据发送标志,最后两个字节分别为所述3310长度和密码长度,第三数据报文长度按发送次序逐个递增加1并处于1+1到[1+(3310长度+密码长度)/2]的取值范围内;第四数据报文:其组播嫩地址的倒数第三字节为数据发送标志,最后两个字节均为0,第四数据报文长度按发送次序逐个递增加1并处于1+1到[1+(3310长度+密码长度)/2]的取值范围内。 [0028] In one embodiment, the multicast packet includes the following: a first data packet: the third last byte of its tender multicast address designated as a starting synchronization, the last two bytes 0 , a first data packet length to I; the second data packet: the third last byte of its tender multicast address data transmission flag, the last two bytes are a length and password length 3310, a second data packet length is I; third data packets: the third last byte of its tender multicast address data transmission flag, the last two bytes are a length of 3310 and a password length, the third data packet length is incremented by one by sending order is 1 and 1 to 1 + [1 + (length + 3310 password length) / 2] of the range; the fourth data packet: the third last byte of which is the multicast address tender data transmission flag, the last two bytes are 0, the fourth data packet length is incremented by one by sending order is 1 and [(length + 3310 password length) / 1 + 2] + 1 values ​​within the range of 1 to .

[0029] 请参阅图2,举一实施例介绍上述组播报文转发的原理:所述无线路由设备1是依次转发所述第一数据报文、第二数据报文、第三数据报文、及第四数据报文至每个所述电子设备2的,在一实施例中,所述第一数据报文、第二数据报文、第三数据报文、及第四数据报文均各自重复发送多次,例如3次。 [0029] Referring to FIG. 2, for an embodiment of the principles described above multicast packets forwarding: routing the wireless device 1 sequentially forwarding the first data packet, the second data packet, the third data packet , and fourth data packets to each of the electronic apparatus 2, in one embodiment, the first data packet, the second data packet, the third data packet and the fourth data packets are transmitting each repeated a plurality of times, for example 3 times.

[0030] 如图所示,八、8表示一个字节的数据,分别代表起始同步标志和数据发送标志。 [0030] As shown, eight, 8 represents one byte data, and synchronization flag representing the start of data transmission flag. I是数据报文的长度决定组播报文的先后顺序。 I is the length of the data packet determines the multicast packet order.

[0031] 具体的,在步骤八中:通过第一数据报文发送起始同步标识(八),嫩地址后三字节为八:00:00,报文长度填充为I ; [0031] Specifically, in Step Eight: synchronization packet transmitting start identification (H), the address of three bytes tender after the first eight data: 00: 00, length packet filled with I;

[0032] 在步骤8中:通过第二数据报文发送3310和密码的长度,^0地址后三字节为8: [8810长度]:〔密码长度〕,报文长度为I ; [0032] In Step 8: transmission via the second data packet length 3310 and a password, ^ three bytes after address 0 8: [8810 length]: [] password length, packet length is I;

[0033] 在步骤(:中:通过第三数据报文顺序发送3310和密码的…011码,^0地址后三字节为8:[数据]:[数据〕,报文长度决定数据报文的先后顺序从1+1到1+(3310长度+密码长度)/2],例如,按发送顺序各个数据报文长度依次为1+1,1+2……直至1+(3310长度+密码长度)/2];可选的,如果3310和密码长度加起来为奇数则监(:地址最后一字节为0,即8:[数据]:00 ; [0033] In step (:: Send password 3310 and the third data packet by the sequence ... 011 yards, ^ 0 the address is three bytes 8: [Data]: [] data, packet length determination data packets the order from 1 to 1 + 1 + (length + 3310 password length) / 2], for example, each of the data packets in the transmitted sequence length of the order of 1 + 1 + 1, 1 + 2 ...... up (the password length + 3310 length) / 2]; Alternatively, if the password length 3310 and an odd number of combined monitoring (: last byte of the address is 0, i.e., 8: [data]: 00;

[0034] 在步骤0中:通过发送第四数据报文作为结束标识报文,嫩地址后三字节为8:00:00,报文长度顺序后延为[[+ (8810长度+密码长度)/2] +1。 [0034] In Step 0: transmitting fourth data packets by a three-byte identification packet after the tender 8:00:00 address, packet length sequence after extension of [[+ (length + 8810 password length ) / 2] +1.

[0035] 对应的,各个电子设备2可例如为智能家电设备、移动终端(智能手机或平板电脑)而与所述路由设备连接,更优选的,可各个智能家电设备可通过具有无线网卡的智能插座从所述组播报文中获取3310、密码等信息,从而连接所述路由设备而接入所述无线网络;因此,本发明可应用于物联网的智能家居系统中,实现简单快速的智能家电设备接入网络及传输。 [0035] corresponding to each electronic apparatus 2 may for example be a smart home appliance, a mobile terminal (smart phone or tablet) and is connected with the routing device, and more preferably, the device may be various smart appliances having wireless smart card obtaining text information 3310, the password from the group multicast socket to connect the routing device and the wireless network access; therefore, the present invention can be applied to a smart home system of things, quick and easy to realize intelligent home appliance access network and transmission.

[0036] 具体可参阅图3例示的流程,电子设备2首先对全信道进行扫描,用于确定发送组播数据包路由器的信道,在确定信道后就开始接收组播包。 [0036] DETAILED refer to the flow shown in FIG. 3, the electronic apparatus 2 first, full channel scanning, for determining a router to send a multicast packet channel, starts receiving multicast packet after determining a channel. 起始的状态为“初始”,一直等到接收到长度和监地址符合起始标识的组播包后切换状态为“接收长度”;然后等待接收到长度和监(:地址第三字节符合长度标识的组播包后,记录监(:地址后两位为3310和密码的长度,并切换状态为“接收数据”;随后将歡地址第三字节符合“接收数据”状态且接收到长度在“接收数据”状态的范围内的数据按顺序保存在字符数组中,如果判断数据接收完毕且收到结束标识,则切换状态为“结束接收”,从字符数组中将3310和密码信息分离出来并控制电子设备2连接到无线网络;本领域技术人员应当可以根据本发明的教示加以实现并变化,并非以图示例为限。 Initial state is the "initial", and waits until receiving the monitoring addresses matching the length of the multicast packets switched state start flag is "receiving a length"; and then waiting to receive the monitoring length (: address byte matches the length of the third after identification of the multicast packets, recording monitoring (: length 3310 after two address and password, and switch status "data reception"; then Huan third byte address matching "data reception" state, and the received length data in the range of "receive data" state sequentially stored in the character array, the data has been received is determined, and if the end flag is received, the status is switched to "end of reception", 3310 and isolated in a character array password information from and out the electronic control device 2 is connected to a wireless network; skilled in the art should be able to be realized and changes according to the teachings of the present invention is not limited to the illustrated example.

[0037] 如图4所示,本发明提供一种电子设备的无线网络接入方法,其技术原理同上述实施例大致相同,因此在不冲突的情况下上述实施例中的技术特征可应用于本实施例,因此对重复的技术特征不再赘述;所述方法包括: [0037] As shown in FIG. 4, the present invention provides an electronic device of a wireless network access method, the same technical principle is substantially the same as the above-described embodiment, and therefore the technical features of the above embodiments without conflict may be applied the present embodiment, therefore repeated technical features omitted; the method comprising:

[0038] 步骤51:转发由组播发起者发来的组播报文至多个电子设备;其中,所述组播报文中的组播嫩地址的最后三个字节用于装载所述无线网络的配置信息,所述配置信息包括:倒数第三字节用于设为起始同步标志或数据发送标志,最后两个字节分别用于设为所无线网络的3310和密码、所述3310和密码的长度、或均设为0 ; [0038] Step 51: forwarding the multicast originator of multicast packets sent to a plurality of electronic devices; wherein the last three bytes for loading the group of the wireless network tender multicast address in the multicast packet configuration information, the configuration information includes: the third last byte of the starting or synchronization flag for data transmission flag is set, the last two bytes are set for the wireless network 3310 and a password, and the password 3310 the length, or are set to 0;

[0039] 步骤52:各所述电子设备从所述组播报文中提取所述无线网络的配置信息并据以接入所述无线网络。 [0039] Step 52: each of the electronic device from the multicast group message extracting configuration information of the wireless network and data access to the wireless network.

[0040] 在一实施例中,所述组播报文包括以下几种:第一数据报文:其组播嫩地址的倒数第三字节为起始同步标示,最后两个字节为0,第一数据报文长度设为I ;第二数据报文:其组播嫩地址的倒数第三字节为数据发送标志,最后两个字节分别为所述3310长度和密码长度,第二数据报文长度为I ;第三数据报文:其组播嫩地址的倒数第三字节为数据发送标志,最后两个字节分别为所述3310长度和密码长度,第三数据报文长度按发送次序逐个递增加1并处于1+1到[1+(3310长度+密码长度)/2]的取值范围内;第四数据报文:其组播嫩地址的倒数第三字节为数据发送标志,最后两个字节均为0,第四数据报文长度按发送次序逐个递增加1并处于1+1到[1+(3310长度+密码长度)/2]的取值范围内。 [0040] In one embodiment, the multicast packet includes the following: a first data packet: the third last byte of its tender multicast address designated as a starting synchronization, the last two bytes 0 , a first data packet length to I; the second data packet: the third last byte of its tender multicast address data transmission flag, the last two bytes are a length and password length 3310, a second data packet length is I; third data packets: the third last byte of its tender multicast address data transmission flag, the last two bytes are a length of 3310 and a password length, the third data packet length is incremented by one by sending order is 1 and 1 to 1 + [1 + (length + 3310 password length) / 2] of the range; the fourth data packet: the third last byte of which is the multicast address tender data transmission flag, the last two bytes are 0, the fourth data packet length is incremented by one by sending order is 1 and [(length + 3310 password length) / 1 + 2] + 1 values ​​within the range of 1 to .

[0041] 在一实施例中,所述第三数据包文中,若3310和密码长度加起来为奇数,则其组播监(:地址最后一字节置为0。 [0041] In one embodiment, the third data packet context, and 3310 if the password length add up to an odd number, its multicast supervisor (: address of the last byte is set to 0.

[0042] 在一实施例中,所述的电子设备的无线网络接入方法,包括:依次转发所述第一数据报文、第二数据报文、第三数据报文、及第四数据报文至每个所述电子设备的。 [0042] In one embodiment, the wireless network access method of an electronic device, comprising: sequentially forwarding the first data packet, the second data packet, the third data packet and the fourth data packet each packet to the electronic device.

[0043] 在一实施例中,所述第一数据报文、第二数据报文、第三数据报文、及第四数据报文均各自重复发送多次。 [0043] In one embodiment, the first data packet, the second data packet, the third data packet and the fourth data packets are transmitted each repeated a plurality of times.

[0044] 综上所述,本发明提供一种无线路由设备及电子设备的无线网络接入方法,通过转发由组播发起者发来的组播报文至多个电子设备;其中,所述组播报文中的组播嫩地址的最后三个字节用于装载所述无线网络的配置信息,所述配置信息包括:倒数第三字节用于设为起始同步标志或数据发送标志,最后两个字节分别用于设为所无线网络的3310和密码、所述3310和密码的长度、或均设为0 ;各所述电子设备从所述组播报文中提取所述无线网络的配置信息并据以接入所述无线网络;本发明实现多台智能设备同时接入无线网络,且无需用户登录智能设备和更多硬件设计的支持即可实现设备无线网络的接入,降低成本。 [0044] In summary, the present invention provides a wireless electronic device and the routing device wireless network access method, by the group multicast is forwarded by the originator of multicast packets sent to a plurality of electronic devices; wherein the group tender multicast address of the multicast packets in the last three bytes for loading said configuration information of the wireless network, the configuration information includes: the third last byte is used to synchronize the start of data transmission flag or flag, the last two bytes are set for the wireless network 3310 and password 3310 and the length of the password, or are set to 0; each of the electronic apparatus extracts configuration information from the wireless network and the multicast message according to the wireless network access; the present invention achieve a plurality of intelligent devices simultaneously access the wireless network, without requiring user login access more intelligent devices and hardware design support apparatus can be realized in a wireless network, to reduce costs.

[0045] 上述实施例仅例示性说明本发明的原理及其功效,而非用于限制本发明。 [0045] The above-described embodiments are only illustrative of the principles and effect of the present invention, the present invention is not intended to be limiting. 任何熟悉此技术的人士皆可在不违背本发明的精神及范畴下,对上述实施例进行修饰或改变。 Any person skilled in this art can be made at without departing from the spirit and scope of the present invention, the above-described embodiments can be modified or changed. 因此,举凡所属技术领域中具有通常知识者在未脱离本发明所揭示的精神与技术思想下所完成的一切等效修饰或改变,仍应由本发明的权利要求所涵盖。 Thus, one skilled in the art that whenever all having ordinary knowledge in the technical ideas and spirit of the present invention is disclosed without departing from the completed equivalent modified or altered, yet the claims shall be encompassed by the present invention.

Claims (10)

  1. 1.一种无线路由设备,其特征在于,包括: 组播报文转发模块,用于转发由组播发起者发来的组播报文至多个电子设备;其中,所述组播报文中的组播MAC地址的最后三个字节用于装载所述无线网络的配置信息,所述配置信息包括:倒数第三字节用于设为起始同步标志或数据发送标志,最后两个字节分别用于设为所无线网络的SSID和密码、所述SSID和密码的长度、或均设为O,以供各所述电子设备从所述组播报文中提取所述无线网络的配置信息并据以接入所述无线网络。 A wireless routing device, characterized by comprising: a multicast forwarding module, for forwarding the multicast originator of multicast packets sent to a plurality of electronic apparatus; wherein, the text of the multicast group the last three bytes of the multicast MAC address to load configuration information for the wireless network, the configuration information includes: the third last byte is used to start the synchronization flag or data transmission flag, the last two bytes are to set the SSID and password for the wireless network, the length of the SSID and password, or are located is O, for each of the electronic device from the multicast packet to extract configuration information of the wireless network and accordingly access to the wireless network.
  2. 2.根据权利要求1所述的无线路由设备,其特征在于,所述组播报文包括以下几种: 第一数据报文:其组播MAC地址的倒数第三字节为起始同步标示,最后两个字节为O,第一数据报文长度设为L ; 第二数据报文:其组播MAC地址的倒数第三字节为数据发送标志,最后两个字节分别为所述SSID长度和密码长度,第二数据报文长度为L ; 第三数据报文:其组播MAC地址的倒数第三字节为数据发送标志,最后两个字节分别为所述SSID长度和密码长度,第三数据报文长度按发送次序逐个递增加I并处于L+1到[L+(SSID长度+密码长度)/2]的取值范围内; 第四数据报文:其组播MAC地址的倒数第三字节为数据发送标志,最后两个字节均为O,第四数据报文长度按发送次序逐个递增加I并处于L+1到[L+ (SSID长度+密码长度)/2]的取值范围内。 The wireless routing device according to claim 1, characterized in that said multicast packet comprises the following: a first data packet: the third last byte of the multicast MAC address which is the start synchronization mark , the last two bytes is O, a first data packet length is set to L; a second data packet: the third last byte of the MAC address which is a multicast data transmission flag, the last two bytes are SSID length and the password length, the second length L data packet; third data packets: the third last byte of the MAC address which is a multicast data transmission flag, the last two bytes are a length of the SSID and password length, the length of the third data packet by the sending order is incremented by one, and I to L 1 in the [L + (SSID password length + length) / 2] + range; fourth data packet: its multicast MAC address the third last byte of data transmission flag, the last two bytes are O, the fourth data packet length is incremented by one according to the sending order in I and L + 1 to [L + (SSID password length + length) / 2 within] the range.
  3. 3.根据权利要求2所述的无线路由设备,其特征在于,所述第三数据包文中,若SSID和密码长度加起来为奇数,则其组播MAC地址最后一字节置为O。 3. The wireless routing device according to claim 2, wherein said third data packet text, if the combined SSID and password length is an odd number, its multicast MAC address The last byte is set to O.
  4. 4.根据权利要求2所述的无线路由设备,其特征在于,所述无线路由设备是依次转发所述第一数据报文、第二数据报文、第三数据报文、及第四数据报文至每个所述电子设备的。 4. The wireless routing device according to claim 2, wherein the wireless routing device is sequentially forwarding the first data packet, the second data packet, the third data packet and the fourth data packet each packet to the electronic device.
  5. 5.根据权利要求4所述的无线路由设备,其特征在于,所述第一数据报文、第二数据报文、第三数据报文、及第四数据报文均各自重复发送多次。 5. The wireless routing device according to claim 4, wherein said first data packet, the second data packet, the third data packet and the fourth data packets are transmitted each repeated a plurality of times.
  6. 6.一种电子设备的无线网络接入方法,其特征在于,包括: 转发由组播发起者发来的组播报文至多个电子设备;其中,所述组播报文中的组播MAC地址的最后三个字节用于装载所述无线网络的配置信息,所述配置信息包括:倒数第三字节用于设为起始同步标志或数据发送标志,最后两个字节分别用于设为所无线网络的SSID和密码、所述SSID和密码的长度、或均设为O ; 各所述电子设备从所述组播报文中提取所述无线网络的配置信息并据以接入所述无线网络。 A wireless access method of an electronic apparatus, characterized by comprising: a multicast forwarding originator of multicast packets sent to a plurality of electronic devices; wherein the multicast message of the multicast MAC address the last three bytes for loading said configuration information of the wireless network, the configuration information includes: the third last byte is used to start the synchronization flag or data transmission flag, the last two bytes are used to the length of the wireless network SSID and password, the SSID and password, or are located is O; each of the electronic devices in the group multicast packet extracted from the configuration information of the wireless network and data access to the wireless network .
  7. 7.根据权利要求6述的智能设备的无线网络接入方法,其特征在于,所述组播报文包括以下几种: 第一数据报文:其组播MAC地址的倒数第三字节为起始同步标示,最后两个字节为O,第一数据报文长度设为L ; 第二数据报文:其组播MAC地址的倒数第三字节为数据发送标志,最后两个字节分别为所述SSID长度和密码长度,第二数据报文长度为L ; 第三数据报文:其组播MAC地址的倒数第三字节为数据发送标志,最后两个字节分别为所述SSID长度和密码长度,第三数据报文长度按发送次序逐个递增加I并处于L+1到[L+(SSID长度+密码长度)/2]的取值范围内; 第四数据报文:其组播MAC地址的倒数第三字节为数据发送标志,最后两个字节均为O,第四数据报文长度按发送次序逐个递增加I并处于L+1到[L+ (SSID长度+密码长度)/2]的取值范围内。 The intelligent wireless network access device described in claim 6, characterized in that said multicast packet comprises the following: a first data packet: the third last byte of which is the multicast MAC address start sync mark, the last two bytes is O, a first data packet length is set to L; a second data packet: the third last byte of the MAC address which is a multicast data transmission flag, the last two bytes are the length and the SSID password length, the second length L data packet; third data packets: the third last byte of the MAC address which is a multicast data transmission flag, the last two bytes are SSID length and the password length, the length of the third data packet by the sending order is incremented by one, and I to L 1 in the [L + (SSID password length + length) / 2] + range; fourth data packets: it the third last byte of the MAC address for multicast data transmission flag, the last two bytes are O, the fourth data packet length is incremented by one according to the sending order in I and L + 1 to [L + (SSID password length + the length) / 2] range.
  8. 8.根据权利要求7所述的电子设备的无线网络接入方法,其特征在于,所述第三数据包文中,若SSID和密码长度加起来为奇数,则其组播MAC地址最后一字节置为O。 Wireless network access method as claimed in claim 8. The electronic device according to claim 7, wherein said third data packet text, if the combined SSID and password length is an odd number, it last byte of the multicast MAC address set to O.
  9. 9.根据权利要求7所述的电子设备的无线网络接入方法,其特征在于,包括:依次转发所述第一数据报文、第二数据报文、第三数据报文、及第四数据报文至每个所述电子设备的。 Wireless network access method as claimed in claim 9. The electronic device according to claim 7, characterized by comprising: sequentially forwarding the first data packet, the second data packet, the third data packet and the fourth data packet to each of said electronic device.
  10. 10.根据权利要求9所述的电子设备的无线网络接入方法,其特征在于,所述第一数据报文、第二数据报文、第三数据报文、及第四数据报文均各自重复发送多次。 Wireless network access method of claim 10. The electronic apparatus according to claim 9, wherein said first data packet, the second data packet, the third data packet and the fourth data packets are each repeat sent multiple times.
CN 201410751881 2014-12-09 2014-12-09 Wireless network access method of wireless route equipment and electronic equipment CN104394577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201410751881 CN104394577A (en) 2014-12-09 2014-12-09 Wireless network access method of wireless route equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201410751881 CN104394577A (en) 2014-12-09 2014-12-09 Wireless network access method of wireless route equipment and electronic equipment

Publications (1)

Publication Number Publication Date
CN104394577A true true CN104394577A (en) 2015-03-04

Family

ID=52612394

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201410751881 CN104394577A (en) 2014-12-09 2014-12-09 Wireless network access method of wireless route equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN104394577A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853401A (en) * 2015-04-20 2015-08-19 小米科技有限责任公司 Method and device for controlling access
CN105120012A (en) * 2015-07-10 2015-12-02 北京奇虎科技有限公司 Intelligent device, networking access method thereof, information reception method and device
CN105228213A (en) * 2015-09-30 2016-01-06 青岛海信移动通信技术股份有限公司 Method and device for relaying of mobile device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7970013B2 (en) * 2006-06-16 2011-06-28 Airdefense, Inc. Systems and methods for wireless network content filtering
CN102413200A (en) * 2011-11-04 2012-04-11 北京播思软件技术有限公司 Method for customizing wireless hot spot service set identifier (SSID) and apparatus thereof
CN103825788A (en) * 2014-01-29 2014-05-28 北京睿通慧联科技有限公司 WIFI network configuration method and system
CN103945369A (en) * 2013-01-18 2014-07-23 杭州古北电子科技有限公司 Internet access configuration method for WIFI device by checking length of WIFI data packets
CN104065765A (en) * 2014-07-09 2014-09-24 杭州古北电子科技有限公司 WIFI data transmitting method and system and related method thereof
CN104159219A (en) * 2014-08-04 2014-11-19 深圳市晶讯软件通讯技术有限公司 WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7970013B2 (en) * 2006-06-16 2011-06-28 Airdefense, Inc. Systems and methods for wireless network content filtering
CN102413200A (en) * 2011-11-04 2012-04-11 北京播思软件技术有限公司 Method for customizing wireless hot spot service set identifier (SSID) and apparatus thereof
CN103945369A (en) * 2013-01-18 2014-07-23 杭州古北电子科技有限公司 Internet access configuration method for WIFI device by checking length of WIFI data packets
CN103825788A (en) * 2014-01-29 2014-05-28 北京睿通慧联科技有限公司 WIFI network configuration method and system
CN104065765A (en) * 2014-07-09 2014-09-24 杭州古北电子科技有限公司 WIFI data transmitting method and system and related method thereof
CN104159219A (en) * 2014-08-04 2014-11-19 深圳市晶讯软件通讯技术有限公司 WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104853401A (en) * 2015-04-20 2015-08-19 小米科技有限责任公司 Method and device for controlling access
WO2016169209A1 (en) * 2015-04-20 2016-10-27 小米科技有限责任公司 Method and device for controlling access
KR101756577B1 (en) 2015-04-20 2017-07-10 시아오미 아이엔씨. Method and apparatus, program, and computer-readable recording medium of controlling access
CN105120012A (en) * 2015-07-10 2015-12-02 北京奇虎科技有限公司 Intelligent device, networking access method thereof, information reception method and device
CN105228213A (en) * 2015-09-30 2016-01-06 青岛海信移动通信技术股份有限公司 Method and device for relaying of mobile device

Similar Documents

Publication Publication Date Title
CN103648181A (en) Wireless network connection method for wireless network audio equipment
US20100290391A1 (en) Apparatus and method for accessing multiple wireless networks
CN103825788A (en) WIFI network configuration method and system
CN104135704A (en) Sound box networking method and sound box network
US20140347433A1 (en) Establishing and controlling audio and voice back channels of a wi-fi display connection
CN104010327A (en) Method and system for quickly having access to WIFI wireless network
US20120297031A1 (en) Anonymous Signalling
CN103841626A (en) Internet of Things wireless terminal, configuration method thereof and mobile terminal
CN103281327A (en) Method, system and cloud server for multi-device safe logging
CN102882938A (en) Data share method and mobile terminal
CN104159219A (en) WiFi terminals and method and system for quick access of WiFi terminals to WiFi AP
US20140171048A1 (en) System and Method for Transferring or Rejoining a Conference Call from Any Device
CN101827453A (en) Method and system for establishing connection between PC and wireless terminal
CN103401790A (en) Method for accessing wireless router in AP (Access Point) mode or relay mode by intelligent equipment
US20160050551A1 (en) Methods, systems, and devices for enabling multiple radio assited discovery
JP2007259385A (en) Mobile terminal, communication apparatus, and communication establishing method
CN101800686A (en) Method, device and system for realizing service
CN102201846A (en) Wireless data transmission system and method based on soft AP (access point) technology
CN103888908A (en) Method and system for transmitting data to receiving terminal not logging in WI-FI access point
US20140064198A1 (en) Method for a wireless target device to automatically connect to a target network, wireless network system with automatic network setting ability, and wireless target device thereof
US20110250842A1 (en) Bluetooth radio device and management application for integration with a telecommunications network
CN104158883A (en) Method, device, equipment and system for carrying out user login through cross-terminal equipment
CN102148881A (en) Address processing method and device
US20150350723A1 (en) Video Communication Method, Home Terminal, and Home Server
CN103220822A (en) Data transmission method, data transmission device and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
EXSB Decision made by sipo to initiate substantive examination